aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-PerlPoint-Converters
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-06-14 12:19:49 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-06-14 12:19:49 +0000
commita7a047aedcb3e4063b70adb7c3eaf80f472965d0 (patch)
treef87836d929b0eb5c5396a01d4839665c42e5f22f /textproc/p5-PerlPoint-Converters
parent37bff1b3d322c690a2eff23dd77b6682c49db752 (diff)
downloadports-a7a047aedcb3e4063b70adb7c3eaf80f472965d0.tar.gz
ports-a7a047aedcb3e4063b70adb7c3eaf80f472965d0.zip
Fix build for perl < 5.8
Reported by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=111456
Diffstat (limited to 'textproc/p5-PerlPoint-Converters')
-rw-r--r--textproc/p5-PerlPoint-Converters/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/textproc/p5-PerlPoint-Converters/Makefile b/textproc/p5-PerlPoint-Converters/Makefile
index 730215ac18a8..fee27a29bfa1 100644
--- a/textproc/p5-PerlPoint-Converters/Makefile
+++ b/textproc/p5-PerlPoint-Converters/Makefile
@@ -30,7 +30,7 @@ MAN3= Bundle::PerlPoint.3 \
.if !defined(NOPORTDOCS)
post-patch:
- @cd ${WRKSRC}; ${MV} pp2html_styles images doc ; ${LN} -s doc/pp2html_styles ; ${LN} -s doc/images
+ @cd ${WRKSRC}; ${CP} -R pp2html_styles images doc
@${PERL} -pi -e 's!../(images|pp2html_styles)!$$1!g' ${WRKSRC}/doc/*.cfg
post-build:
@@ -41,4 +41,10 @@ post-install:
@cd ${WRKSRC}/doc; ${FIND} . | ${CPIO} -padm ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
+.endif
+
+.include <bsd.port.post.mk>