blob: 8bcd08f22904c43bbf1e83c61411adc6a6041430 (
plain)
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
|
# $NetBSD: Makefile,v 1.10 2004/07/21 21:28:41 salo Exp $
#
DISTNAME= kdrill5.11.6
PKGNAME= kdrill-5.11.6
PKGREVISION= 2
CATEGORIES= japanese misc
MASTER_SITES= http://www.bolthole.com/kdrill/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.bolthole.com/kdrill/
COMMENT= Kanji quiz and japanese dictionary
DEPENDS+= edict-[0-9]*:../../misc/edict
DEPENDS+= kanjidic-[0-9]*:../../misc/kanjidic
USE_BUILDLINK3= yes
USE_IMAKE= yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/kdrill
cd ${WRKSRC}/makedic && \
${INSTALL_DATA} hira.edic hiraplus.edic kata.edic kataplus.edic \
fullkatahira.edic ${PREFIX}/share/kdrill
for f in hira.edic hiraplus.edic kata.edic kataplus.edic \
fullkatahira.edic; do \
${GZIP_CMD} -9 ${PREFIX}/share/kdrill/$$f; \
done
${GZIP_CMD} -c ${PREFIX}/share/edict/edict > \
${PREFIX}/share/kdrill/edict.gz
${GZIP_CMD} -c ${PREFIX}/share/kanjidic/kanjidic > \
${PREFIX}/share/kdrill/kanjidic.gz
.include "../../mk/bsd.pkg.mk"
|