Fix build with a SelF-eXtracting archive in CD-ROM.

Approved by:	taoka (blanket)
This commit is contained in:
Norikatsu Shigemura 2004-03-04 07:11:51 +00:00
parent f43f16d1a5
commit 8dee94c6cf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=102884
3 changed files with 18 additions and 12 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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>