diff options
-rw-r--r-- | net-mgmt/nagios-snmp-plugins/Makefile | 3 | ||||
-rw-r--r-- | net-mgmt/nagios-snmp-plugins/pkg-plist | 2 |
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%% |