aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-haddock
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-09-14 08:54:09 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-09-14 08:54:09 +0000
commit00011754827d81b34690bd3a6b1956b607fe3030 (patch)
tree3addf03e6db034d200c6deb2d6a50d274a50f122 /devel/hs-haddock
parentd084eb37697745206118316fa901ce8975c8e4e2 (diff)
downloadports-00011754827d81b34690bd3a6b1956b607fe3030.tar.gz
ports-00011754827d81b34690bd3a6b1956b607fe3030.zip
Notes
Diffstat (limited to 'devel/hs-haddock')
-rw-r--r--devel/hs-haddock/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/hs-haddock/Makefile b/devel/hs-haddock/Makefile
index 4a2db59d5893..ec7d60a5ff93 100644
--- a/devel/hs-haddock/Makefile
+++ b/devel/hs-haddock/Makefile
@@ -30,6 +30,12 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
PLIST_SUB+= HADDOCK_VERSION=${PORTVERSION}
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= Needs perl >= 5.6
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/share/sgml/catalog||' ${WRKSRC}/configure
@@ -44,4 +50,4 @@ post-install:
@(cd ${WRKSRC}/haddock/doc && ${CP} -R haddock ${PREFIX}/share/doc)
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>