aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-11-13 21:04:04 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-11-13 21:04:04 +0800
commit09559e502e686fb2309b2539229d4fb45aa321ba (patch)
tree81e30a0be4f747273582ca060e9d95d49215aa69
parent67416b6873ce146becbc64ae01388dc214735cc2 (diff)
downloadfreebsd-ports-gnome-09559e502e686fb2309b2539229d4fb45aa321ba.tar.gz
freebsd-ports-gnome-09559e502e686fb2309b2539229d4fb45aa321ba.tar.zst
freebsd-ports-gnome-09559e502e686fb2309b2539229d4fb45aa321ba.zip
- Add p5-Marpa 0.206
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/ Feature safe: yes
-rw-r--r--lang/Makefile1
-rw-r--r--lang/p5-Marpa/Makefile46
-rw-r--r--lang/p5-Marpa/distinfo2
-rw-r--r--lang/p5-Marpa/pkg-descr5
-rw-r--r--lang/p5-Marpa/pkg-plist46
5 files changed, 100 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 10379fa3e8bb..688559a7d616 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -212,6 +212,7 @@
SUBDIR += p5-JavaScript-Squish
SUBDIR += p5-JavaScript-Value-Escape
SUBDIR += p5-List-MoreUtils
+ SUBDIR += p5-Marpa
SUBDIR += p5-Modern-Perl
SUBDIR += p5-Parse-Perl
SUBDIR += p5-Perl6-Subs
diff --git a/lang/p5-Marpa/Makefile b/lang/p5-Marpa/Makefile
new file mode 100644
index 000000000000..d9036bcd1f0b
--- /dev/null
+++ b/lang/p5-Marpa/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: p5-Marpa
+# Date created: 2011-10-25
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Marpa
+PORTVERSION= 0.206
+CATEGORIES= lang textproc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION}000
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Parse any Language You Can Describe in BNF
+
+BUILD_DEPENDS= p5-HTML-Parser>=3.64:${PORTSDIR}/www/p5-HTML-Parser \
+ p5-PPI>=1.206:${PORTSDIR}/textproc/p5-PPI
+RUN_DEPENDS= p5-HTML-Parser>=3.64:${PORTSDIR}/www/p5-HTML-Parser \
+ p5-PPI>=1.206:${PORTSDIR}/textproc/p5-PPI
+
+PERL_CONFIGURE= 5.10.0+
+
+MAN3= Marpa::Advanced::Algorithm.3 \
+ Marpa::Advanced::Bibliography.3 \
+ Marpa::Advanced::Implementation.3 \
+ Marpa::Advanced::Models.3 \
+ Marpa::Deprecated::Bocage.3 \
+ Marpa::Deprecated::Evaluator.3 \
+ Marpa::Deprecated::Implementation.3 \
+ Marpa::Grammar.3 \
+ Marpa::Marpa.3 \
+ Marpa::Parse_Terms.3 \
+ Marpa::Recognizer.3 \
+ Marpa::Semantics.3 \
+ Marpa::Support.3 \
+ Marpa::Tracing.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501200
+TEST_DEPENDS+= p5-Test-Simple>=0.94:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/lang/p5-Marpa/distinfo b/lang/p5-Marpa/distinfo
new file mode 100644
index 000000000000..5b488da69abf
--- /dev/null
+++ b/lang/p5-Marpa/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Marpa-0.206000.tar.gz) = 2aa73319f2ae12274bf3b97e089b0385169270dccb3a6663ebcd68d13fbbed4b
+SIZE (Marpa-0.206000.tar.gz) = 804437
diff --git a/lang/p5-Marpa/pkg-descr b/lang/p5-Marpa/pkg-descr
new file mode 100644
index 000000000000..aecd8d0ddbc3
--- /dev/null
+++ b/lang/p5-Marpa/pkg-descr
@@ -0,0 +1,5 @@
+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/
diff --git a/lang/p5-Marpa/pkg-plist b/lang/p5-Marpa/pkg-plist
new file mode 100644
index 000000000000..4ee67e72ea55
--- /dev/null
+++ b/lang/p5-Marpa/pkg-plist
@@ -0,0 +1,46 @@
+%%SITE_PERL%%/Marpa.pm
+%%SITE_PERL%%/Marpa/Advanced/Algorithm.pod
+%%SITE_PERL%%/Marpa/Advanced/Bibliography.pod
+%%SITE_PERL%%/Marpa/Advanced/Implementation.pod
+%%SITE_PERL%%/Marpa/Advanced/Models.pod
+%%SITE_PERL%%/Marpa/Callback.pm
+%%SITE_PERL%%/Marpa/Deprecated/Bocage.pod
+%%SITE_PERL%%/Marpa/Deprecated/Evaluator.pod
+%%SITE_PERL%%/Marpa/Deprecated/Implementation.pod
+%%SITE_PERL%%/Marpa/Display.pm
+%%SITE_PERL%%/Marpa/Evaluator.pm
+%%SITE_PERL%%/Marpa/Grammar.pm
+%%SITE_PERL%%/Marpa/Grammar.pod
+%%SITE_PERL%%/Marpa/Internal.pm
+%%SITE_PERL%%/Marpa/Internal/Carp_Not.pm
+%%SITE_PERL%%/Marpa/MDL.pm
+%%SITE_PERL%%/Marpa/MDL/Internal/Actions.pm
+%%SITE_PERL%%/Marpa/MDL/Symbol.pm
+%%SITE_PERL%%/Marpa/MDL/example/equation.pm
+%%SITE_PERL%%/Marpa/MDL/example/null_value.pm
+%%SITE_PERL%%/Marpa/MDLex.pm
+%%SITE_PERL%%/Marpa/MDLex/Internal/Quotes.pm
+%%SITE_PERL%%/Marpa/Marpa.pod
+%%SITE_PERL%%/Marpa/Offset.pm
+%%SITE_PERL%%/Marpa/Parse_Terms.pod
+%%SITE_PERL%%/Marpa/Perl.pm
+%%SITE_PERL%%/Marpa/Recce_Value.pm
+%%SITE_PERL%%/Marpa/Recognizer.pm
+%%SITE_PERL%%/Marpa/Recognizer.pod
+%%SITE_PERL%%/Marpa/Semantics.pod
+%%SITE_PERL%%/Marpa/Support.pod
+%%SITE_PERL%%/Marpa/Test.pm
+%%SITE_PERL%%/Marpa/Test/Util.pm
+%%SITE_PERL%%/Marpa/Tracing.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Marpa/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Marpa
+@dirrm %%SITE_PERL%%/Marpa/Test
+@dirrm %%SITE_PERL%%/Marpa/MDLex/Internal
+@dirrm %%SITE_PERL%%/Marpa/MDLex
+@dirrm %%SITE_PERL%%/Marpa/MDL/example
+@dirrm %%SITE_PERL%%/Marpa/MDL/Internal
+@dirrm %%SITE_PERL%%/Marpa/MDL
+@dirrm %%SITE_PERL%%/Marpa/Internal
+@dirrm %%SITE_PERL%%/Marpa/Deprecated
+@dirrm %%SITE_PERL%%/Marpa/Advanced
+@dirrmtry %%SITE_PERL%%/Marpa