summaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2005-01-22 22:22:00 +0000
committerbms <bms@FreeBSD.org>2005-01-22 22:22:00 +0000
commit1990c7d5acab2e17f0d039f3e48cf793f158b5eb (patch)
tree9ab8ed1809d891563e963115be289c9d799806e4 /net-mgmt
parente1febc491cfaac2b7a3136060aaa61df7bbcad1a (diff)
downloadFreeBSD-ports-1990c7d5acab2e17f0d039f3e48cf793f158b5eb.zip
FreeBSD-ports-1990c7d5acab2e17f0d039f3e48cf793f158b5eb.tar.gz
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')
-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 7be1b02..cdd4042 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 79e4d32..c97c7da 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%%
OpenPOWER on IntegriCloud