1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Stage support

This commit is contained in:
Martin Wilke 2014-02-05 13:58:09 +00:00
parent bdc47a8213
commit 37fa1c9fd9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342701
2 changed files with 10 additions and 15 deletions

View File

@ -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>

View File

@ -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