Annotation of pkgsrc/sysutils/zabbix50-java/Makefile, revision 1.5
1.5 ! otis 1: # $NetBSD: Makefile,v 1.4 2023/01/03 13:59:15 otis Exp $
1.1 otis 2:
3: .include "../../sysutils/zabbix50-server/Makefile.common"
4:
5: PKGNAME= ${DISTNAME:S/-/-java-/}
6: COMMENT= Enterprise-class Monitoring Solution for Everyone
7:
1.4 otis 8: PATCHDIR= ${.CURDIR}/../../sysutils/zabbix50-server/patches
1.5 ! otis 9: DISTINFO_FILE= ${.CURDIR}/../../sysutils/zabbix50-server/distinfo
1.4 otis 10:
1.1 otis 11: GNU_CONFIGURE= yes
12: CONFIGURE_ARGS+= --enable-java
13: CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
14:
15: CONFIGURE_ENV+= JAVAC=${PKG_JAVA_HOME}/bin/javac
16: CONFIGURE_ENV+= JAR=${PKG_JAVA_HOME}/bin/jar
17:
18: USE_JAVA= run
1.4 otis 19: PKG_JVMS_ACCEPTED= openjdk8 openjdk11
1.1 otis 20:
21: SUBST_CLASSES+= fix-paths
22: SUBST_STAGE.fix-paths= pre-configure
23: SUBST_MESSAGE.fix-paths= Fixing absolute paths.
24: SUBST_FILES.fix-paths= conf/*.conf
25: SUBST_FILES.fix-paths+= man/*.man
26: SUBST_SED.fix-paths= -e 's,/usr/local/etc,${PKG_SYSCONFDIR},g'
27:
28: .include "../../mk/java-vm.mk"
29: .include "../../mk/bsd.prefs.mk"
30: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>