# $Id: Portfile,v 1.55 2005/12/08 14:34:16 dluke Exp $ PortSystem 1.0 name subversion version 1.2.3 revision 1 categories devel maintainers dluke@geeklair.net description A cvs like version control system, but without the suck long_description Subversion is a version control system designed to be \ as similar to cvs(1) as possible, while fixing many \ outstanding problems with cvs(1). homepage http://subversion.tigris.org/ master_sites http://subversion.tigris.org/tarballs/ use_bzip2 yes checksums md5 a14bc6590241b6e5c2ff2b354cc184a1 depends_lib port:expat lib:libneon.24.0.7:neon \ lib:libapr-0.0.9.5:apr lib:libaprutil-0.0.9.5:apr-util \ lib:libdb-4:db4 patchfiles patch-Makefile.in configure.args --with-berkeley-db=${prefix}/include/db4:${prefix}/lib \ --with-neon=${prefix} --with-apr=${prefix} \ --with-apr-util=${prefix} --without-apxs \ --mandir=\\\${prefix}/share/man pre-configure { reinplace "s|hardcode_direct=yes|hardcode_direct=no|g" \ ${worksrcpath}/configure reinplace "s|@@DESTROOT@@|${destroot}|g" \ ${worksrcpath}/configure } post-configure { reinplace "s|need_relink=yes|need_relink=no|g" \ ${worksrcpath}/libtool } variant mod_dav_svn { depends_build path:${prefix}/apache2/bin/apxs:apache2 configure.args-append \ --with-apxs=${prefix}/apache2/bin/apxs \ --disable-mod-activation configure.args-delete --without-apxs } variant without_neon { depends_lib-delete lib:libneon.24.0.7:neon configure.args-append --without-neon configure.args-delete --with-neon=${prefix} } variant mac-os-x-server-mod_dav_svn { configure.args-append \ --with-apxs=/opt/apache2/bin/apxs \ --disable-mod-activation configure.args-delete --without-apxs post-install { 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 darwinports supplied apache2 will not have." } } variant tools { post-destroot { xinstall -d -m 755 ${destroot}${prefix}/share/${name} file copy ${worksrcpath}/tools ${destroot}${prefix}/share/${name}/tools file copy ${worksrcpath}/contrib ${destroot}${prefix}/share/${name}/contrib } }