aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2005-11-13 11:23:30 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2005-11-13 11:23:30 +0000
commit14c26b1a595f6c025f71833327dd31dc159e4e62 (patch)
tree0ae628d1c7b53de8d7a3c8d98302f35ac9040b9e /irc
parent3263f4ad8111fd920f46b2a5295236ca303f2c07 (diff)
downloadports-14c26b1a595f6c025f71833327dd31dc159e4e62.tar.gz
ports-14c26b1a595f6c025f71833327dd31dc159e4e62.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/keitairc/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/irc/keitairc/Makefile b/irc/keitairc/Makefile
index 5553fe690e6c..962bc897ca94 100644
--- a/irc/keitairc/Makefile
+++ b/irc/keitairc/Makefile
@@ -15,7 +15,7 @@ EXTRACT_SUFX= #empty
MAINTAINER= matusita@FreeBSD.org
COMMENT=IRC proxy for mobilephone that have a web interface
-RUN_DEPENDS= ${SITE_PERL}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode \
+RUN_DEPENDS= ${JCODE}:${PORTSDIR}/japanese/p5-Jcode \
${SITE_PERL}/POE/Component/IRC.pm:${PORTSDIR}/irc/p5-POE-Component-IRC \
${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
${SITE_PERL}/HTTP/Response.pm:${PORTSDIR}/www/p5-libwww \
@@ -36,4 +36,12 @@ do-patch:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/keitairc ${PREFIX}/bin
-.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>