mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Convert to new OPTIONS framework and support staging.
This commit is contained in:
parent
9730f97a8a
commit
c1b28a5174
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342996
@ -13,18 +13,20 @@ COMMENT= Implements an FTP client POE Component
|
||||
BUILD_DEPENDS= p5-POE>=0:${PORTSDIR}/devel/p5-POE
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
USES= perl5
|
||||
USES= perl5 shebangfix
|
||||
USE_PERL5= configure
|
||||
CONFIGURE_ENV= PERL_MM_USE_DEFAULT=yes
|
||||
|
||||
MAN3= POE::Component::Client::FTP.3
|
||||
SHEBANG_FILES= examples/*.pl
|
||||
|
||||
PORTEXAMPLES= dotfer.pl list.pl sync.pl
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
NO_STAGE= yes
|
||||
post-install:
|
||||
.ifndef(NOPORTDOCS)
|
||||
@${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.mk>
|
||||
|
@ -1,9 +1,6 @@
|
||||
%%SITE_PERL%%/POE/Component/Client/FTP.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Client/FTP/.packlist
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dotfer.pl
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/list.pl
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sync.pl
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PERL5_MAN3%%/POE::Component::Client::FTP.3.gz
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Client/FTP
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Client
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component
|
||||
|
Loading…
Reference in New Issue
Block a user