From 4f7cd760657819d2cc536d48983953b98e2fee20 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> Date: Sat, 5 Nov 2011 15:36:27 +0000 Subject: - Add p5-Pragmatic 1.7 Pragmatic implements a default import method for processing pragmata before passing the rest of the import to Exporter. Perl automatically calls the import method when processing a use statement for a module. Modules and use are documented in perlfunc and perlmod. (Do not confuse Pragmatic with pragmatic modules, such as less, strict and the like. They are standalone pragmata, and are not associated with any other module.) WWW: http://search.cpan.org/dist/Pragmatic/ --- devel/p5-Pragmatic/Makefile | 23 +++++++++++++++++++++++ devel/p5-Pragmatic/distinfo | 2 ++ devel/p5-Pragmatic/pkg-descr | 11 +++++++++++ devel/p5-Pragmatic/pkg-plist | 3 +++ 4 files changed, 39 insertions(+) create mode 100644 devel/p5-Pragmatic/Makefile create mode 100644 devel/p5-Pragmatic/distinfo create mode 100644 devel/p5-Pragmatic/pkg-descr create mode 100644 devel/p5-Pragmatic/pkg-plist (limited to 'devel/p5-Pragmatic') diff --git a/devel/p5-Pragmatic/Makefile b/devel/p5-Pragmatic/Makefile new file mode 100644 index 000000000000..4fae54890ff2 --- /dev/null +++ b/devel/p5-Pragmatic/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: p5-Pragmatic +# Date created: 2011-11-05 +# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Pragmatic +PORTVERSION= 1.7 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:BINKLEY +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Adds pragmata to Exporter + +PERL_CONFIGURE= yes + +MAN3= Pragmatic.3 + +.include <bsd.port.pre.mk> +.include <bsd.port.post.mk> diff --git a/devel/p5-Pragmatic/distinfo b/devel/p5-Pragmatic/distinfo new file mode 100644 index 000000000000..2e1f29ffd228 --- /dev/null +++ b/devel/p5-Pragmatic/distinfo @@ -0,0 +1,2 @@ +SHA256 (Pragmatic-1.7.tar.gz) = aeb1e898420a4e1753b7027fa034bfd6a5cd1db7f31e5329d0b48a551ab451b9 +SIZE (Pragmatic-1.7.tar.gz) = 5382 diff --git a/devel/p5-Pragmatic/pkg-descr b/devel/p5-Pragmatic/pkg-descr new file mode 100644 index 000000000000..8eafd7be51b0 --- /dev/null +++ b/devel/p5-Pragmatic/pkg-descr @@ -0,0 +1,11 @@ +Pragmatic implements a default import method for processing pragmata before +passing the rest of the import to Exporter. + +Perl automatically calls the import method when processing a use statement for a +module. Modules and use are documented in perlfunc and perlmod. + +(Do not confuse Pragmatic with pragmatic modules, such as less, strict and the +like. They are standalone pragmata, and are not associated with any other +module.) + +WWW: http://search.cpan.org/dist/Pragmatic/ diff --git a/devel/p5-Pragmatic/pkg-plist b/devel/p5-Pragmatic/pkg-plist new file mode 100644 index 000000000000..acd094c025d8 --- /dev/null +++ b/devel/p5-Pragmatic/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_PERL%%/Pragmatic.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Pragmatic/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Pragmatic -- cgit v1.2.3