Date: Sun, 18 Jan 2015 10:27:41 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r377290 - in head/devel: . p5-Xporter Message-ID: <201501181027.t0IARfRM041880@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Jan 18 10:27:41 2015 New Revision: 377290 URL: https://svnweb.freebsd.org/changeset/ports/377290 QAT: https://qat.redports.org/buildarchive/r377290/ Log: - Add p5-Xporter 0.1.2 Xporter provides EXPORT functionality similar to Exporter with some different rules to simplify common cases. The primary difference, in Xporter is that the default EXPORT list remains the default EXPORT list unless the user specifically asks for it to not be included, whereas in Exporter, asking for any additional exports from the EXPORT_OK list, clears the default EXPORT list. Xporter makes it easy to reset or clear the default so that choice is left to the user. To reset the default EXPORT list to empty, a bare minus ('-') or logical-not sign ('!') is placed as the first parameter in the client's import list. WWW: http://search.cpan.org/dist/Xporter/ Added: head/devel/p5-Xporter/ head/devel/p5-Xporter/Makefile (contents, props changed) head/devel/p5-Xporter/distinfo (contents, props changed) head/devel/p5-Xporter/pkg-descr (contents, props changed) head/devel/p5-Xporter/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Jan 18 10:26:58 2015 (r377289) +++ head/devel/Makefile Sun Jan 18 10:27:41 2015 (r377290) @@ -3156,6 +3156,7 @@ SUBDIR += p5-XML-Pastor SUBDIR += p5-XS-Object-Magic SUBDIR += p5-XSLoader + SUBDIR += p5-Xporter SUBDIR += p5-YAML-AppConfig SUBDIR += p5-Yada-Yada-Yada SUBDIR += p5-ZConf-GUI Added: head/devel/p5-Xporter/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Xporter/Makefile Sun Jan 18 10:27:41 2015 (r377290) @@ -0,0 +1,29 @@ +# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Xporter +PORTVERSION= 0.1.2 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:LAWALSH +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Alternative Exporter with persistant defaults and auto-ISA + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-mem>=0.4.5:${PORTSDIR}/devel/p5-mem +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USE_PERL5= configure +USES= perl5 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 502000 +BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.86:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker +.endif + +.include <bsd.port.post.mk> Added: head/devel/p5-Xporter/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Xporter/distinfo Sun Jan 18 10:27:41 2015 (r377290) @@ -0,0 +1,2 @@ +SHA256 (Xporter-0.1.2.tar.gz) = 0e306d43da76ec2f7dac9f6bfe3827faa49e3b9665a2bf47dc57c35b61ca30f8 +SIZE (Xporter-0.1.2.tar.gz) = 14114 Added: head/devel/p5-Xporter/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Xporter/pkg-descr Sun Jan 18 10:27:41 2015 (r377290) @@ -0,0 +1,15 @@ +Xporter provides EXPORT functionality similar to Exporter with some different +rules to simplify common cases. + +The primary difference, in Xporter is that the default EXPORT list remains the +default EXPORT list unless the user specifically asks for it to not be included, +whereas in Exporter, asking for any additional exports from the EXPORT_OK list, +clears the default EXPORT list. + +Xporter makes it easy to reset or clear the default so that choice is left to +the user. + +To reset the default EXPORT list to empty, a bare minus ('-') or logical-not +sign ('!') is placed as the first parameter in the client's import list. + +WWW: http://search.cpan.org/dist/Xporter/ Added: head/devel/p5-Xporter/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Xporter/pkg-plist Sun Jan 18 10:27:41 2015 (r377290) @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Xporter.pm +%%PERL5_MAN3%%/Xporter.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501181027.t0IARfRM041880>