1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/lang/p5-Marpa-PP/Makefile
Andrej Zverev 10a2b4693f - Set default perl version for ports which currently using
(5.x+ and x < 12) scheme.

Approved by: bapt@ (portmgr@)
2012-12-16 06:12:28 +00:00

60 lines
1.7 KiB
Makefile

# 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.014
CATEGORIES= lang textproc perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:JKEGL
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= yes
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>