aboutsummaryrefslogtreecommitdiffstats
path: root/java/subversion-java
diff options
context:
space:
mode:
authorlev <lev@FreeBSD.org>2008-06-30 18:04:47 +0800
committerlev <lev@FreeBSD.org>2008-06-30 18:04:47 +0800
commitc3c42b0221159ea147d98bb85e5e0b18f6aa0335 (patch)
tree1b3660a3e2547172385c85a60d38e63994ad7907 /java/subversion-java
parent2ccb4847642dbed2b53b3a05faa897fab8162178 (diff)
downloadfreebsd-ports-gnome-c3c42b0221159ea147d98bb85e5e0b18f6aa0335.tar.gz
freebsd-ports-gnome-c3c42b0221159ea147d98bb85e5e0b18f6aa0335.tar.zst
freebsd-ports-gnome-c3c42b0221159ea147d98bb85e5e0b18f6aa0335.zip
Add subversion-java: high-level bindings for Java and subversion VCS.
Diffstat (limited to 'java/subversion-java')
-rw-r--r--java/subversion-java/Makefile42
-rw-r--r--java/subversion-java/pkg-descr6
-rw-r--r--java/subversion-java/pkg-plist7
3 files changed, 55 insertions, 0 deletions
diff --git a/java/subversion-java/Makefile b/java/subversion-java/Makefile
new file mode 100644
index 000000000000..bf504e2e6ead
--- /dev/null
+++ b/java/subversion-java/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: subversion-java
+# Date Created: 30 June 2008
+# Whom: Lev Serebryako <lev@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PKGNAMESUFFIX= -java
+CATEGORIES+= devel
+
+MAINTAINER= lev@FreeBSD.org
+COMMENT= Java bindings for Version control system
+
+MASTERDIR= ${.CURDIR}/../../devel/subversion
+PKGDIR= ${.CURDIR}
+
+USE_JAVA= yes
+JAVA_VERSION= 1.2+
+JAVA_OS= native
+JAVA_BUILD= yes
+JAVA_RUN= yes
+
+SVN_BUILD_BINDINGS=yes
+
+.include "${MASTERDIR}/Makefile.common"
+
+CONFIGURE_ARGS+= --enable-javahl --with-jdk=${JAVA_HOME}
+
+.if ${OSVERSION} < 503000
+BROKEN="Java bindings are supported only on FreeBSD 5.3 or newer"
+.endif
+
+do-build:
+ @${MKDIR} ${WRKSRC}/subversion/bindings/java/javahl/classes
+ cd ${WRKSRC} ; \
+ ${MAKE} javahl
+
+do-install:
+ cd ${WRKSRC} ; \
+ ${MAKE} install-javahl
+
+.include <bsd.port.post.mk>
diff --git a/java/subversion-java/pkg-descr b/java/subversion-java/pkg-descr
new file mode 100644
index 000000000000..54c587c4e1ac
--- /dev/null
+++ b/java/subversion-java/pkg-descr
@@ -0,0 +1,6 @@
+Subversion is a version control system designed to be as similar to cvs(1)
+as possible, while fixing many outstanding problems with cvs(1).
+
+This port adds Java bindings to Subversion.
+
+WWW: http://subversion.tigris.org/
diff --git a/java/subversion-java/pkg-plist b/java/subversion-java/pkg-plist
new file mode 100644
index 000000000000..2013bb5ec23a
--- /dev/null
+++ b/java/subversion-java/pkg-plist
@@ -0,0 +1,7 @@
+lib/libsvnjavahl-1.a
+lib/libsvnjavahl-1.la
+lib/libsvnjavahl-1.so
+lib/libsvnjavahl-1.so.0
+lib/svn-javahl/svn-javahl.jar
+@dirrm lib/svn-javahl/include
+@dirrm lib/svn-javahl