freebsd-ports/lang/p5-Marpa-XS/Makefile
Sunpoet Po-Chuan Hsieh c9bc64721b - 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
2011-11-13 13:05:16 +00:00

48 lines
1.5 KiB
Makefile

# 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>