aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2004-03-04 15:11:51 +0800
committernork <nork@FreeBSD.org>2004-03-04 15:11:51 +0800
commit577f67076b93f32912d424fc836c2d2c833d6fdf (patch)
tree1f7258242886ea36628e270c08ffa2b34a8a7f1e /japanese
parent46833d06b5d85bb6cc2ea7d628c04df8fafd6611 (diff)
downloadfreebsd-ports-gnome-577f67076b93f32912d424fc836c2d2c833d6fdf.tar.gz
freebsd-ports-gnome-577f67076b93f32912d424fc836c2d2c833d6fdf.tar.zst
freebsd-ports-gnome-577f67076b93f32912d424fc836c2d2c833d6fdf.zip
Fix build with a SelF-eXtracting archive in CD-ROM.
Approved by: taoka (blanket)
Diffstat (limited to 'japanese')
-rw-r--r--japanese/eijiro-fpw/Makefile10
-rw-r--r--japanese/otojiro-fpw/Makefile10
-rw-r--r--japanese/waeijiro-fpw/Makefile10
3 files changed, 18 insertions, 12 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>
diff --git a/japanese/otojiro-fpw/Makefile b/japanese/otojiro-fpw/Makefile
index efc8643a58e7..269d39736358 100644
--- a/japanese/otojiro-fpw/Makefile
+++ b/japanese/otojiro-fpw/Makefile
@@ -7,7 +7,7 @@
PORTNAME= otojiro-fpw
PORTVERSION= 1.0.a
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= japanese
MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/eijiro/ \
http://member.nifty.ne.jp/~satomii/freepwing/archive/
@@ -29,8 +29,10 @@ SRCFILE?= otojiro.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}
@@ -76,4 +78,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/japanese/waeijiro-fpw/Makefile b/japanese/waeijiro-fpw/Makefile
index 5a6304b9a2b9..f71cd12196ef 100644
--- a/japanese/waeijiro-fpw/Makefile
+++ b/japanese/waeijiro-fpw/Makefile
@@ -7,7 +7,7 @@
PORTNAME= waeijiro-fpw
PORTVERSION= 1.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= japanese
#MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/eijiro/
MASTER_SITES= http://www.dsl.gr.jp/~tf/pool/
@@ -28,8 +28,10 @@ SRCFILE?= waeiji52.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}
@@ -69,4 +71,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>