aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2007-07-28 18:05:51 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2007-07-28 18:05:51 +0000
commit769562f7921418443681a446dd9f9353147a5df7 (patch)
tree34da9ed4b9fba98a2fb70443ffea792604e7baf1
parentcd781f7b1ea8b5fcb1d187bcb60d137ebd886963 (diff)
downloadports-769562f7921418443681a446dd9f9353147a5df7.tar.gz
ports-769562f7921418443681a446dd9f9353147a5df7.zip
Add p5-Perl6-Rules, this module implements a close simulation of the Perl 6
rule and grammar constructs, translating them back to Perl 5 regexes via a source filter. (And hence suffers from all the usual limitations of a source filter, including the ability to translate complex code spectacularly wrongly). Approved by: rafan (mentor, implicit)
Notes
Notes: svn path=/head/; revision=196487
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Perl6-Rules/Makefile26
-rw-r--r--devel/p5-Perl6-Rules/distinfo3
-rw-r--r--devel/p5-Perl6-Rules/pkg-descr6
-rw-r--r--devel/p5-Perl6-Rules/pkg-plist5
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 5d51bd3348b7..0699be814f74 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1414,6 +1414,7 @@
SUBDIR += p5-Perl6-Export-Attrs
SUBDIR += p5-Perl6-Form
SUBDIR += p5-Perl6-Junction
+ SUBDIR += p5-Perl6-Rules
SUBDIR += p5-Perl6-Say
SUBDIR += p5-PerlIO-eol
SUBDIR += p5-PerlIO-via-MD5
diff --git a/devel/p5-Perl6-Rules/Makefile b/devel/p5-Perl6-Rules/Makefile
new file mode 100644
index 000000000000..551f82785c2a
--- /dev/null
+++ b/devel/p5-Perl6-Rules/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: devel/p5-Perl6-Rules
+# Date created: 2007/07/28
+# Whom: chinsan
+#
+# $FreeBSD$
+#
+
+PORTNAME= Perl6-Rules
+PORTVERSION= 0.03
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Perl6
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= chinsan@FreeBSD.org
+COMMENT= Implements (most of) the Perl 6 regex syntax
+
+BUILD_DEPENDS= p5-Attribute-Handlers>=0:${PORTSDIR}/devel/p5-Attribute-Handlers \
+ p5-Filter-Simple>=0:${PORTSDIR}/textproc/p5-Filter-Simple
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Perl6::Rules.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Perl6-Rules/distinfo b/devel/p5-Perl6-Rules/distinfo
new file mode 100644
index 000000000000..8a85d1fee517
--- /dev/null
+++ b/devel/p5-Perl6-Rules/distinfo
@@ -0,0 +1,3 @@
+MD5 (Perl6-Rules-0.03.tar.gz) = fa9ce190ce4d085234423941d73bf1c5
+SHA256 (Perl6-Rules-0.03.tar.gz) = ad4924f400e234db2835e93a54c84112d8d1056cf2a515c1879e17a763dd6aa3
+SIZE (Perl6-Rules-0.03.tar.gz) = 125685
diff --git a/devel/p5-Perl6-Rules/pkg-descr b/devel/p5-Perl6-Rules/pkg-descr
new file mode 100644
index 000000000000..168c0a133bfe
--- /dev/null
+++ b/devel/p5-Perl6-Rules/pkg-descr
@@ -0,0 +1,6 @@
+This module implements a close simulation of the Perl 6 rule and grammar
+constructs, translating them back to Perl 5 regexes via a source filter.
+(And hence suffers from all the usual limitations of a source filter,
+including the ability to translate complex code spectacularly wrongly).
+
+WWW: http://search.cpan.org/dist/Perl6-Rules/
diff --git a/devel/p5-Perl6-Rules/pkg-plist b/devel/p5-Perl6-Rules/pkg-plist
new file mode 100644
index 000000000000..c56f44a51de2
--- /dev/null
+++ b/devel/p5-Perl6-Rules/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6/Rules/.packlist
+%%SITE_PERL%%/Perl6/Rules.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6/Rules
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6
+@dirrmtry %%SITE_PERL%%/Perl6