mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
- Support staging
- Convert to new options framework - Use shebangfix
This commit is contained in:
parent
ccb1d8fb6e
commit
f1c973ce6f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343018
2 changed files with 10 additions and 9 deletions
|
@ -20,16 +20,18 @@ RUN_DEPENDS:= p5-POE>=0:${PORTSDIR}/devel/p5-POE \
|
||||||
p5-Net-IP>=1.25:${PORTSDIR}/net-mgmt/p5-Net-IP
|
p5-Net-IP>=1.25:${PORTSDIR}/net-mgmt/p5-Net-IP
|
||||||
|
|
||||||
PLIST_SUB= EXAMPLESDIR="share/examples/${PORTNAME}"
|
PLIST_SUB= EXAMPLESDIR="share/examples/${PORTNAME}"
|
||||||
USES= perl5
|
USES= perl5 shebangfix
|
||||||
USE_PERL5= configure
|
USE_PERL5= configure
|
||||||
|
|
||||||
MAN3= POE::Component::IRC::Plugin::QueryDNSBL.3
|
SHEBANG_FILES= examples/*.pl
|
||||||
|
PORTEXAMPLES= *
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= EXAMPLES
|
||||||
|
|
||||||
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
post-install:
|
post-install:
|
||||||
.ifndef(NOPORTEXAMPLES)
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
@${MKDIR} ${EXAMPLESDIR}
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
%%SITE_PERL%%/POE/Component/IRC/Plugin/QueryDNSBL.pm
|
%%SITE_PERL%%/POE/Component/IRC/Plugin/QueryDNSBL.pm
|
||||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Plugin/QueryDNSBL/.packlist
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Plugin/QueryDNSBL/.packlist
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/synopsis.pl
|
%%PERL5_MAN3%%/POE::Component::IRC::Plugin::QueryDNSBL.3.gz
|
||||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
|
||||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Plugin/QueryDNSBL
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Plugin/QueryDNSBL
|
||||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Plugin
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Plugin
|
||||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC
|
||||||
|
|
Loading…
Add table
Reference in a new issue