blob: ed32ea8b815d6dc72a0a1f867eb0041ff3723644 (
plain)
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
|
# $NetBSD: Makefile,v 1.8 2010/01/17 12:02:13 wiz Exp $
PKGNAME= java-subversion-${SVNVER}
PKGREVISION= 1
COMMENT= Java bindings for Subversion
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
.include "../../devel/subversion/Makefile.common"
SHLIBTOOL_OVERRIDE= # empty
USE_LANGUAGES+= c c++
USE_JAVA= yes
# We might need PKG_JVM_DEFAULT/PKG_JVMS_ACCEPTED; I'm not much for Java...
CONFIGURE_ARGS+= --enable-javahl --with-jdk=${PKG_JAVA_HOME}
# To run the tests, uncomment this line if you have junit installed in
# jre/lib/ext . TODO: If someone packages junit, use that.
#CONFIGURE_ARGS+= --with-junit
BUILD_TARGET= javahl
INSTALL_TARGET= install-javahl
TEST_TARGET= check-javahl
post-patch:
${RM} ${WRKSRC}/build-outputs.mk
${CP} ${FILESDIR}/build-outputs.mk ${WRKSRC}/build-outputs.mk
.include "../../devel/subversion-base/buildlink3.mk"
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|