blob: c734db0fdd6d8b9bbb853d687d29a63639daa8b1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# New ports collection makefile for: today
# Date created: 24 June 1996
# Whom: ABURAYER Rewsirow <pcs51674@asciinet.or.jp>
#
# $FreeBSD$
#
PORTNAME= today
PORTVERSION= 2.11a
CATEGORIES= japanese games
MASTER_SITES= ftp://ftp.vector.co.jp/pack/dos/personal/calendar/today/
DISTNAME= ja-${PORTNAME}-${PORTVERSION}
DISTFILES= td${PORTVERSION:S/.//}s.lzh \
td${PORTVERSION:S/.//}m.lzh
MAINTAINER= ports@FreeBSD.org
COMMENT= Tells you what day today is
DEPRECATED= No more public distfiles
EXPIRATION_DATE= 2011-08-01
EXTRACT_DEPENDS=lha:${PORTSDIR}/archivers/lha \
nkf:${PORTSDIR}/japanese/nkf
EXTRACT_CMD= lha
EXTRACT_BEFORE_ARGS= xfqw=${WRKDIR}
EXTRACT_AFTER_ARGS= # empty
NO_WRKSUBDIR= yes
post-extract:
@${ECHO_MSG} "===> Extracting tbl file for ${DISTNAME}"
@(cd ${WRKSRC}; lha xqf tbl.lzh )
@${ECHO_MSG} "===> Converting Kanji code for ${DISTNAME}"
@(cd ${WRKSRC}; \
for i in *.c *.h *.doc *.cnf birthday.tbl event*.tbl flower.tbl \
gengo.tbl hist??.tbl history.tbl holiday.tbl magazine.tbl \
monthly.tbl schedule.tbl suffix.tbl week.tbl; \
do \
${SED} 's/.$$//' $$i | nkf -Se > $$i.tmp ;\
${MV} -f $$i.tmp $$i ; \
done)
@(cd ${WRKSRC}; lha xiqf utility.lzh src/dayinfo.c )
pre-patch:
@${ECHO_MSG} "===> Installing custom Makefile for ${DISTNAME}"
@(${CP} ${FILESDIR}/Makefile ${WRKSRC})
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/*.cnf
.include <bsd.port.mk>
|