From 17e550ca2fd180b150f6645ced5f3bb45bc32292 Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Tue, 21 Sep 2010 16:08:11 +0000 Subject: Explicitly depend on p5-Digest-MD5 only if PERL_LEVEL < 500703 Explicitly depend on p5-Digest-SHA only if PERL_LEVEL < 501000 --- devel/make++/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'devel/make++') diff --git a/devel/make++/Makefile b/devel/make++/Makefile index 6b2f3b3bdbb6..299bf7d34eed 100644 --- a/devel/make++/Makefile +++ b/devel/make++/Makefile @@ -8,6 +8,7 @@ PORTNAME= make++ PORTVERSION= 1.19 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= SF/makepp/makepp/${PORTVERSION} DISTNAME= ${PORTNAME:S/+/p/g}-${PORTVERSION} @@ -15,11 +16,15 @@ DISTNAME= ${PORTNAME:S/+/p/g}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A drop-in replacement for GNU make -RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 - USE_PERL5= yes DATADIR= ${PREFIX}/share/makepp +.include + +.if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5 +.endif + do-build: @${PERL} -pi -e "s|\@htmldir\@|${PREFIX}/share/makepp/html|g ; \ s|\@datadir\@|${PREFIX}/share/makepp|g" ${WRKSRC}/makepp @@ -35,4 +40,4 @@ do-install: @(cd ${WRKSRC} ; \ ${FIND} . -name "*.mk" -exec ${INSTALL_SCRIPT} {} ${DATADIR} \;) -.include +.include -- cgit v1.2.3