aboutsummaryrefslogtreecommitdiff
path: root/java/subversion-java/Makefile
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2008-06-30 10:04:47 +0000
committerLev A. Serebryakov <lev@FreeBSD.org>2008-06-30 10:04:47 +0000
commit54259416d20b76f20c2691c22f26c97dea16a4a9 (patch)
treededb6c08e9f27b7d50ece519e9b01266c8c266e0 /java/subversion-java/Makefile
parent9ffc02942d56820e9f987cabe4b5592db5ea034a (diff)
downloadports-54259416d20b76f20c2691c22f26c97dea16a4a9.tar.gz
ports-54259416d20b76f20c2691c22f26c97dea16a4a9.zip
Notes
Diffstat (limited to 'java/subversion-java/Makefile')
-rw-r--r--java/subversion-java/Makefile42
1 files changed, 42 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>