freebsd-ports/java/subversion-java/Makefile
Lev A. Serebryakov 9c0af88e61 (1) Fix bindings dependencies when WITH_FREEBSD_SUBVERSION is set
(2) Fix CATEGORIES for devel/*-subversion ports
  (3) Add note to UPDATING about neon26/neon28 transition and
      binding changes.

PR:		ports/125168 [2]
Submitted by:	Dmitry Morozovsky <marck rinet ru> [1,2,3]
2008-07-02 05:21:39 +00:00

42 lines
860 B
Makefile

# New ports collection makefile for: subversion-java
# Date Created: 30 June 2008
# Whom: Lev Serebryako <lev@FreeBSD.org>
#
# $FreeBSD$
#
PKGNAMESUFFIX= -java
CATEGORIES= java
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>