diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-09-14 17:47:20 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-09-14 17:47:20 +0000 |
commit | 91da8de5b197039f48ed17de59b4cb3984012856 (patch) | |
tree | 832e4a073b8e4fa7ec69e6926ff80b7c4d89d584 /japanese/today | |
parent | 0eab292e0eb1e8bfdbf7fb0f5b61d696c5270d93 (diff) | |
download | ports-91da8de5b197039f48ed17de59b4cb3984012856.tar.gz ports-91da8de5b197039f48ed17de59b4cb3984012856.zip |
Notes
Diffstat (limited to 'japanese/today')
-rw-r--r-- | japanese/today/Makefile | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/japanese/today/Makefile b/japanese/today/Makefile index 7f7de7c83130..175aacd5f0a5 100644 --- a/japanese/today/Makefile +++ b/japanese/today/Makefile @@ -3,47 +3,46 @@ # Date created: 24 June 1996 # Whom: ABURAYER Rewsirow <pcs51674@asciinet.or.jp> # -# $Id: Makefile,v 1.2 1996/11/18 11:30:48 asami Exp $ +# $Id: Makefile,v 1.3 1996/12/03 13:08:19 obrien Exp $ # DISTNAME= td210bs PKGNAME= jp-today-2.10b CATEGORIES= japanese games MASTER_SITES= ftp://ftp.waseda.ac.jp/pub/archive/fj.binaries.msdos/ +EXTRACT_SUFX= .lzh +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} td210bm.lzh -DISTFILES= td210bs.lzh td210bm.lzh - -MAINTAINER= pcs51674@asciinet.or.jp +MAINTAINER= rewsirow@ff.iij4u.or.jp -BUILD_DEPENDS= lha:${PORTSDIR}/archivers/lha -BUILD_DEPENDS+= nkf:${PORTSDIR}/japanese/nkf +BUILD_DEPENDS= lha:${PORTSDIR}/archivers/lha \ + nkf:${PORTSDIR}/japanese/nkf EXTRACT_CMD= lha -EXTRACT_SUFX= .lzh -EXTRACT_BEFORE_ARGS= xfw=${WRKDIR} +EXTRACT_BEFORE_ARGS= xfqw=${WRKDIR} NO_WRKSUBDIR= yes PATCH_STRIP= -p1 post-extract: - @echo "===> Extracting tbl file for ${DISTNAME}" - @(cd ${WRKDIR}; lha xf tbl.lzh ) - @echo "===> Renaming file for ${DISTNAME}" + @${ECHO_MSG} "===> Extracting tbl file for ${DISTNAME}" + @(cd ${WRKDIR}; lha xqf tbl.lzh ) + @${ECHO_MSG} "===> Renaming file for ${DISTNAME}" @(cd ${WRKDIR}; \ - mv rdcalend.c rdcalendar.c ; \ - mv rdcalend.h rdcalendar.h ) - @echo "===> Converting Kanji code for ${DISTNAME}" + ${MV} rdcalend.c rdcalendar.c ; \ + ${MV} rdcalend.h rdcalendar.h ) + @${ECHO_MSG} "===> Converting Kanji code for ${DISTNAME}" @(cd ${WRKDIR}; \ for i in *.c *.h *.doc *.cnf birthday.tbl event*.tbl flower.tbl \ gengo.tbl hist??.tbl history.tbl holiday.tbl magazin.tbl \ monthly.tbl week.tbl; \ do \ echo $$i ; \ - sed 's/.$$//' $$i | nkf -e > $$i.tmp ;\ - mv -f $$i.tmp $$i ; \ + ${SED} 's/.$$//' $$i | nkf -e > $$i.tmp ;\ + ${MV} -f $$i.tmp $$i ; \ done) pre-patch: - @echo "===> Installing custom Makefile for ${DISTNAME}" + @${ECHO_MSG} "===> Installing custom Makefile for ${DISTNAME}" @(${CP} ${FILESDIR}/Makefile ${WRKSRC}) .include <bsd.port.mk> |