Ticket #19247: Portfile.diff
File Portfile.diff, 1.4 KB (added by jmroot (Joshua Root), 13 years ago) |
---|
-
Portfile
4 4 5 5 name subversion 6 6 version 1.7.3 7 revision 1 7 8 categories devel 8 9 platforms darwin 9 10 maintainers geeklair.net:dluke blair … … 26 27 port:db46 port:sqlite3 \ 27 28 port:gettext port:libiconv \ 28 29 port:serf1 port:cyrus-sasl2 30 depends_run port:curl-ca-bundle 29 31 30 32 test.run yes 31 33 test.target check 32 34 test.env CLEANUP=true 33 35 34 patchfiles patch-Makefile.in.diff 36 patchfiles patch-Makefile.in.diff config_impl.h.patch 37 post-patch { 38 reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/subversion/libsvn_subr/config_impl.h 39 } 35 40 36 41 configure.args --with-berkeley-db=:${prefix}/include/db46:${prefix}/lib/db46:db-4.6 \ 37 42 --with-neon=${prefix} --with-apr=${prefix}/bin/apr-1-config \ … … 63 68 ${worksrcpath}/libtool 64 69 } 65 70 71 post-destroot { 72 # install global config file so curl-ca-bundle certs are used 73 xinstall -d ${destroot}${prefix}/etc/subversion 74 xinstall -m 644 ${filespath}/servers.default ${destroot}${prefix}/etc/subversion 75 } 76 post-activate { 77 if {![file exists ${prefix}/etc/subversion/servers]} { 78 copy ${prefix}/etc/subversion/servers.default ${prefix}/etc/subversion/servers 79 } 80 } 81 66 82 variant mod_dav_svn description {Install the subversion apache module (mod_dav_svn)} { 67 83 depends_build path:apache2/bin/apxs:apache2 68 84 configure.args-append \