aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nagios-snmp-plugins
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2005-01-23 06:22:00 +0800
committerbms <bms@FreeBSD.org>2005-01-23 06:22:00 +0800
commit1990c7d5acab2e17f0d039f3e48cf793f158b5eb (patch)
tree9ab8ed1809d891563e963115be289c9d799806e4 /net-mgmt/nagios-snmp-plugins
parente1febc491cfaac2b7a3136060aaa61df7bbcad1a (diff)
downloadfreebsd-ports-gnome-1990c7d5acab2e17f0d039f3e48cf793f158b5eb.tar.gz
freebsd-ports-gnome-1990c7d5acab2e17f0d039f3e48cf793f158b5eb.tar.zst
freebsd-ports-gnome-1990c7d5acab2e17f0d039f3e48cf793f158b5eb.zip
Remove RUN_DEPENDS on nagios-plugins; replace with conditional
directory creation/removal for nagios plugin path in pkg-plist. Bump PORTREVISION. Build appears to be OK now on ia64.
Diffstat (limited to 'net-mgmt/nagios-snmp-plugins')
-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%%