diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-06 10:11:47 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-06 10:11:47 +0000 |
commit | c1b28a5174b9f724e84a78d42fe60a2f5bac65a5 (patch) | |
tree | 9fc9e43aa7134c19c51a68a558448ff1f7bb0357 /ftp | |
parent | 9730f97a8a579fe43b3af632881e3d3008418f60 (diff) | |
download | ports-c1b28a5174b9f724e84a78d42fe60a2f5bac65a5.tar.gz ports-c1b28a5174b9f724e84a78d42fe60a2f5bac65a5.zip |
Notes
Diffstat (limited to 'ftp')
-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 fa2732d08d6e..756fac8dc0b0 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 520be54cdf54..ef4d67841f9f 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 |