aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/p5-Nagios-Plugins-Memcached
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/p5-Nagios-Plugins-Memcached')
-rw-r--r--net-mgmt/p5-Nagios-Plugins-Memcached/Makefile10
-rw-r--r--net-mgmt/p5-Nagios-Plugins-Memcached/pkg-plist9
2 files changed, 9 insertions, 10 deletions
diff --git a/net-mgmt/p5-Nagios-Plugins-Memcached/Makefile b/net-mgmt/p5-Nagios-Plugins-Memcached/Makefile
index e25a3c505914..6dfe2ab379e4 100644
--- a/net-mgmt/p5-Nagios-Plugins-Memcached/Makefile
+++ b/net-mgmt/p5-Nagios-Plugins-Memcached/Makefile
@@ -19,16 +19,14 @@ BUILD_DEPENDS+= p5-Nagios-Plugin>=0:${PORTSDIR}/net-mgmt/p5-Nagios-Plugin \
p5-Carp-Clan>=0:${PORTSDIR}/devel/p5-Carp-Clan
RUN_DEPENDS+= ${BUILD_DEPENDS}
-MAN3= Nagios::Plugins::Memcached.3
PORTDOCS= Changes README
-NO_STAGE= yes
post-install:
- @${MKDIR} ${LOCALBASE}/libexec/nagios
- ${INSTALL} ${WRKSRC}/bin/check_memcached ${LOCALBASE}/libexec/nagios/check_memcached
+ @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
+ ${INSTALL} ${WRKSRC}/bin/check_memcached ${STAGEDIR}${PREFIX}/libexec/nagios/check_memcached
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}/
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
diff --git a/net-mgmt/p5-Nagios-Plugins-Memcached/pkg-plist b/net-mgmt/p5-Nagios-Plugins-Memcached/pkg-plist
index 604fabb4cc7b..dbf99741aea4 100644
--- a/net-mgmt/p5-Nagios-Plugins-Memcached/pkg-plist
+++ b/net-mgmt/p5-Nagios-Plugins-Memcached/pkg-plist
@@ -1,9 +1,10 @@
-libexec/nagios/check_memcached
+%%PERL5_MAN3%%/Nagios::Plugins::Memcached.3.gz
%%SITE_PERL%%/Nagios/Plugins/Memcached.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugins/Memcached/.packlist
+libexec/nagios/check_memcached
@dirrmtry libexec/nagios
-@dirrmtry %%SITE_PERL%%/Nagios/Plugins
-@dirrmtry %%SITE_PERL%%/Nagios
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugins/Memcached
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugins/Memcached
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugins
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios
+@dirrmtry %%SITE_PERL%%/Nagios/Plugins
+@dirrmtry %%SITE_PERL%%/Nagios