aboutsummaryrefslogtreecommitdiff
path: root/java/subversion-java/Makefile
blob: 71bd41b558e70705211c85ff9dac0fdf5e663d84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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}

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>