aboutsummaryrefslogtreecommitdiff
path: root/converters/convmv
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-10-31 01:16:55 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-10-31 01:16:55 +0000
commitb67ef76469fd334a4080ca82454ffb4a5d3a0f7d (patch)
tree510f7b0b16bfbd1d4dff5b7eab2ac60154af2ccb /converters/convmv
parent55c910661e1da34c19eef81f4786b22582ec33b3 (diff)
downloadports-b67ef76469fd334a4080ca82454ffb4a5d3a0f7d.tar.gz
ports-b67ef76469fd334a4080ca82454ffb4a5d3a0f7d.zip
- Fix dependency for Perl < 5.7.1
PR: ports/104671, ports/104672 Submitted by: Jin-Shan Tseng, Gea-Suan Lin Approved by: Kuang-che Wu (maintainer)
Notes
Notes: svn path=/head/; revision=175577
Diffstat (limited to 'converters/convmv')
-rw-r--r--converters/convmv/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/converters/convmv/Makefile b/converters/convmv/Makefile
index 50c7668c6ef4..656949560531 100644
--- a/converters/convmv/Makefile
+++ b/converters/convmv/Makefile
@@ -7,6 +7,7 @@
PORTNAME= convmv
PORTVERSION= 1.10
+PORTREVISION= 1
CATEGORIES= converters perl5
MASTER_SITES= http://j3e.de/linux/convmv/
@@ -18,4 +19,10 @@ PLIST_FILES= bin/convmv
MAN1= convmv.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500701
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Encode.pm:${PORTSDIR}/converters/p5-Encode
+.endif
+
+.include <bsd.port.post.mk>