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

Support STAGEDIR.

This commit is contained in:
Vanilla I. Shu 2013-11-05 12:02:05 +00:00
parent bbac74f3c2
commit 572f6d4797
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332836
10 changed files with 27 additions and 36 deletions

View File

@ -14,9 +14,4 @@ COMMENT= A perl module that supports mon, a network and system monitoring daemon
USES= perl5
USE_PERL5= configure
MAN3= Mon::SNMP.3 \
Mon::Client.3 \
Mon::Protocol.3
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -1,6 +1,9 @@
%%SITE_PERL%%/Mon/SNMP.pm
%%PERL5_MAN3%%/Mon::Client.3.gz
%%PERL5_MAN3%%/Mon::Protocol.3.gz
%%PERL5_MAN3%%/Mon::SNMP.3.gz
%%SITE_PERL%%/Mon/Client.pm
%%SITE_PERL%%/Mon/Protocol.pm
%%SITE_PERL%%/Mon/SNMP.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mon/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mon
@dirrm %%SITE_PERL%%/Mon
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mon
@dirrmtry %%SITE_PERL%%/Mon

View File

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

View File

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

View File

@ -16,8 +16,4 @@ LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure
MAN1= ipv4calc.1
MAN3= Net::IPv4Addr.3
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -1,9 +1,11 @@
bin/ipv4calc
%%PERL5_MAN3%%/Net::IPv4Addr.3.gz
%%SITE_PERL%%/Net/IPv4Addr.pm
%%SITE_PERL%%/auto/Net/IPv4Addr/autosplit.ix
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IPv4Addr/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IPv4Addr
@dirrm %%SITE_PERL%%/auto/Net/IPv4Addr
man/man1/ipv4calc.1.gz
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IPv4Addr
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
@dirrmtry %%SITE_PERL%%/auto/Net/IPv4Addr
@dirrmtry %%SITE_PERL%%/auto/Net
@dirrmtry %%SITE_PERL%%/Net

View File

@ -20,7 +20,4 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
MAN3= Net::IPv6Addr.3
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -1,5 +1,6 @@
%%PERL5_MAN3%%/Net::IPv6Addr.3.gz
%%SITE_PERL%%/Net/IPv6Addr.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IPv6Addr/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IPv6Addr
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IPv6Addr
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
@dirrmtry %%SITE_PERL%%/Net

View File

@ -17,9 +17,6 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
MAN3= POE::Component::SNMP.3
NO_STAGE= yes
post-patch:
@${TOUCH} ${WRKSRC}/config.cache

View File

@ -1,9 +1,10 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/SNMP/.packlist
%%PERL5_MAN3%%/POE::Component::SNMP.3.gz
%%SITE_PERL%%/POE/Component/SNMP.pm
%%SITE_PERL%%/POE/Component/SNMP/Dispatcher.pm
@dirrm %%SITE_PERL%%/POE/Component/SNMP
@dirrmtry %%SITE_PERL%%/POE/Component
@dirrmtry %%SITE_PERL%%/POE
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/SNMP
%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/SNMP/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/SNMP
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE
@dirrmtry %%SITE_PERL%%/POE/Component/SNMP
@dirrmtry %%SITE_PERL%%/POE/Component
@dirrmtry %%SITE_PERL%%/POE