diff options
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> |