aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/p5-Nagios-Plugins-Memcached
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2015-02-19 19:20:36 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2015-02-19 19:20:36 +0000
commitd82c3d245d608d6fa400ec2853827f397ae2e39e (patch)
tree05fb02ecad9eb503611fc0fad6a95a78402145b6 /net-mgmt/p5-Nagios-Plugins-Memcached
parent8a548f82a5c5a378447e9e83213e5ba392156218 (diff)
downloadports-d82c3d245d608d6fa400ec2853827f397ae2e39e.tar.gz
ports-d82c3d245d608d6fa400ec2853827f397ae2e39e.zip
Notes
Diffstat (limited to 'net-mgmt/p5-Nagios-Plugins-Memcached')
-rw-r--r--net-mgmt/p5-Nagios-Plugins-Memcached/Makefile8
-rw-r--r--net-mgmt/p5-Nagios-Plugins-Memcached/pkg-plist1
2 files changed, 5 insertions, 4 deletions
diff --git a/net-mgmt/p5-Nagios-Plugins-Memcached/Makefile b/net-mgmt/p5-Nagios-Plugins-Memcached/Makefile
index f024f9b84496..89e597a6668d 100644
--- a/net-mgmt/p5-Nagios-Plugins-Memcached/Makefile
+++ b/net-mgmt/p5-Nagios-Plugins-Memcached/Makefile
@@ -11,18 +11,20 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Module to check memcached via nagios
-USES= perl5
+USES= perl5 shebangfix
USE_PERL5= configure
-BUILD_DEPENDS+= p5-Nagios-Plugin>=0:${PORTSDIR}/net-mgmt/p5-Nagios-Plugin \
+BUILD_DEPENDS= p5-Nagios-Plugin>=0:${PORTSDIR}/net-mgmt/p5-Nagios-Plugin \
p5-Cache-Memcached>=0:${PORTSDIR}/databases/p5-Cache-Memcached \
p5-Carp-Clan>=0:${PORTSDIR}/devel/p5-Carp-Clan
-RUN_DEPENDS+= ${BUILD_DEPENDS}
+RUN_DEPENDS:= ${BUILD_DEPENDS}
PORTDOCS= Changes README
OPTIONS_DEFINE= DOCS
+SHEBANG_FILES= bin/check_memcached
+
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
${INSTALL} ${WRKSRC}/bin/check_memcached ${STAGEDIR}${PREFIX}/libexec/nagios/check_memcached
diff --git a/net-mgmt/p5-Nagios-Plugins-Memcached/pkg-plist b/net-mgmt/p5-Nagios-Plugins-Memcached/pkg-plist
index b165749799c9..d17547fa27c2 100644
--- a/net-mgmt/p5-Nagios-Plugins-Memcached/pkg-plist
+++ b/net-mgmt/p5-Nagios-Plugins-Memcached/pkg-plist
@@ -1,4 +1,3 @@
%%PERL5_MAN3%%/Nagios::Plugins::Memcached.3.gz
%%SITE_PERL%%/Nagios/Plugins/Memcached.pm
libexec/nagios/check_memcached
-@dirrmtry libexec/nagios