# -*- 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
name subversion-perlbindings
maintainers {geeklair.net:dluke @danielluke}
description Perl bindings for the subversion version control system (svn)
long_description Subversion (svn) is a version control system designed to be \
as similar to cvs(1) as possible, while fixing many \
outstanding problems with cvs(1). The perl bindings \
provide access to subversion API from perl.
homepage https://subversion.apache.org/
set perl5.branches {5.26 5.28}
foreach branch ${perl5.branches} {
set p_idx [lsearch ${perl5.branches} ${branch}]
set other_perls [lreplace ${perl5.branches} $p_idx $p_idx]
subport ${name}-${branch} {
foreach c_perl ${other_perls} {
conflicts-append ${name}-${c_perl}
if {${subport} eq ${name}} {
# depend on a default perl version
depends_lib port:${name}-5.28
# avoid conflict with old version when upgrading
xinstall -d ${destroot}${prefix}/share/doc/${name}
system "echo $name is a stub port > ${destroot}${prefix}/share/doc/${name}/README"
livecheck.url https://svn.apache.org/repos/asf/subversion/tags/
livecheck.regex "(\\d+\\.\\d+\\.\\d+)/"
master_sites apache:subversion
checksums rmd160 8197a89bf5879f1a871ae0547dfdaecb8fa052ac \
sha256 3bd0b5c8e4c5175263dc9a92fd9aef94ce917e80af034f26fe5c45fde7e0f771 \
distname subversion-${version}
test.target check-swig-pl
port:perl${perl5.branch} \
configure.args --with-berkeley-db=:${prefix}/include/db48:${prefix}/lib/db48:db-4.8 \
--with-apr=${prefix}/bin/apr-1-config \
--with-apr-util=${prefix}/bin/apu-1-config --without-apxs \
--mandir=\\\${prefix}/share/man \
--with-libmagic=${prefix} \