1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 120565 2014-06-01 16:53:49Z cal@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup cmake 1.0 |
---|
6 | |
---|
7 | name libvmime |
---|
8 | version 0.9.2.s20150508 |
---|
9 | revision 1 |
---|
10 | categories mail devel |
---|
11 | platforms darwin |
---|
12 | maintainers nomaintainer |
---|
13 | license GPL-2+ |
---|
14 | |
---|
15 | description library for dealing with RFC-822, 2822, MIME messages |
---|
16 | |
---|
17 | long_description VMime is a C++ class library for parsing, generating, or \ |
---|
18 | editing Internet RFC-822, 2822 and MIME messages. It is \ |
---|
19 | designed to provide a fast and an easy way to manipulate \ |
---|
20 | Internet mail messages. |
---|
21 | |
---|
22 | homepage http://www.vmime.org/ |
---|
23 | fetch.type git |
---|
24 | git.url https://github.com/kisli/vmime.git |
---|
25 | git.branch 9df44078b87785f114689fc0b12e084aba903df0 |
---|
26 | |
---|
27 | depends_build port:doxygen \ |
---|
28 | port:cppunit |
---|
29 | |
---|
30 | depends_lib port:gnutls \ |
---|
31 | port:libgsasl |
---|
32 | |
---|
33 | configure.args-append ${worksrcpath} |
---|
34 | # for test.run disable rpath |
---|
35 | configure.args-append -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF |
---|
36 | configure.args-append -DVMIME_BUILD_DOCUMENTATION:BOOL=YES |
---|
37 | configure.args-append -DVMIME_BUILD_TESTS:BOOL=YES |
---|
38 | |
---|
39 | configure.dir ${worksrcpath}/build |
---|
40 | build.dir ${configure.dir} |
---|
41 | build.post_args doc |
---|
42 | test.run yes |
---|
43 | |
---|
44 | post-destroot { |
---|
45 | system "install -d -m 0755 ${destroot}${prefix}/share/doc/${name}/html" |
---|
46 | system "find ${configure.dir}/doc/html -type f -exec \ |
---|
47 | install -m 0444 {} ${destroot}${prefix}/share/doc/${name}/html \\;" |
---|
48 | } |
---|