aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2015-02-20 03:20:36 +0800
committeradamw <adamw@FreeBSD.org>2015-02-20 03:20:36 +0800
commit69e9e874bf4880786b5bb93a90d53dde48b50101 (patch)
tree05fb02ecad9eb503611fc0fad6a95a78402145b6 /net-mgmt
parenta3a8fbab0d6f0e70f2387de8331af5befce4bffb (diff)
downloadfreebsd-ports-gnome-69e9e874bf4880786b5bb93a90d53dde48b50101.tar.gz
freebsd-ports-gnome-69e9e874bf4880786b5bb93a90d53dde48b50101.tar.zst
freebsd-ports-gnome-69e9e874bf4880786b5bb93a90d53dde48b50101.zip
Assign RUN_DEPENDS properly. Apply shebangfix to fix a "/usr/bin/perl",
and remove a @dirrmtry from the plist.
Diffstat (limited to 'net-mgmt')
-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