svn commit: r310368 - in head/devel: . p5-namespace-sweep

Anton Berezin tobez at FreeBSD.org
Mon Jan 14 11:37:29 UTC 2013


Author: tobez
Date: Mon Jan 14 11:37:27 2013
New Revision: 310368
URL: http://svnweb.freebsd.org/changeset/ports/310368

Log:
  Add devel/p5-namespace-sweep 0.006, a Perl module to
  sweep up imported subs in your classes.

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Jan 14 11:03:34 2013	(r310367)
+++ head/devel/Makefile	Mon Jan 14 11:37:27 2013	(r310368)
@@ -2925,6 +2925,7 @@
     SUBDIR += p5-mocked
     SUBDIR += p5-namespace-autoclean
     SUBDIR += p5-namespace-clean
+    SUBDIR += p5-namespace-sweep
     SUBDIR += p5-orz
     SUBDIR += p5-parent
     SUBDIR += p5-perlbrew

Added: head/devel/p5-namespace-sweep/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-namespace-sweep/Makefile	Mon Jan 14 11:37:27 2013	(r310368)
@@ -0,0 +1,23 @@
+# Created by: Anton Berezin <tobez at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	namespace-sweep
+PORTVERSION=	0.006
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	tobez at FreeBSD.org
+COMMENT=	Sweep up imported subs in your classes
+
+BUILD_DEPENDS=	p5-B-Hooks-EndOfScope>=0.09:${PORTSDIR}/devel/p5-B-Hooks-EndOfScope \
+		p5-Package-Stash>=0.33:${PORTSDIR}/devel/p5-Package-Stash \
+		p5-Sub-Identify>=0.04:${PORTSDIR}/devel/p5-Sub-Identify \
+		p5-Sub-Name>=0:${PORTSDIR}/devel/p5-Sub-Name
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+PERL_CONFIGURE=	yes
+
+MAN3=	namespace::sweep.3
+
+.include <bsd.port.mk>

Added: head/devel/p5-namespace-sweep/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-namespace-sweep/distinfo	Mon Jan 14 11:37:27 2013	(r310368)
@@ -0,0 +1,2 @@
+SHA256 (namespace-sweep-0.006.tar.gz) = de99ce915ab0f93781580e3433d7dc9c2585a2789627173b280c6030ac0b1953
+SIZE (namespace-sweep-0.006.tar.gz) = 12748

Added: head/devel/p5-namespace-sweep/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-namespace-sweep/pkg-descr	Mon Jan 14 11:37:27 2013	(r310368)
@@ -0,0 +1,9 @@
+Because Perl methods are just regular subroutines, it's difficult to
+tell what's a method and what's just an imported function. As a result,
+imported functions can be called as methods on your objects. This pragma
+will delete imported functions from your class's symbol table, thereby
+ensuring that your interface is as you specified it. However, code
+inside your module will still be able to use the imported functions
+without any problems.
+
+WWW: http://search.cpan.org/dist/namespace-sweep/

Added: head/devel/p5-namespace-sweep/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-namespace-sweep/pkg-plist	Mon Jan 14 11:37:27 2013	(r310368)
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/namespace/sweep/.packlist
+%%SITE_PERL%%/namespace/sweep.pm
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/namespace/sweep
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/namespace
+ at dirrmtry %%SITE_PERL%%/namespace


More information about the svn-ports-all mailing list