diff options
author | otis <otis@pkgsrc.org> | 2020-11-03 22:52:41 +0000 |
---|---|---|
committer | otis <otis@pkgsrc.org> | 2020-11-03 22:52:41 +0000 |
commit | 2639bae5b0323923c49919998fa5fd095ca1fced (patch) | |
tree | 6acac3353385432e63099998912ec6a02b4e9f08 /sysutils/zabbix50-java/Makefile | |
parent | 8b01049b9298a09a57eba0df9def827282721f02 (diff) | |
download | pkgsrc-2639bae5b0323923c49919998fa5fd095ca1fced.tar.gz |
zabbix50-java: Import zabbix-java 5.0.5
Zabbix is the ultimate enterprise-level software designed for monitoring
availability and performance of IT infrastructure components. Zabbix is open
source and comes at no cost.
With Zabbix it is possible to gather virtually limitless types of data from
the network. High performance real-time monitoring means that tens of thousands
of servers, virtual machines and network devices can be monitored
simultaneously. Along with storing the data, visualization features are
available (overviews, maps, graphs, screens, etc), as well as very flexible
ways of analyzing the data for the purpose of alerting.
Diffstat (limited to 'sysutils/zabbix50-java/Makefile')
-rw-r--r-- | sysutils/zabbix50-java/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sysutils/zabbix50-java/Makefile b/sysutils/zabbix50-java/Makefile new file mode 100644 index 00000000000..46959d46044 --- /dev/null +++ b/sysutils/zabbix50-java/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1 2020/11/03 22:52:41 otis Exp $ + +.include "../../sysutils/zabbix50-server/Makefile.common" + +PKGNAME= ${DISTNAME:S/-/-java-/} +COMMENT= Enterprise-class Monitoring Solution for Everyone + +USE_TOOLS+= pkg-config +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --enable-java +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} + +CONFIGURE_ENV+= JAVAC=${PKG_JAVA_HOME}/bin/javac +CONFIGURE_ENV+= JAR=${PKG_JAVA_HOME}/bin/jar + +USE_JAVA= run +PKG_JVMS_ACCEPTED= openjdk8 + +EGDIR= share/examples/zabbix + +INSTALLATION_DIRS+= ${EGDIR} share/zabbix + +SUBST_CLASSES+= fix-paths +SUBST_STAGE.fix-paths= pre-configure +SUBST_MESSAGE.fix-paths= Fixing absolute paths. +SUBST_FILES.fix-paths= conf/*.conf +SUBST_FILES.fix-paths+= man/*.man +SUBST_SED.fix-paths= -e 's,/usr/local/etc,${PKG_SYSCONFDIR},g' + +.include "../../mk/java-vm.mk" +.include "../../mk/bsd.prefs.mk" +.include "../../mk/bsd.pkg.mk" |