summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-11-05 16:40:10 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-11-05 16:40:10 +0000
commite328cf3360bc303c5a41c4bbe8c4137a02dacb9b (patch)
tree1bec1cca7626fce1901e376708d653fe624f246b
parent- Update to 0.34 (diff)
- Add p5-Perl6-Slurp 0.03
Perl6::Slurp implements the Perl 6 'slurp' built-in. slurp takes a filename, a filehandle, a typeglob reference, an IO::File object, or a scalar reference, and converts it to an input stream if necessary, and reads in the entire stream. If slurp fails to set up or read the stream, it throws an exception. WWW: http://search.cpan.org/dist/Perl6-Slurp/
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Perl6-Slurp/Makefile25
-rw-r--r--devel/p5-Perl6-Slurp/distinfo2
-rw-r--r--devel/p5-Perl6-Slurp/pkg-descr6
-rw-r--r--devel/p5-Perl6-Slurp/pkg-plist5
5 files changed, 39 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 9fa8dc90dfd5..11976be3de87 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2207,6 +2207,7 @@
SUBDIR += p5-Perl6-Junction
SUBDIR += p5-Perl6-Rules
SUBDIR += p5-Perl6-Say
+ SUBDIR += p5-Perl6-Slurp
SUBDIR += p5-PerlIO-Layers
SUBDIR += p5-PerlIO-Util
SUBDIR += p5-PerlIO-eol
diff --git a/devel/p5-Perl6-Slurp/Makefile b/devel/p5-Perl6-Slurp/Makefile
new file mode 100644
index 000000000000..78e6e00c2d42
--- /dev/null
+++ b/devel/p5-Perl6-Slurp/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: p5-Perl6-Slurp
+# Date created: 2011-11-05
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Perl6-Slurp
+PORTVERSION= 0.03
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Implements the Perl6 'slurp' built-in
+
+BUILD_DEPENDS= p5-Perl6-Export>=0.07:${PORTSDIR}/devel/p5-Perl6-Export
+RUN_DEPENDS= p5-Perl6-Export>=0.07:${PORTSDIR}/devel/p5-Perl6-Export
+
+PERL_CONFIGURE= yes
+
+MAN3= Perl6::Slurp.3
+
+.include <bsd.port.pre.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Perl6-Slurp/distinfo b/devel/p5-Perl6-Slurp/distinfo
new file mode 100644
index 000000000000..fb57d84e4695
--- /dev/null
+++ b/devel/p5-Perl6-Slurp/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Perl6-Slurp-0.03.tar.gz) = 06e473478c6c8fc770ba34faae8fe281eb53d6c587201dae537c81ce5ac04135
+SIZE (Perl6-Slurp-0.03.tar.gz) = 7120
diff --git a/devel/p5-Perl6-Slurp/pkg-descr b/devel/p5-Perl6-Slurp/pkg-descr
new file mode 100644
index 000000000000..8b96b7428ba0
--- /dev/null
+++ b/devel/p5-Perl6-Slurp/pkg-descr
@@ -0,0 +1,6 @@
+Perl6::Slurp implements the Perl 6 'slurp' built-in. slurp takes a filename, a
+filehandle, a typeglob reference, an IO::File object, or a scalar reference,
+and converts it to an input stream if necessary, and reads in the entire stream.
+If slurp fails to set up or read the stream, it throws an exception.
+
+WWW: http://search.cpan.org/dist/Perl6-Slurp/
diff --git a/devel/p5-Perl6-Slurp/pkg-plist b/devel/p5-Perl6-Slurp/pkg-plist
new file mode 100644
index 000000000000..d57196cd1e33
--- /dev/null
+++ b/devel/p5-Perl6-Slurp/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Perl6/Slurp.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6/Slurp/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6/Slurp
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6
+@dirrmtry %%SITE_PERL%%/Perl6