From 0ce1adf2564ca9e5267a6e0ffe72e5f1b3e38c4d Mon Sep 17 00:00:00 2001 From: nork Date: Sun, 13 Nov 2005 11:23:30 +0000 Subject: Chase dependency on ja-p5-Jcode. I don't bump PORTREVISION. Because dependency on ja-p5-Jcode is correct, only path isn't correct. This is build phase issue. --- japanese/waeijiro-fpw/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'japanese/waeijiro-fpw') diff --git a/japanese/waeijiro-fpw/Makefile b/japanese/waeijiro-fpw/Makefile index 91159a5d684a..1994b70fa7e6 100644 --- a/japanese/waeijiro-fpw/Makefile +++ b/japanese/waeijiro-fpw/Makefile @@ -18,7 +18,7 @@ COMMENT= WAEIJIRO 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?= waeiji52.txt # For eijiro included in a book sold by ALC Inc. # (http://www.alc.co.jp/alcshop/eng/eijiro/) .include + +.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 -- cgit