Date: Thu, 6 Feb 2014 10:11:47 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342996 - head/ftp/p5-POE-Component-Client-FTP Message-ID: <201402061011.s16ABlgV061243@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Thu Feb 6 10:11:47 2014 New Revision: 342996 URL: http://svnweb.freebsd.org/changeset/ports/342996 QAT: https://qat.redports.org/buildarchive/r342996/ Log: Convert to new OPTIONS framework and support staging. Modified: head/ftp/p5-POE-Component-Client-FTP/Makefile head/ftp/p5-POE-Component-Client-FTP/pkg-plist Modified: head/ftp/p5-POE-Component-Client-FTP/Makefile ============================================================================== --- head/ftp/p5-POE-Component-Client-FTP/Makefile Thu Feb 6 10:04:10 2014 (r342995) +++ head/ftp/p5-POE-Component-Client-FTP/Makefile Thu Feb 6 10:11:47 2014 (r342996) @@ -13,18 +13,20 @@ COMMENT= Implements an FTP client POE Co 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> Modified: head/ftp/p5-POE-Component-Client-FTP/pkg-plist ============================================================================== --- head/ftp/p5-POE-Component-Client-FTP/pkg-plist Thu Feb 6 10:04:10 2014 (r342995) +++ head/ftp/p5-POE-Component-Client-FTP/pkg-plist Thu Feb 6 10:11:47 2014 (r342996) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402061011.s16ABlgV061243>