Ticket #12421: subversion.diff
File subversion.diff, 5.7 KB (added by nox@…, 17 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 name subversion 5 5 version 1.4.4 6 revision 1 6 7 categories devel 7 8 maintainers dluke@geeklair.net 8 9 description A cvs like version control system, but without the suck … … 12 13 outstanding problems with cvs(1). 13 14 14 15 homepage http://subversion.tigris.org/ 15 master_sites http://subversion.tigris.org/downloads/16 master_sites ${homepage}downloads/ 16 17 use_bzip2 yes 17 checksums md5 d4aa5aeb09acb3307841022d279ab895 18 checksums md5 d4aa5aeb09acb3307841022d279ab895 \ 19 sha1 1ba850187b3cedb3265850acf32341b7dbe4f945 \ 20 rmd160 24ec3733d337206a3106be434c4505f5cc2e20ec 18 21 19 22 depends_lib port:expat port:neon \ 20 23 port:apr port:apr-util \ 21 port:db44 \ 22 port:gettext port:libiconv 24 port:db44 23 25 24 26 test.run yes 25 27 test.target check 26 test.env DYLD_LIBRARY_PATH=${worksrcpath}/subversion/libsvn_client/.libs:${worksrcpath}/subversion/libsvn_delta/.libs:${worksrcpath}/subversion/libsvn_diff/.libs:${worksrcpath}/subversion/libsvn_fs/.libs:${worksrcpath}/subversion/libsvn_fs_base/.libs:${worksrcpath}/subversion/libsvn_fs_base/bdb/.libs:${worksrcpath}/subversion/libsvn_fs_base/util/.libs:${worksrcpath}/subversion/libsvn_fs_fs/.libs:${worksrcpath}/subversion/libsvn_ra/.libs:${worksrcpath}/subversion/libsvn_ra_dav/.libs:${worksrcpath}/subversion/libsvn_ra_local/.libs:${worksrcpath}/subversion/libsvn_ra_svn/.libs:${worksrcpath}/subversion/libsvn_repos/.libs:${worksrcpath}/subversion/libsvn_subr/.libs:${worksrcpath}/subversion/libsvn_wc/.libs:${worksrcpath}/subversion/svn/.libs:${worksrcpath}/subversion/svnadmin/.libs:${worksrcpath}/subversion/svndumpfilter/.libs:${worksrcpath}/subversion/svnlook/.libs:${worksrcpath}/subversion/svnserve/.libs:${worksrcpath}/subversion/svnsync/.libs:${worksrcpath}/subversion/svnversion/.libs:${worksrcpath}/subversion/tests/.libs:${worksrcpath}/subversion/tests/libsvn_delta/.libs:${worksrcpath}/subversion/tests/libsvn_diff/.libs:${worksrcpath}/subversion/tests/libsvn_fs/.libs:${worksrcpath}/subversion/tests/libsvn_fs_base/.libs:${worksrcpath}/subversion/tests/libsvn_ra_local/.libs:${worksrcpath}/subversion/tests/libsvn_repos/.libs:${worksrcpath}/subversion/tests/libsvn_subr/.libs:${worksrcpath}/subversion/tests/libsvn_wc/.libs \ 27 CLEANUP=true 28 test.env CLEANUP=true 29 30 pre-test { 31 set x {} 32 33 fs-traverse dir ${worksrcpath}/subversion { 34 if {[file tail ${dir}] == ".libs" && [file isdirectory ${dir}]} { 35 lappend x ${dir} 36 continue 37 } 38 } 39 40 test.env-append DYLD_LIBRARY_PATH=[join ${x} ":"] 41 } 28 42 29 43 patchfiles patch-Makefile.in 30 44 31 45 configure.args --with-berkeley-db=${prefix}/include/db44:${prefix}/lib/db44 \ 32 --with-neon=${prefix} --with-apr=${prefix} \ 33 --with-apr-util=${prefix} --without-apxs \ 34 --mandir=\\\${prefix}/share/man \ 35 --disable-neon-version-check 46 --with-neon=${prefix} --with-apr=${prefix}/bin/apr-1-config \ 47 --with-apr-util=${prefix}/bin/apu-1-config --without-apxs \ 48 --mandir=${prefix}/share/man \ 49 --disable-neon-version-check \ 50 --disable-nls 51 52 build.target all 36 53 37 build.target all mucc 54 set docdir ${prefix}/share/doc/${name}-${version} 38 55 39 56 pre-configure { reinplace "s|hardcode_direct=yes|hardcode_direct=no|g" \ 40 57 ${worksrcpath}/configure … … 46 63 ${worksrcpath}/libtool 47 64 } 48 65 66 post-destroot { 67 xinstall -m 0755 -d ${destroot}${docdir} 68 xinstall -m 0644 -W ${worksrcpath} BUGS CHANGES COPYING ${destroot}${docdir} 69 } 70 49 71 variant mod_dav_svn { depends_build path:${prefix}/apache2/bin/apxs:apache2 50 72 configure.args-append \ 51 73 --with-apxs=${prefix}/apache2/bin/apxs \ … … 69 91 configure.args-delete --without-apxs 70 92 71 93 post-install { 72 ui_warn "This variant (+mac _os_x_server_mod_dav_svnbuilds against the Apple-supplied apache2 in /opt/apache2 and thus may have problems that the normal variant (+mod_dav_svn) which builds against the macports supplied apache2 will not have."94 ui_warn "This variant (+mac-os-x-server-mod_dav_svn) builds against the Apple-supplied apache2 in /opt/apache2 and thus may have problems that the normal variant (+mod_dav_svn) which builds against the macports supplied apache2 will not have." 73 95 } 74 96 } 75 97 76 98 variant tools { post-destroot { 77 99 xinstall -d -m 755 ${destroot}${prefix}/share/${name} 78 file copy ${worksrcpath}/tools ${destroot}${prefix}/share/${name}/tools 79 file copy ${worksrcpath}/contrib/client-side/mucc ${destroot}${prefix}/bin/ 80 foreach f {mucc mucc.o mucc.lo .libs} { 81 file delete ${worksrcpath}/contrib/client-side/${f} 82 } 83 file copy ${worksrcpath}/contrib ${destroot}${prefix}/share/${name}/contrib 100 copy ${worksrcpath}/tools ${destroot}${prefix}/share/${name}/tools 101 copy ${worksrcpath}/contrib/client-side/mucc ${destroot}${prefix}/bin/ 102 eval delete [glob ${worksrcpath}/contrib/client-side/{mucc{,.{l,}o},.libs}] 103 copy ${worksrcpath}/contrib ${destroot}${prefix}/share/${name}/contrib 84 104 } 105 106 build.target-append mucc 85 107 } 86 108 87 109 variant bash_completion { 88 110 depends_run-append port:bash-completion 89 111 post-destroot { 90 112 xinstall -d ${destroot}${prefix}/etc/bash_completion.d 91 filecopy ${worksrcpath}/tools/client-side/bash_completion ${destroot}${prefix}/etc/bash_completion.d/subversion113 copy ${worksrcpath}/tools/client-side/bash_completion ${destroot}${prefix}/etc/bash_completion.d/subversion 92 114 } 93 115 } 94 116 117 variant nls { 118 depends_lib-append port:gettext 119 configure.args-delete --disable-nls 120 } 121 95 122 # 10.3 says -> CarbonCore/MacTypes.h: No such file or directory 96 123 platform darwin 7 { configure.args-append \ 97 124 --disable-keychain