Ticket #12656: neon-0.26.4.diff
File neon-0.26.4.diff, 2.4 KB (added by nox@…, 17 years ago) |
---|
-
Portfile
1 1 # $Id$ 2 2 3 PortSystem 1.03 PortSystem 1.0 4 4 name neon 5 version 0.26.3 6 revision 1 5 version 0.26.4 7 6 categories www 8 7 maintainers dluke@geeklair.net 9 8 description An HTTP and WebDAV client library with a C interface 10 9 platforms darwin freebsd 10 11 11 long_description \ 12 12 neon is an HTTP and WebDAV client library with a C language API. \ 13 13 It provides a high-level interface to HTTP and WebDAV methods and a \ … … 15 15 implementation of new methods. 16 16 17 17 homepage http://www.webdav.org/neon/ 18 master_sites macports \19 http://www.webdav.org/neon/ 20 checksums md5 6e52cd9c03e372026d6eccbfb80f09ef 18 master_sites ${homepage} 19 20 depends_build port:pkgconfig 21 21 22 22 depends_lib port:expat \ 23 23 port:gettext \ … … 25 25 port:openssl \ 26 26 port:zlib 27 27 28 checksums md5 2d11fff51ffa856fc6b5d4bd801d6cc4 \ 29 sha1 0c005fe73573253888b0c6e839b18d24c52582a4 \ 30 rmd160 7f1f63aa05b8b1329a88d95dca513af08f2d632d 31 32 post-patch { 33 if {! [variant_isset doc]} { 34 reinplace -E "/^install-docs:/s/install-html//" ${worksrcpath}/Makefile.in 35 } 36 } 37 28 38 configure.args --with-ssl \ 29 39 --enable-shared \ 30 40 --with-expat \ 31 --without-gssapi \ 32 --mandir=\\\${prefix}/share/man 41 --without-gssapi \ 42 --mandir=${prefix}/share/man 43 44 post-destroot { 45 set docdir ${prefix}/share/doc/${name}-${version} 46 if {! [variant_isset doc]} { 47 xinstall -d ${destroot}${docdir} 48 } 49 xinstall -m 0644 -W ${worksrcpath} AUTHORS BUGS ChangeLog NEWS README THANKS TODO \ 50 ${destroot}${docdir} 51 } 52 53 pre-test { 54 set x {} 55 56 fs-traverse dir ${worksrcpath} { 57 if {[file tail ${dir}] == ".libs" && [file isdirectory ${dir}]} { 58 lappend x ${dir} 59 continue 60 } 61 } 33 62 34 destroot.destdir prefix=${destroot}${prefix} 63 test.env-append DYLD_LIBRARY_PATH=[join ${x} ":"] 64 } 65 66 variant doc description {Install extra documentation} {} 35 67 36 test.env DYLD_LIBRARY_PATH=`find ${worksrcpath} -type d -name .libs | xargs echo | sed -e 's/ /:/g'`37 68 test.run yes 38 69 test.target check 70 71 livecheck.check regex 72 livecheck.url ${homepage} 73 livecheck.regex ${name}-(\\d+(?:\\.\\d+)*) 74