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-02 10:11:12 +00:00
parent c79c7db75b
commit 5e1fb835b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342261
6 changed files with 9 additions and 20 deletions

View File

@ -13,7 +13,4 @@ COMMENT= Use the freedesktop basedir spec
USES= perl5
USE_PERL5= modbuild
MAN3= File::BaseDir.3
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
%%SITE_PERL%%/File/BaseDir.pm
%%PERL5_MAN3%%/File::BaseDir.3.gz
@dirrmtry %%SITE_PERL%%/File

View File

@ -20,18 +20,8 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
MAN3= Object::Pluggable.3 \
Object::Pluggable::Constants.3 \
Object::Pluggable::Pipeline.3
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-install:
.ifndef(NOPORTEXAMPLES)
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
@${MKDIR} ${EXAMPLESDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}/
.endif
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -2,6 +2,9 @@
%%SITE_PERL%%/Object/Pluggable/Pipeline.pm
%%SITE_PERL%%/Object/Pluggable/Constants.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Pluggable/.packlist
%%PERL5_MAN3%%/Object::Pluggable.3.gz
%%PERL5_MAN3%%/Object::Pluggable::Constants.3.gz
%%PERL5_MAN3%%/Object::Pluggable::Pipeline.3.gz
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Pluggable
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Pluggable
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Object

View File

@ -21,8 +21,4 @@ USES= perl5
USE_PERL5= configure
CONFLICTS= p5-Net-SNMP3-[0-9]*
MAN1= snmpkey.1
MAN3= Net::SNMP.3
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -15,6 +15,8 @@ bin/snmpkey
%%SITE_PERL%%/Net/SNMP/Transport/IPv6/TCP.pm
%%SITE_PERL%%/Net/SNMP/Transport/IPv6/UDP.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SNMP/.packlist
%%PERL5_MAN3%%/Net::SNMP.3.gz
man/man1/snmpkey.1.gz
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SNMP
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
@dirrm %%SITE_PERL%%/Net/SNMP/Transport/IPv6