aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-05 21:58:09 +0800
committermiwi <miwi@FreeBSD.org>2014-02-05 21:58:09 +0800
commitb3de7716b1487fc4e1cadda53a5ba2987d2a8070 (patch)
tree48c4ad392cc95f32a8d2fd12485868f539f8c8cd /net-mgmt
parent1c0dbdef14c8c61528c1171dc691980115e56454 (diff)
downloadfreebsd-ports-gnome-b3de7716b1487fc4e1cadda53a5ba2987d2a8070.tar.gz
freebsd-ports-gnome-b3de7716b1487fc4e1cadda53a5ba2987d2a8070.tar.zst
freebsd-ports-gnome-b3de7716b1487fc4e1cadda53a5ba2987d2a8070.zip
- Stage support
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/p5-Nagios-Plugin/Makefile17
-rw-r--r--net-mgmt/p5-Nagios-Plugin/pkg-plist8
2 files changed, 10 insertions, 15 deletions
diff --git a/net-mgmt/p5-Nagios-Plugin/Makefile b/net-mgmt/p5-Nagios-Plugin/Makefile
index 39c5037a2525..1e182619912a 100644
--- a/net-mgmt/p5-Nagios-Plugin/Makefile
+++ b/net-mgmt/p5-Nagios-Plugin/Makefile
@@ -19,24 +19,11 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
-NO_STAGE= yes
-MAN3= Nagios::Plugin.3 \
- Nagios::Plugin::Config.3 \
- Nagios::Plugin::ExitResult.3 \
- Nagios::Plugin::Functions.3 \
- Nagios::Plugin::Getopt.3 \
- Nagios::Plugin::Performance.3 \
- Nagios::Plugin::Range.3 \
- Nagios::Plugin::Threshold.3 \
-
-.if !defined(NOPORTDOCS)
PORTDOCS= Changes README
post-install:
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
- @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/net-mgmt/p5-Nagios-Plugin/pkg-plist b/net-mgmt/p5-Nagios-Plugin/pkg-plist
index a6a736966d8c..5a6be821f2cf 100644
--- a/net-mgmt/p5-Nagios-Plugin/pkg-plist
+++ b/net-mgmt/p5-Nagios-Plugin/pkg-plist
@@ -7,6 +7,14 @@
%%SITE_PERL%%/Nagios/Plugin/Range.pm
%%SITE_PERL%%/Nagios/Plugin/Threshold.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugin/.packlist
+%%PERL5_MAN3%%/Nagios::Plugin.3.gz
+%%PERL5_MAN3%%/Nagios::Plugin::Config.3.gz
+%%PERL5_MAN3%%/Nagios::Plugin::ExitResult.3.gz
+%%PERL5_MAN3%%/Nagios::Plugin::Functions.3.gz
+%%PERL5_MAN3%%/Nagios::Plugin::Getopt.3.gz
+%%PERL5_MAN3%%/Nagios::Plugin::Performance.3.gz
+%%PERL5_MAN3%%/Nagios::Plugin::Range.3.gz
+%%PERL5_MAN3%%/Nagios::Plugin::Threshold.3.gz
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugin
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios
@dirrm %%SITE_PERL%%/Nagios/Plugin