diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Exporter-Tidy/Makefile | 23 | ||||
-rw-r--r-- | devel/p5-Exporter-Tidy/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Exporter-Tidy/pkg-descr | 8 | ||||
-rw-r--r-- | devel/p5-Exporter-Tidy/pkg-plist | 5 |
5 files changed, 39 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 4dbd802cf2ea..ac99c45a8250 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -771,6 +771,7 @@ SUBDIR += p5-Event SUBDIR += p5-Exception-Class SUBDIR += p5-Exporter-Lite + SUBDIR += p5-Exporter-Tidy SUBDIR += p5-ExtUtils-CBuilder SUBDIR += p5-ExtUtils-Depends SUBDIR += p5-ExtUtils-MakeMaker diff --git a/devel/p5-Exporter-Tidy/Makefile b/devel/p5-Exporter-Tidy/Makefile new file mode 100644 index 000000000000..48c8e6c766b0 --- /dev/null +++ b/devel/p5-Exporter-Tidy/Makefile @@ -0,0 +1,23 @@ +# ex:ts=8 +# Ports collection makefile for: Exporter::Tidy +# Date created: Sep 24, 2004 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= Exporter-Tidy +PORTVERSION= 0.06 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Exporter +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= Another way of exporting symbols + +PERL_CONFIGURE= yes + +MAN3= Exporter::Tidy.3 + +.include <bsd.port.mk> diff --git a/devel/p5-Exporter-Tidy/distinfo b/devel/p5-Exporter-Tidy/distinfo new file mode 100644 index 000000000000..a32d44004fb1 --- /dev/null +++ b/devel/p5-Exporter-Tidy/distinfo @@ -0,0 +1,2 @@ +MD5 (Exporter-Tidy-0.06.tar.gz) = db1d8a5c74ec8d66c62ab4ad0099a52a +SIZE (Exporter-Tidy-0.06.tar.gz) = 23101 diff --git a/devel/p5-Exporter-Tidy/pkg-descr b/devel/p5-Exporter-Tidy/pkg-descr new file mode 100644 index 000000000000..88c989642e72 --- /dev/null +++ b/devel/p5-Exporter-Tidy/pkg-descr @@ -0,0 +1,8 @@ +This module serves as an easy, clean alternative to Exporter. Unlike Exporter, +it is not subclassed, but it simply exports a custom import() into your +namespace. + +With Exporter::Tidy, you don't need to use any package global in your module. +Even the subs you export can be lexically scoped. + +WWW: http://search.cpan.org/dist/Exporter-Tidy/ diff --git a/devel/p5-Exporter-Tidy/pkg-plist b/devel/p5-Exporter-Tidy/pkg-plist new file mode 100644 index 000000000000..440b9f9db00a --- /dev/null +++ b/devel/p5-Exporter-Tidy/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Exporter/Tidy.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Exporter/Tidy/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Exporter/Tidy +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Exporter 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Exporter 2>/dev/null || true |