diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-06 10:11:47 +0000 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-06 10:11:47 +0000 |
commit | 26128554162fde99aa3421b6a1177cd3bba4b0ad (patch) | |
tree | 9fc9e43aa7134c19c51a68a558448ff1f7bb0357 | |
parent | 45af40720b6a59e16cace1864ee2ee6c3fabf2fd (diff) | |
download | FreeBSD-ports-26128554162fde99aa3421b6a1177cd3bba4b0ad.zip FreeBSD-ports-26128554162fde99aa3421b6a1177cd3bba4b0ad.tar.gz |
Convert to new OPTIONS framework and support staging.
-rw-r--r-- | ftp/p5-POE-Component-Client-FTP/Makefile | 18 | ||||
-rw-r--r-- | ftp/p5-POE-Component-Client-FTP/pkg-plist | 5 |
2 files changed, 11 insertions, 12 deletions
diff --git a/ftp/p5-POE-Component-Client-FTP/Makefile b/ftp/p5-POE-Component-Client-FTP/Makefile index fa2732d..756fac8 100644 --- a/ftp/p5-POE-Component-Client-FTP/Makefile +++ b/ftp/p5-POE-Component-Client-FTP/Makefile @@ -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> diff --git a/ftp/p5-POE-Component-Client-FTP/pkg-plist b/ftp/p5-POE-Component-Client-FTP/pkg-plist index 520be54..ef4d678 100644 --- a/ftp/p5-POE-Component-Client-FTP/pkg-plist +++ b/ftp/p5-POE-Component-Client-FTP/pkg-plist @@ -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 |