From owner-svn-ports-head@FreeBSD.ORG Thu Feb 6 10:11:48 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 50CE5BD9; Thu, 6 Feb 2014 10:11:48 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 21C701DB5; Thu, 6 Feb 2014 10:11:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s16ABlBa061245; Thu, 6 Feb 2014 10:11:47 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s16ABlgV061243; Thu, 6 Feb 2014 10:11:47 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402061011.s16ABlgV061243@svn.freebsd.org> From: Emanuel Haupt Date: Thu, 6 Feb 2014 10:11:47 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Feb 2014 10:11:48 -0000 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 -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 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