diff options
author | Lev A. Serebryakov <lev@FreeBSD.org> | 2008-06-30 10:04:47 +0000 |
---|---|---|
committer | Lev A. Serebryakov <lev@FreeBSD.org> | 2008-06-30 10:04:47 +0000 |
commit | 54259416d20b76f20c2691c22f26c97dea16a4a9 (patch) | |
tree | dedb6c08e9f27b7d50ece519e9b01266c8c266e0 /java/subversion-java/Makefile | |
parent | 9ffc02942d56820e9f987cabe4b5592db5ea034a (diff) | |
download | ports-54259416d20b76f20c2691c22f26c97dea16a4a9.tar.gz ports-54259416d20b76f20c2691c22f26c97dea16a4a9.zip |
Add subversion-java: high-level bindings for Java and subversion VCS.
Notes
Notes:
svn path=/head/; revision=216026
Diffstat (limited to 'java/subversion-java/Makefile')
-rw-r--r-- | java/subversion-java/Makefile | 42 |
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> |