name subversion-javahlbindings
maintainers {geeklair.net:dluke @danielluke} blair
description Java (javahl) 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 java bindings \
provide access to subversion API from java.
homepage http://subversion.apache.org/
master_sites apache:subversion
checksums sha1 345bc84edc5fe72f70997d247230fd8d3a18d83b \
rmd160 ccde1df065be6c997967830053a03b6bdc68503e \
sha256 2cf23f3abb837dea0585a6b0ebd70e80e01f95bddef7c1aa097c18e3eaa6b584 \
distname subversion-${version}
port:db46 port:subversion \
port:sqlite3 port:gettext \
port:libiconv port:serf1 \
port:libmagic port:libcomerr \
port:zlib port:libutf8proc \
configure.args --with-berkeley-db=:${prefix}/include/db46:${prefix}/lib/db46:db-4.6 \
--with-apr=${prefix}/bin/apr-1-config \
--with-apr-util=${prefix}/bin/apu-1-config --without-apxs \
--mandir=\\\${prefix}/share/man \
--with-libmagic=${prefix} \
--without-gnome-keyring \
--enable-javahl --without-jikes \
--with-junit=${prefix}/share/java/junit.jar
destroot.target install-javahl
destroot.violate_mtree yes
patchfiles patch-configure.diff
pre-configure { reinplace "s|hardcode_direct=yes|hardcode_direct=no|g" \
reinplace "s|\\(LINK_JAVAHL_CXX.*\\)-rpath|\\1-dynamiclib -rpath|g" \
${worksrcpath}/Makefile.in
reinplace "s|@@DESTROOT@@|${destroot}|g" \
post-configure { reinplace "s|need_relink=yes|need_relink=no|g" \
platform darwin 10 { pre-fetch {
if {![file isfile "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"]} {
return -code error "\n********************\n${name} requires the Java for Mac OS X Developer Package from Apple.\nPlease download and install this package:\nhttps://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719\n********************"
platform darwin 9 { pre-fetch {
if {![file isfile "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"]} {
return -code error "\n********************\n${name} requires the Java for Mac OS X Developer Package from Apple.\nPlease download and install this package:\nhttps://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20720\n********************"
variant no_bdb description {Build without support for BerkeleyDB repositories} {
depends_lib-delete port:db46
configure.args-delete --with-berkeley-db=:${prefix}/include/db46:${prefix}/lib/db46:db-4.6