aboutsummaryrefslogtreecommitdiff
path: root/devel/make++
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-09-21 16:08:11 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-09-21 16:08:11 +0000
commit17e550ca2fd180b150f6645ced5f3bb45bc32292 (patch)
treee856fa025c5b15bbef21f621e347c51780662a47 /devel/make++
parentb4599e3d63c3a94b17026b18d1f8ac27faac53fc (diff)
downloadports-17e550ca2fd180b150f6645ced5f3bb45bc32292.tar.gz
ports-17e550ca2fd180b150f6645ced5f3bb45bc32292.zip
Notes
Diffstat (limited to 'devel/make++')
-rw-r--r--devel/make++/Makefile11
1 files changed, 8 insertions, 3 deletions
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>