aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2005-01-22 22:22:00 +0000
committerBruce M Simpson <bms@FreeBSD.org>2005-01-22 22:22:00 +0000
commitd62e947f2a72549f70e03da2ef4ca82ae92bdb4a (patch)
treeedaabb489ed1e5e1c4577771cf7cac03020dfe6f /net-mgmt
parentbc3edda91401f7e540be39a93c2b30c5193e2824 (diff)
downloadports-d62e947f2a72549f70e03da2ef4ca82ae92bdb4a.tar.gz
ports-d62e947f2a72549f70e03da2ef4ca82ae92bdb4a.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nagios-snmp-plugins/Makefile3
-rw-r--r--net-mgmt/nagios-snmp-plugins/pkg-plist2
2 files changed, 3 insertions, 2 deletions
diff --git a/net-mgmt/nagios-snmp-plugins/Makefile b/net-mgmt/nagios-snmp-plugins/Makefile
index 7be1b023ba70..cdd40427248f 100644
--- a/net-mgmt/nagios-snmp-plugins/Makefile
+++ b/net-mgmt/nagios-snmp-plugins/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nagios-snmp-plugins
PORTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-mgmt
MASTER_SITES= ftp://ftp.hometree.net/pub/${PORTNAME}/
@@ -15,7 +15,6 @@ MAINTAINER= bms@FreeBSD.org
COMMENT= Additional SNMP plugins for Nagios
LIB_DEPENDS= netsnmp.7:${PORTSDIR}/net-mgmt/net-snmp
-RUN_DEPENDS= ${LOCALBASE}/libexec/nagios:${PORTSDIR}/net-mgmt/nagios-plugins
GNU_CONFIGURE= yes
USE_AUTOMAKE_VER= 14
diff --git a/net-mgmt/nagios-snmp-plugins/pkg-plist b/net-mgmt/nagios-snmp-plugins/pkg-plist
index 79e4d3226786..c97c7da363ea 100644
--- a/net-mgmt/nagios-snmp-plugins/pkg-plist
+++ b/net-mgmt/nagios-snmp-plugins/pkg-plist
@@ -1,4 +1,6 @@
+@exec mkdir -p %D/libexec/nagios 2>/dev/null || true
libexec/nagios/check_snmp_disk
libexec/nagios/check_snmp_proc
+@unexec rmdir %D/libexec/nagios 2>/dev/null || true
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%