Updatethe maitainer's address.

Make lha quiet.
Some more style fixes.
This commit is contained in:
Masafumi Max NAKANE 1997-09-14 17:47:20 +00:00
parent 0eab292e0e
commit 91da8de5b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7906

View file

@ -3,47 +3,46 @@
# Date created: 24 June 1996 # Date created: 24 June 1996
# Whom: ABURAYER Rewsirow <pcs51674@asciinet.or.jp> # 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 DISTNAME= td210bs
PKGNAME= jp-today-2.10b PKGNAME= jp-today-2.10b
CATEGORIES= japanese games CATEGORIES= japanese games
MASTER_SITES= ftp://ftp.waseda.ac.jp/pub/archive/fj.binaries.msdos/ 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= rewsirow@ff.iij4u.or.jp
MAINTAINER= pcs51674@asciinet.or.jp BUILD_DEPENDS= lha:${PORTSDIR}/archivers/lha \
nkf:${PORTSDIR}/japanese/nkf
BUILD_DEPENDS= lha:${PORTSDIR}/archivers/lha
BUILD_DEPENDS+= nkf:${PORTSDIR}/japanese/nkf
EXTRACT_CMD= lha EXTRACT_CMD= lha
EXTRACT_SUFX= .lzh EXTRACT_BEFORE_ARGS= xfqw=${WRKDIR}
EXTRACT_BEFORE_ARGS= xfw=${WRKDIR}
NO_WRKSUBDIR= yes NO_WRKSUBDIR= yes
PATCH_STRIP= -p1 PATCH_STRIP= -p1
post-extract: post-extract:
@echo "===> Extracting tbl file for ${DISTNAME}" @${ECHO_MSG} "===> Extracting tbl file for ${DISTNAME}"
@(cd ${WRKDIR}; lha xf tbl.lzh ) @(cd ${WRKDIR}; lha xqf tbl.lzh )
@echo "===> Renaming file for ${DISTNAME}" @${ECHO_MSG} "===> Renaming file for ${DISTNAME}"
@(cd ${WRKDIR}; \ @(cd ${WRKDIR}; \
mv rdcalend.c rdcalendar.c ; \ ${MV} rdcalend.c rdcalendar.c ; \
mv rdcalend.h rdcalendar.h ) ${MV} rdcalend.h rdcalendar.h )
@echo "===> Converting Kanji code for ${DISTNAME}" @${ECHO_MSG} "===> Converting Kanji code for ${DISTNAME}"
@(cd ${WRKDIR}; \ @(cd ${WRKDIR}; \
for i in *.c *.h *.doc *.cnf birthday.tbl event*.tbl flower.tbl \ for i in *.c *.h *.doc *.cnf birthday.tbl event*.tbl flower.tbl \
gengo.tbl hist??.tbl history.tbl holiday.tbl magazin.tbl \ gengo.tbl hist??.tbl history.tbl holiday.tbl magazin.tbl \
monthly.tbl week.tbl; \ monthly.tbl week.tbl; \
do \ do \
echo $$i ; \ echo $$i ; \
sed 's/.$$//' $$i | nkf -e > $$i.tmp ;\ ${SED} 's/.$$//' $$i | nkf -e > $$i.tmp ;\
mv -f $$i.tmp $$i ; \ ${MV} -f $$i.tmp $$i ; \
done) done)
pre-patch: pre-patch:
@echo "===> Installing custom Makefile for ${DISTNAME}" @${ECHO_MSG} "===> Installing custom Makefile for ${DISTNAME}"
@(${CP} ${FILESDIR}/Makefile ${WRKSRC}) @(${CP} ${FILESDIR}/Makefile ${WRKSRC})
.include <bsd.port.mk> .include <bsd.port.mk>