Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2013 17:10:15 +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: r328969 - in head/devel: . p5-Exporter-Tiny
Message-ID:  <201310011710.r91HAF6S079626@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Oct  1 17:10:14 2013
New Revision: 328969
URL: http://svnweb.freebsd.org/changeset/ports/328969

Log:
  - Add p5-Exporter-Tiny 0.026
  
  Exporter::Tiny supports many of Sub::Exporter's external-facing features
  including renaming imported functions with the -as, -prefix and -suffix options;
  explicit destinations with the into option; and alternative installers with the
  installler option. But it's written in only about 40% as many lines of code and
  with zero non-core dependencies.
  
  Its internal-facing interface is closer to Exporter.pm, with configuration done
  through the @EXPORT, @EXPORT_OK and %EXPORT_TAGS package variables.
  
  Exporter::Tiny performs most of its internal duties (including resolution of tag
  names to sub names, resolution of sub names to coderefs, and installation of
  coderefs into the target package) as method calls, which means they can be
  overridden to provide interesting behaviour.
  
  WWW: http://search.cpan.org/dist/Exporter-Tiny/

Added:
  head/devel/p5-Exporter-Tiny/
  head/devel/p5-Exporter-Tiny/Makefile   (contents, props changed)
  head/devel/p5-Exporter-Tiny/distinfo   (contents, props changed)
  head/devel/p5-Exporter-Tiny/pkg-descr   (contents, props changed)
  head/devel/p5-Exporter-Tiny/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Oct  1 17:06:12 2013	(r328968)
+++ head/devel/Makefile	Tue Oct  1 17:10:14 2013	(r328969)
@@ -1933,6 +1933,7 @@
     SUBDIR += p5-Exporter-Easy
     SUBDIR += p5-Exporter-Lite
     SUBDIR += p5-Exporter-Tidy
+    SUBDIR += p5-Exporter-Tiny
     SUBDIR += p5-ExtUtils-AutoInstall
     SUBDIR += p5-ExtUtils-CBuilder
     SUBDIR += p5-ExtUtils-CChecker

Added: head/devel/p5-Exporter-Tiny/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Exporter-Tiny/Makefile	Tue Oct  1 17:10:14 2013	(r328969)
@@ -0,0 +1,25 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	Exporter-Tiny
+PORTVERSION=	0.026
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Exporter with features of Sub::Exporter but only core dependencies
+
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+USE_PERL5=	configure
+USES=		perl5
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501400
+TEST_DEPENDS+=	p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>

Added: head/devel/p5-Exporter-Tiny/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Exporter-Tiny/distinfo	Tue Oct  1 17:10:14 2013	(r328969)
@@ -0,0 +1,2 @@
+SHA256 (Exporter-Tiny-0.026.tar.gz) = 56bc5afe6e75632dcf0aa5fa848d40ff27a81a7ad40bbc17f8c5521bb7635c0d
+SIZE (Exporter-Tiny-0.026.tar.gz) = 20066

Added: head/devel/p5-Exporter-Tiny/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Exporter-Tiny/pkg-descr	Tue Oct  1 17:10:14 2013	(r328969)
@@ -0,0 +1,15 @@
+Exporter::Tiny supports many of Sub::Exporter's external-facing features
+including renaming imported functions with the -as, -prefix and -suffix options;
+explicit destinations with the into option; and alternative installers with the
+installler option. But it's written in only about 40% as many lines of code and
+with zero non-core dependencies.
+
+Its internal-facing interface is closer to Exporter.pm, with configuration done
+through the @EXPORT, @EXPORT_OK and %EXPORT_TAGS package variables.
+
+Exporter::Tiny performs most of its internal duties (including resolution of tag
+names to sub names, resolution of sub names to coderefs, and installation of
+coderefs into the target package) as method calls, which means they can be
+overridden to provide interesting behaviour.
+
+WWW: http://search.cpan.org/dist/Exporter-Tiny/

Added: head/devel/p5-Exporter-Tiny/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Exporter-Tiny/pkg-plist	Tue Oct  1 17:10:14 2013	(r328969)
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/Exporter/Tiny.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Exporter/Tiny/.packlist
+%%PERL5_MAN3%%/Exporter::Tiny.3.gz
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Exporter/Tiny
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Exporter
+@dirrmtry %%SITE_PERL%%/Exporter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310011710.r91HAF6S079626>