aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-11-13 21:04:31 +0800
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-11-13 21:04:31 +0800
commitaadb3e7c336f0fe506b17b283d8963009cbc6e63 (patch)
treecf6313f6e83b7b0f22537b0e63a2cd3ff9488ce6 /lang
parent078ea4221c9be36a8e6dbc6d7cd9f6f63e083ec2 (diff)
downloadfreebsd-ports-gnome-aadb3e7c336f0fe506b17b283d8963009cbc6e63.tar.gz
freebsd-ports-gnome-aadb3e7c336f0fe506b17b283d8963009cbc6e63.tar.zst
freebsd-ports-gnome-aadb3e7c336f0fe506b17b283d8963009cbc6e63.zip
- Add p5-Marpa-PP 0.010
Marpa::PP is the pure Perl version of Marpa. Marpa parses any language whose grammar can be written in BNF. That includes recursive grammars, ambiguous grammars, infinitely ambiguous grammars and grammars with useless or empty productions. WWW: http://search.cpan.org/dist/Marpa-PP/ Feature safe: yes
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/p5-Marpa-PP/Makefile58
-rw-r--r--lang/p5-Marpa-PP/distinfo2
-rw-r--r--lang/p5-Marpa-PP/pkg-descr7
-rw-r--r--lang/p5-Marpa-PP/pkg-plist27
5 files changed, 95 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 688559a7d616..4ddb489aae36 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -213,6 +213,7 @@
SUBDIR += p5-JavaScript-Value-Escape
SUBDIR += p5-List-MoreUtils
SUBDIR += p5-Marpa
+ SUBDIR += p5-Marpa-PP
SUBDIR += p5-Modern-Perl
SUBDIR += p5-Parse-Perl
SUBDIR += p5-Perl6-Subs
diff --git a/lang/p5-Marpa-PP/Makefile b/lang/p5-Marpa-PP/Makefile
new file mode 100644
index 000000000000..5f53496bf8e7
--- /dev/null
+++ b/lang/p5-Marpa-PP/Makefile
@@ -0,0 +1,58 @@
+# New ports collection makefile for: p5-Marpa-PP
+# Date created: 2011-10-25
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Marpa-PP
+PORTVERSION= 0.010
+CATEGORIES= lang textproc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION}000
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Pure Perl version of Marpa
+
+BUILD_DEPENDS= p5-PPI>=1.206:${PORTSDIR}/textproc/p5-PPI \
+ p5-Task-Weaken>=0:${PORTSDIR}/devel/p5-Task-Weaken
+BUILD_DEPENDS= p5-PPI>=1.206:${PORTSDIR}/textproc/p5-PPI \
+ p5-Task-Weaken>=0:${PORTSDIR}/devel/p5-Task-Weaken
+
+TEST_DEPENDS= p5-Test-Weaken>=3.004000:${PORTSDIR}/devel/p5-Test-Weaken
+
+# PERL_CONFIGURE failed on Perl 5.12.4
+PERL_MODBUILD= 5.10.0+
+
+MAN3= Marpa::PP.3 \
+ Marpa::PP::Advanced::Bibliography.3 \
+ Marpa::PP::Advanced::Models.3 \
+ Marpa::PP::Debug.3 \
+ Marpa::PP::Grammar.3 \
+ Marpa::PP::Recognizer.3 \
+ Marpa::PP::Rewrite.3 \
+ Marpa::PP::Semantics.3 \
+ Marpa::PP::Semantics::Infinite.3 \
+ Marpa::PP::Semantics::Null.3 \
+ Marpa::PP::Semantics::Order.3 \
+ Marpa::PP::Support.3 \
+ Marpa::PP::Tracing.3 \
+ Marpa::PP::Vocabulary.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.21:${PORTSDIR}/lang/p5-Scalar-List-Utils
+RUN_DEPENDS+= p5-Scalar-List-Utils>=1.21:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.if ${PERL_LEVEL} < 501200
+BUILD_DEPENDS+= p5-Data-Dumper>=2.125:${PORTSDIR}/devel/p5-Data-Dumper \
+ p5-Storable>=2.21:${PORTSDIR}/devel/p5-Storable
+RUN_DEPENDS+= p5-Data-Dumper>=2.125:${PORTSDIR}/devel/p5-Data-Dumper \
+ p5-Storable>=2.21:${PORTSDIR}/devel/p5-Storable
+TEST_DEPENDS+= p5-Test-Simple>=0.94:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/lang/p5-Marpa-PP/distinfo b/lang/p5-Marpa-PP/distinfo
new file mode 100644
index 000000000000..aa717f69027f
--- /dev/null
+++ b/lang/p5-Marpa-PP/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Marpa-PP-0.010000.tar.gz) = 243f84396cd23b8428e69161141ae68cae12846975ddea58c3e909357edaac4f
+SIZE (Marpa-PP-0.010000.tar.gz) = 242922
diff --git a/lang/p5-Marpa-PP/pkg-descr b/lang/p5-Marpa-PP/pkg-descr
new file mode 100644
index 000000000000..fc7c648bb1ba
--- /dev/null
+++ b/lang/p5-Marpa-PP/pkg-descr
@@ -0,0 +1,7 @@
+Marpa::PP is the pure Perl version of Marpa.
+
+Marpa parses any language whose grammar can be written in BNF. That includes
+recursive grammars, ambiguous grammars, infinitely ambiguous grammars and
+grammars with useless or empty productions.
+
+WWW: http://search.cpan.org/dist/Marpa-PP/
diff --git a/lang/p5-Marpa-PP/pkg-plist b/lang/p5-Marpa-PP/pkg-plist
new file mode 100644
index 000000000000..b439bb6628c7
--- /dev/null
+++ b/lang/p5-Marpa-PP/pkg-plist
@@ -0,0 +1,27 @@
+%%SITE_PERL%%/Marpa/PP.pm
+%%SITE_PERL%%/Marpa/PP.pod
+%%SITE_PERL%%/Marpa/PP/Advanced/Bibliography.pod
+%%SITE_PERL%%/Marpa/PP/Advanced/Models.pod
+%%SITE_PERL%%/Marpa/PP/Callback.pm
+%%SITE_PERL%%/Marpa/PP/Debug.pod
+%%SITE_PERL%%/Marpa/PP/Grammar.pm
+%%SITE_PERL%%/Marpa/PP/Grammar.pod
+%%SITE_PERL%%/Marpa/PP/Installed.pm
+%%SITE_PERL%%/Marpa/PP/Internal.pm
+%%SITE_PERL%%/Marpa/PP/Recognizer.pm
+%%SITE_PERL%%/Marpa/PP/Recognizer.pod
+%%SITE_PERL%%/Marpa/PP/Rewrite.pod
+%%SITE_PERL%%/Marpa/PP/Semantics.pod
+%%SITE_PERL%%/Marpa/PP/Semantics/Infinite.pod
+%%SITE_PERL%%/Marpa/PP/Semantics/Null.pod
+%%SITE_PERL%%/Marpa/PP/Semantics/Order.pod
+%%SITE_PERL%%/Marpa/PP/Slot.pm
+%%SITE_PERL%%/Marpa/PP/Support.pod
+%%SITE_PERL%%/Marpa/PP/Tracing.pod
+%%SITE_PERL%%/Marpa/PP/Value.pm
+%%SITE_PERL%%/Marpa/PP/Version.pm
+%%SITE_PERL%%/Marpa/PP/Vocabulary.pod
+@dirrm %%SITE_PERL%%/Marpa/PP/Semantics
+@dirrm %%SITE_PERL%%/Marpa/PP/Advanced
+@dirrm %%SITE_PERL%%/Marpa/PP
+@dirrmtry %%SITE_PERL%%/Marpa