aboutsummaryrefslogtreecommitdiff
path: root/japanese/another-htmllint
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2005-07-26 15:44:15 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2005-07-26 15:44:15 +0000
commit5eb1381a24f03d08b1f0a1c9d8966da186c20c2e (patch)
tree80d06bbd8e13fb5888512a6e94f9016b6b6a7ef8 /japanese/another-htmllint
parent1bd446561d121576eeb00d326fe8f73605e22a97 (diff)
downloadports-5eb1381a24f03d08b1f0a1c9d8966da186c20c2e.tar.gz
ports-5eb1381a24f03d08b1f0a1c9d8966da186c20c2e.zip
Unbreak conditionalized Jcode.pm path.
Reported by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=140161
Diffstat (limited to 'japanese/another-htmllint')
-rw-r--r--japanese/another-htmllint/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/japanese/another-htmllint/Makefile b/japanese/another-htmllint/Makefile
index 5c73272a915c..0f75570113a5 100644
--- a/japanese/another-htmllint/Makefile
+++ b/japanese/another-htmllint/Makefile
@@ -14,7 +14,7 @@ MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Another HTML-lint (all messages are written in Japanese)
RUN_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
- ${SITE_PERL}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
+ ${JCODE}:${PORTSDIR}/japanese/p5-Jcode
USE_ZIP= YES
WRKSRC= ${WRKDIR}
@@ -50,4 +50,12 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500801
+JCODE= ${SITE_PERL}/${PERL_ARCH}/Jcode.pm
+.else
+JCODE= ${SITE_PERL}/Jcode.pm
+.endif
+
+.include <bsd.port.post.mk>