aboutsummaryrefslogtreecommitdiff
path: root/lang/p5-Expect/Makefile
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2014-09-04 14:25:16 +0000
committerFrederic Culot <culot@FreeBSD.org>2014-09-04 14:25:16 +0000
commit1598af4254db67b0dceaffe37a075f2fa30b68b9 (patch)
tree3100b954e53a568c43f89e45c2109b79afbc5d5a /lang/p5-Expect/Makefile
parentf23aed7bde4b7e82cbb2943a38f6f60f51038567 (diff)
Notes
Diffstat (limited to 'lang/p5-Expect/Makefile')
-rw-r--r--lang/p5-Expect/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/lang/p5-Expect/Makefile b/lang/p5-Expect/Makefile
index 45cf8c0f8bc5..ad09248bb600 100644
--- a/lang/p5-Expect/Makefile
+++ b/lang/p5-Expect/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= Expect
-PORTVERSION= 1.30
+PORTVERSION= 1.31
CATEGORIES= lang perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -9,11 +9,19 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module inspired by the Tcl version of Expect
-BUILD_DEPENDS= p5-IO-Tty>=1.11:${PORTSDIR}/devel/p5-IO-Tty \
- p5-ExtUtils-MakeMaker>=6.64:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= p5-IO-Tty>=1.11:${PORTSDIR}/devel/p5-IO-Tty
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501800
+BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.64:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
+.endif
+
+.include <bsd.port.post.mk>