diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-11-13 13:05:16 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-11-13 13:05:16 +0000 |
commit | c9bc64721bde6ecca9c113a2996e075686d4b253 (patch) | |
tree | 6803c7f207e07f336832754437531c58fea3ca5a /lang/p5-Marpa-XS | |
parent | - Add p5-Marpa-PP 0.010 (diff) |
- Add p5-Marpa-XS 0.018
Marpa::XS is the XS 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-XS/
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=285697
Diffstat (limited to 'lang/p5-Marpa-XS')
-rw-r--r-- | lang/p5-Marpa-XS/Makefile | 47 | ||||
-rw-r--r-- | lang/p5-Marpa-XS/distinfo | 2 | ||||
-rw-r--r-- | lang/p5-Marpa-XS/pkg-descr | 7 | ||||
-rw-r--r-- | lang/p5-Marpa-XS/pkg-plist | 15 |
4 files changed, 71 insertions, 0 deletions
diff --git a/lang/p5-Marpa-XS/Makefile b/lang/p5-Marpa-XS/Makefile new file mode 100644 index 000000000000..6108a130299a --- /dev/null +++ b/lang/p5-Marpa-XS/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: p5-Marpa-XS +# Date created: 2011-10-25 +# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Marpa-XS +PORTVERSION= 0.020 +CATEGORIES= lang textproc perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- +DISTNAME= ${PORTNAME}-${PORTVERSION}000 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= XS version of Marpa + +BUILD_DEPENDS= p5-ExtUtils-CBuilder>=0.27:${PORTSDIR}/devel/p5-ExtUtils-CBuilder \ + p5-ExtUtils-PkgConfig>=0:${PORTSDIR}/devel/p5-ExtUtils-PkgConfig \ + p5-Glib2>=1.223:${PORTSDIR}/devel/p5-Glib2 \ + p5-PPI>=1.206:${PORTSDIR}/textproc/p5-PPI \ + p5-Task-Weaken>=0:${PORTSDIR}/devel/p5-Task-Weaken +RUN_DEPENDS= p5-ExtUtils-PkgConfig>=0:${PORTSDIR}/devel/p5-ExtUtils-PkgConfig \ + p5-Glib2>=1.223:${PORTSDIR}/devel/p5-Glib2 \ + 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= 5.10.0+ + +MAN3= Marpa::XS.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 +RUN_DEPENDS+= p5-Data-Dumper>=2.125:${PORTSDIR}/devel/p5-Data-Dumper +TEST_DEPENDS+= p5-Test-Simple>=0.94:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> diff --git a/lang/p5-Marpa-XS/distinfo b/lang/p5-Marpa-XS/distinfo new file mode 100644 index 000000000000..92a694efb6f8 --- /dev/null +++ b/lang/p5-Marpa-XS/distinfo @@ -0,0 +1,2 @@ +SHA256 (Marpa-XS-0.020000.tar.gz) = 6795a7bfc7b693ce86ef29695e0408cf132bff77ea0e32001043d269122ff3df +SIZE (Marpa-XS-0.020000.tar.gz) = 1337355 diff --git a/lang/p5-Marpa-XS/pkg-descr b/lang/p5-Marpa-XS/pkg-descr new file mode 100644 index 000000000000..b25d7d8d5537 --- /dev/null +++ b/lang/p5-Marpa-XS/pkg-descr @@ -0,0 +1,7 @@ +Marpa::XS is the XS 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-XS/ diff --git a/lang/p5-Marpa-XS/pkg-plist b/lang/p5-Marpa-XS/pkg-plist new file mode 100644 index 000000000000..251d9c4e0b0e --- /dev/null +++ b/lang/p5-Marpa-XS/pkg-plist @@ -0,0 +1,15 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/Marpa/XS.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Marpa/XS.pod +%%SITE_PERL%%/%%PERL_ARCH%%/Marpa/XS/Grammar.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Marpa/XS/Installed.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Marpa/XS/Internal.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Marpa/XS/Recognizer.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Marpa/XS/Value.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Marpa/XS/Version.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Marpa/XS/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Marpa/XS/XS.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Marpa/XS/XS.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Marpa/XS +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Marpa +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Marpa/XS +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Marpa |