aboutsummaryrefslogtreecommitdiff
path: root/japanese/eijiro-fpw
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2004-03-04 07:11:51 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2004-03-04 07:11:51 +0000
commit8dee94c6cf417df586d000ce93bc11dd2b439059 (patch)
tree415b334b3ab04db107cba651b7313715abb6851b /japanese/eijiro-fpw
parentf43f16d1a5e44a596a55a8bd2b5c8c3e41f57abc (diff)
downloadports-8dee94c6cf417df586d000ce93bc11dd2b439059.tar.gz
ports-8dee94c6cf417df586d000ce93bc11dd2b439059.zip
Notes
Diffstat (limited to 'japanese/eijiro-fpw')
-rw-r--r--japanese/eijiro-fpw/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/japanese/eijiro-fpw/Makefile b/japanese/eijiro-fpw/Makefile
index 00d4560923a0..165c9d410680 100644
--- a/japanese/eijiro-fpw/Makefile
+++ b/japanese/eijiro-fpw/Makefile
@@ -7,7 +7,7 @@
PORTNAME= eijiro-fpw
PORTVERSION= 1.0b
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= japanese
MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/eijiro/
DISTNAME= ${PORTNAME}${PORTVERSION}-src
@@ -28,8 +28,10 @@ SRCFILE?= eijiro52.txt
# For eijiro included in a book sold by ALC Inc.
# (http://www.alc.co.jp/alcshop/eng/eijiro/)
-.if exists(${DICT_PATH}/eijiro-original)
-BUILD_DEPENDS+= lha:${PORTSDIR}/archivers/lha
+.include <bsd.port.pre.mk>
+DICT_ARCHIVE!= ${ECHO_CMD} ${DICT_PATH}/eijiro-original/*.exe || ${TRUE}
+.if exists(${DICT_ARCHIVE})
+EXTRACT_DEPENDS+= lha:${PORTSDIR}/archivers/lha
CDROM_PATH:= ${DICT_PATH}
DICT_PATH:= ${WRKDIR}
@@ -70,4 +72,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>