aboutsummaryrefslogtreecommitdiff
path: root/japanese/eijiro-fpw
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 /japanese/eijiro-fpw
parent3263f4ad8111fd920f46b2a5295236ca303f2c07 (diff)
downloadports-14c26b1a595f6c025f71833327dd31dc159e4e62.tar.gz
ports-14c26b1a595f6c025f71833327dd31dc159e4e62.zip
Notes
Diffstat (limited to 'japanese/eijiro-fpw')
-rw-r--r--japanese/eijiro-fpw/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/japanese/eijiro-fpw/Makefile b/japanese/eijiro-fpw/Makefile
index fb35842a3f47..c22b2c45381f 100644
--- a/japanese/eijiro-fpw/Makefile
+++ b/japanese/eijiro-fpw/Makefile
@@ -17,7 +17,7 @@ COMMENT= EIJIRO English - Japanese Dictionary (EPWING V1 format)
EXTRACT_DEPENDS=${LOCALBASE}/share/freepwing/fpwutils.mk:${PORTSDIR}/japanese/freepwing
BUILD_DEPENDS= ${LOCALBASE}/libexec/freepwing/catdump:${PORTSDIR}/japanese/freepwing \
- ${SITE_PERL}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
+ ${JCODE}:${PORTSDIR}/japanese/p5-Jcode
RESTRICTED= "The original dictionary is not free"
NO_PACKAGE= "The original dictionary is not free"
@@ -29,6 +29,13 @@ SRCFILE?= eijiro52.txt
# For eijiro included in a book sold by ALC Inc.
# (http://www.alc.co.jp/alcshop/eng/eijiro/)
.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500801
+JCODE= ${SITE_PERL}/${PERL_ARCH}/Jcode.pm
+.else
+JCODE= ${SITE_PERL}/Jcode.pm
+.endif
+
DICT_ARCHIVE!= ${ECHO_CMD} ${DICT_PATH}/eijiro-original/*.exe || ${TRUE}
.if exists(${DICT_ARCHIVE})
EXTRACT_DEPENDS+= lha:${PORTSDIR}/archivers/lha