Ticket #41292: Portfile-0.9.2.s20150508.diff
File Portfile-0.9.2.s20150508.diff, 2.6 KB (added by Serge3leo (Serguei E. Leontiev), 9 years ago) |
---|
-
Portfile
old new 2 2 # $Id: Portfile 120565 2014-06-01 16:53:49Z cal@macports.org $ 3 3 4 4 PortSystem 1.0 5 PortGroup cmake 1.0 5 6 6 7 name libvmime 7 version 0.9.1 8 revision 2 9 set branch [join [lrange [split ${version} .] 0 1] .] 8 version 0.9.2.s20150508 9 revision 1 10 10 categories mail devel 11 11 platforms darwin 12 12 maintainers nomaintainer … … 20 20 Internet mail messages. 21 21 22 22 homepage http://www.vmime.org/ 23 master_sites sourceforge:project/vmime/vmime/${branch} 24 use_bzip2 yes 23 fetch.type git 24 git.url https://github.com/kisli/vmime.git 25 git.branch 9df44078b87785f114689fc0b12e084aba903df0 25 26 26 checksums rmd160 ebdca890dee9466e63cf43dced40d5527bb3fc4e \ 27 sha256 3b66cb76d9bc7da80ef1f271cc29d3a183b5ff8b560ef60e85ff006bffb4d1ae 28 29 patchfiles 3878c6b691a66cdc96cb3ab72d534d84a212433f.diff \ 30 patch-automake-1.13.diff \ 31 patch-m4-acx_pthread.m4.diff 32 33 depends_build port:autoconf \ 34 port:automake \ 35 port:libtool \ 36 port:pkgconfig \ 37 port:scons 27 depends_build port:doxygen \ 28 port:cppunit 38 29 39 30 depends_lib port:gnutls \ 40 31 port:libgsasl 41 32 42 pre-configure { 43 system -W ${worksrcpath} "${prefix}/bin/scons autotools" 44 } 45 46 # disable static library because it doesn't seem to get built very well 47 configure.args --disable-static 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 48 43 49 44 post-destroot { 50 file rename ${destroot}${prefix}/share/doc/vmime \ 51 ${destroot}${prefix}/share/doc/${name} 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 \\;" 52 48 } 53 54 livecheck.type regex55 livecheck.url http://www.vmime.org/downloads.html56 livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}