Lines 37-47
Link Here
|
37 |
# (http://www.alc.co.jp/alcshop/eng/eijiro/) |
37 |
# (http://www.alc.co.jp/alcshop/eng/eijiro/) |
38 |
# Avoid copying uncompressed srcfile, it is > 50Mb |
38 |
# Avoid copying uncompressed srcfile, it is > 50Mb |
39 |
|
39 |
|
40 |
.if exists(${WRKDIR}/${SRCFILE}) |
40 |
.if exists(${DICT_PATH}/${SRCFILE}) # uncompressed |
41 |
MAKE_ARGS+= SRCFILE=${WRKDIR}/${SRCFILE} |
41 |
SOURCE_FILE= ${DICT_PATH}/${SRCFILE} |
42 |
.else |
42 |
.else # assume decompression works |
43 |
MAKE_ARGS+= SRCFILE=${DICT_PATH}/${SRCFILE} |
43 |
SOURCE_FILE= ${WRKDIR}/${SRCFILE} |
44 |
.endif |
44 |
.endif |
|
|
45 |
MAKE_ARGS+= SRCFILE=${SOURCE_FILE:Q} |
45 |
|
46 |
|
46 |
OPTIONS_DEFINE= DOCS |
47 |
OPTIONS_DEFINE= DOCS |
47 |
|
48 |
|
Lines 50-56
Link Here
|
50 |
post-extract: |
51 |
post-extract: |
51 |
@if [ -f ${DICT_PATH}/eijiro-original/*.exe ]; then \ |
52 |
@if [ -f ${DICT_PATH}/eijiro-original/*.exe ]; then \ |
52 |
lha xiw=${WRKDIR} ${DICT_PATH}/eijiro-original/*.exe '*/${SRCFILE}'; \ |
53 |
lha xiw=${WRKDIR} ${DICT_PATH}/eijiro-original/*.exe '*/${SRCFILE}'; \ |
53 |
elif [ ! -f ${DICT_PATH}/${SRCFILE} ]; then \ |
54 |
fi |
|
|
55 |
@if [ ! -f ${SOURCE_FILE:Q} ]; then \ |
54 |
${ECHO} "###################################################"; \ |
56 |
${ECHO} "###################################################"; \ |
55 |
${ECHO} "I cannot find a file ${DICT_PATH}/${SRCFILE}"; \ |
57 |
${ECHO} "I cannot find a file ${DICT_PATH}/${SRCFILE}"; \ |
56 |
${ECHO} "Specify the Eijiro Dictionary file with the full path"; \ |
58 |
${ECHO} "Specify the Eijiro Dictionary file with the full path"; \ |