blob: 0b81f3bb1f4772a72472e3e002382c657dd469eb (
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
|
# $NetBSD: Makefile,v 1.47 2019/01/12 12:24:16 bsiegert Exp $
PKGNAME= java-subversion-${SVNVER}
COMMENT= Java bindings for Subversion
MAKE_JOBS_SAFE= no
.include "../../devel/subversion/Makefile.common"
SHLIBTOOL_OVERRIDE= # empty
USE_LANGUAGES+= c c++
USE_JAVA2= 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"
|