1996-10-18 15:04:50 +00:00
|
|
|
# New ports collection makefile for: today
|
|
|
|
# Version required: 2.10b
|
|
|
|
# Date created: 24 June 1996
|
|
|
|
# Whom: ABURAYER Rewsirow <pcs51674@asciinet.or.jp>
|
|
|
|
#
|
1999-02-03 11:12:01 +00:00
|
|
|
# $Id: Makefile,v 1.6 1997/09/19 11:57:50 max Exp $
|
1996-10-18 15:04:50 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= td210bs
|
1997-09-14 21:36:25 +00:00
|
|
|
PKGNAME= ja-today-2.10b
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= japanese games
|
1996-10-18 15:04:50 +00:00
|
|
|
MASTER_SITES= ftp://ftp.waseda.ac.jp/pub/archive/fj.binaries.msdos/
|
1997-09-14 17:47:20 +00:00
|
|
|
EXTRACT_SUFX= .lzh
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} td210bm.lzh
|
1996-10-18 15:04:50 +00:00
|
|
|
|
1997-09-14 17:47:20 +00:00
|
|
|
MAINTAINER= rewsirow@ff.iij4u.or.jp
|
1996-10-18 15:04:50 +00:00
|
|
|
|
1997-09-14 17:47:20 +00:00
|
|
|
BUILD_DEPENDS= lha:${PORTSDIR}/archivers/lha \
|
|
|
|
nkf:${PORTSDIR}/japanese/nkf
|
1996-10-18 15:04:50 +00:00
|
|
|
|
|
|
|
EXTRACT_CMD= lha
|
1997-09-14 17:47:20 +00:00
|
|
|
EXTRACT_BEFORE_ARGS= xfqw=${WRKDIR}
|
1999-02-03 11:12:01 +00:00
|
|
|
EXTRACT_AFTER_ARGS= # empty
|
1996-10-18 15:04:50 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
post-extract:
|
1997-09-14 17:47:20 +00:00
|
|
|
@${ECHO_MSG} "===> Extracting tbl file for ${DISTNAME}"
|
|
|
|
@(cd ${WRKDIR}; lha xqf tbl.lzh )
|
|
|
|
@${ECHO_MSG} "===> Renaming file for ${DISTNAME}"
|
1996-10-18 15:04:50 +00:00
|
|
|
@(cd ${WRKDIR}; \
|
1997-09-14 17:47:20 +00:00
|
|
|
${MV} rdcalend.c rdcalendar.c ; \
|
|
|
|
${MV} rdcalend.h rdcalendar.h )
|
|
|
|
@${ECHO_MSG} "===> Converting Kanji code for ${DISTNAME}"
|
1996-10-18 15:04:50 +00:00
|
|
|
@(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 \
|
1997-09-14 17:47:20 +00:00
|
|
|
${SED} 's/.$$//' $$i | nkf -e > $$i.tmp ;\
|
|
|
|
${MV} -f $$i.tmp $$i ; \
|
1996-10-18 15:04:50 +00:00
|
|
|
done)
|
|
|
|
|
|
|
|
pre-patch:
|
1997-09-14 17:47:20 +00:00
|
|
|
@${ECHO_MSG} "===> Installing custom Makefile for ${DISTNAME}"
|
1996-12-03 13:08:20 +00:00
|
|
|
@(${CP} ${FILESDIR}/Makefile ${WRKSRC})
|
1996-10-18 15:04:50 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|