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