aboutsummaryrefslogtreecommitdiffstats
path: root/java/subversion-java/Makefile
blob: 93533137002cb3c7f957bb19437b6d4e949643e7 (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
39
40
41
42
# 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

.if defined(WITH_SUBVERSION_VER) && ${WITH_SUBVERSION_VER} == 16
MASTERDIR=  ${.CURDIR}/../../devel/subversion16
.else
MASTERDIR=  ${.CURDIR}/../../devel/subversion
.endif
PKGDIR=     ${.CURDIR}

USE_JAVA=   yes
JAVA_VERSION=   1.5+
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>