diff options
-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 |