aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-snmp-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nagios-snmp-plugins')
-rw-r--r--net-mgmt/nagios-snmp-plugins/Makefile1
-rw-r--r--net-mgmt/nagios-snmp-plugins/pkg-plist1
2 files changed, 1 insertions, 1 deletions
diff --git a/net-mgmt/nagios-snmp-plugins/Makefile b/net-mgmt/nagios-snmp-plugins/Makefile
index cdd40427248f..3bbefa3475d9 100644
--- a/net-mgmt/nagios-snmp-plugins/Makefile
+++ b/net-mgmt/nagios-snmp-plugins/Makefile
@@ -48,6 +48,7 @@ pre-configure:
${AUTOCONF_ARGS})
do-install:
+ ${MKDIR} ${NAGIOS_PLUGIN_DIR}
${INSTALL_PROGRAM} ${WRKSRC}/check_snmp_disk ${NAGIOS_PLUGIN_DIR}
${INSTALL_PROGRAM} ${WRKSRC}/check_snmp_proc ${NAGIOS_PLUGIN_DIR}
.if !defined(NOPORTDOCS)
diff --git a/net-mgmt/nagios-snmp-plugins/pkg-plist b/net-mgmt/nagios-snmp-plugins/pkg-plist
index 2382126a4f6e..7269ac2333b0 100644
--- a/net-mgmt/nagios-snmp-plugins/pkg-plist
+++ b/net-mgmt/nagios-snmp-plugins/pkg-plist
@@ -1,4 +1,3 @@
-@exec mkdir -p %D/libexec/nagios
libexec/nagios/check_snmp_disk
libexec/nagios/check_snmp_proc
@unexec rmdir %D/libexec/nagios 2>/dev/null || true