<pre style='margin:0'>
Mark Evenson (easye) pushed a commit to branch larryv-subversion-subports
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/fa461caf959231a2793cc2774c89df08d29affb3">https://github.com/macports/macports-ports/commit/fa461caf959231a2793cc2774c89df08d29affb3</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit fa461caf959231a2793cc2774c89df08d29affb3
</span>Author: Lawrence Velázquez <larryv@macports.org>
AuthorDate: Tue Aug 20 01:48:22 2013 +0000
<span style='display:block; white-space:pre;color:#404040;'> Rename variables to match those in perl5 PortGroup.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> git-svn-id: https://svn.macports.org/repository/macports/branches/larryv-subversion-subports/dports@109785 d073be05-634f-4543-b044-5fe20cf6d1d6
</span>---
devel/subversion/Portfile | 261 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 261 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/subversion/Portfile b/devel/subversion/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..6fcd857
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/subversion/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,261 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# $Id$
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name subversion
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Subports
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set perl5.branches {5.8 5.10 5.12 5.14 5.16}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach branch ${perl5.branches} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set p_idx [lsearch ${perl5.branches} ${branch}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set other_perls [lreplace ${perl5.branches} $p_idx $p_idx]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport subversion-perlbindings-${branch} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set perl5.major ${branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set perl5.bin ${prefix}/bin/perl${perl5.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach c_perl ${other_perls} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts-append subversion-perlbindings-${c_perl}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# General
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.8.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Apache-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers geeklair.net:dluke blair
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Subversion (svn) is a version control system \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ designed to be as similar to CVS as possible, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ while fixing many outstanding problems with CVS.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://subversion.apache.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+switch -regexp ${subport} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ perl {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ categories-append perl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Perl ${perl5.major} bindings for the \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Subversion version control system
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description-append These bindings provide access to the \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Subversion API from Perl ${perl5.major}.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description A version control system designed to \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ be a better CVS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Dependencies
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:apr \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:apr-util \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:cyrus-sasl2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:db46 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:expat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gettext \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libcomerr \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libiconv \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libmagic \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:serf1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:sqlite3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+switch -regexp ${subport} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ perl {depends_lib-append port:${name} port:perl${perl5.major}}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default {depends_run port:curl-ca-bundle}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Fetch and checksum
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites apache:subversion
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums sha1 7705819a0037c14fb32eef36f2e57a803217c689 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 aaff1efd8e1b8112603eb7855cb546316fe88707 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 faaaaedba25777331e761884598af1dd9fe33631d6415b2e0ba5348867c4edb4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+switch -regexp ${subport} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ perl {patchfiles patch-swig-perl-native-core.c.diff}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles config_impl.h.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|__PREFIX__|${prefix}|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/subversion/libsvn_subr/config_impl.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --disable-keychain \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-apr=${prefix}/bin/apr-1-config \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-apr-util=${prefix}/bin/apu-1-config \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-berkeley-db=:${prefix}/include/db46:${prefix}/lib/db46:db-4.6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-libmagic=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-sasl=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-serf=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-zlib=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-apxs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-gnome-keyring
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+switch -regexp ${subport} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ perl {configure.args-append PERL=${perl5.bin}}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|hardcode_direct=yes|hardcode_direct=no|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|need_relink=yes|need_relink=no|g" ${worksrcpath}/libtool
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+switch -regexp ${subport} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ perl {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_parallel_build no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target swig-pl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default {build.target-append tools}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Destroot
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+switch -regexp ${subport} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ perl {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${build.cmd} install-swig-pl-lib ${destroot.post_args}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath}/subversion/bindings/swig/perl/native \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${build.cmd} pure_install INSTALLDIRS=vendor ${destroot.post_args}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fs-traverse pl ${destroot} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file tail ${pl}] eq {.packlist}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${destroot}||" ${pl}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_info "Fixing packlist '${pl}'"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.target-append install-tools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # install global config file so curl-ca-bundle certs are used
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/etc/subversion
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 ${filespath}/servers.default \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/etc/subversion
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # install bash completion file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set completions_path \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/bash-completion/completions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${completions_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 ${worksrcpath}/tools/client-side/bash_completion \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${completions_path}/subversion
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Activate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![file exists ${prefix}/etc/subversion/servers]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${prefix}/etc/subversion/servers.default \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/etc/subversion/servers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Test
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+switch -regexp ${subport} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ perl {test.target check-swig-pl}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target check
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env CLEANUP=true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-test {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set x {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fs-traverse dir ${worksrcpath}/subversion {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file tail ${dir}] == ".libs" && [file isdirectory ${dir}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend x ${dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ continue
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env-append DYLD_LIBRARY_PATH=[join ${x} ":"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Variants
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant no_bdb description {Build without support for BerkeleyDB repositories} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-delete port:db46
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --with-berkeley-db=:${prefix}/include/db46:${prefix}/lib/db46:db-4.6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-berkeley-db
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant mod_dav_svn description {Install the subversion apache module (mod_dav_svn)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build path:apache2/bin/apxs:apache2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --without-apxs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-apxs=${prefix}/apache2/bin/apxs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --disable-mod-activation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.violate_mtree yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant mac_os_x_server_mod_dav_svn description {Unsupported - attempt to build the subversion apache module with apple supplied apache2} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --without-apxs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-apxs=/opt/apache2/bin/apxs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --disable-mod-activation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.violate_mtree yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-install {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 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."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant tools description {Install some optional extra subversion tools} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 755 ${destroot}${prefix}/share/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval delete ${worksrcpath}/tools/diff/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/tools/server-side/mod_dontdothat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [glob ${worksrcpath}/tools/server-side/*{.o,.lo,.c}] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/tools/server-side/fsfs-stats \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/tools/server-side/svn-populate-node-origins-index \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/tools/server-side/svn-rep-sharing-stats \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/tools/server-side/svnauthz-validate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/tools ${destroot}${prefix}/share/${name}/tools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://subversion.tigris.org/issues/show_bug.cgi?id=2464
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant unicode_path description {Installs a hack to workaround Mac OS X unicode path issues} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-osx_unicode_precomp.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-install {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "This variant (+unicode_path) implements a hack to deal with composed/decomposed unicode handling on Mac OS X which is different from linux and windows. It is an implementation of solution 1 from http://svn.collab.net/repos/svn/trunk/notes/unicode-composition-for-filenames which _WILL_ break some setups. Please be sure you understand what you are asking for when you install this variant."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ platform macosx {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Legacy negative variant to be removed after August 2014.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant disable_keychain conflicts osxkeychain description {Legacy compatibility variant} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant osxkeychain conflicts disable_keychain description {Enable OS X Keychain support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --disable-keychain
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset disable_keychain]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants -osxkeychain
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +osxkeychain
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Livecheck
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${subport} eq ${name}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.url http://svn.apache.org/repos/asf/subversion/tags/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.regex {(\d+\.\d+\.\d+)/}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>