2005-04-11 23:44:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2005/04/11 21:46:35 tv Exp $
|
2002-02-07 14:49:06 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= kdrill5.11.6
|
|
|
|
PKGNAME= kdrill-5.11.6
|
2004-05-10 01:46:53 +02:00
|
|
|
PKGREVISION= 2
|
2002-02-07 14:49:06 +01:00
|
|
|
CATEGORIES= japanese misc
|
|
|
|
MASTER_SITES= http://www.bolthole.com/kdrill/
|
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2002-02-07 14:49:06 +01:00
|
|
|
HOMEPAGE= http://www.bolthole.com/kdrill/
|
2003-07-21 19:01:11 +02:00
|
|
|
COMMENT= Kanji quiz and japanese dictionary
|
2002-02-07 14:49:06 +01:00
|
|
|
|
2004-05-10 01:46:53 +02:00
|
|
|
DEPENDS+= edict-[0-9]*:../../misc/edict
|
|
|
|
DEPENDS+= kanjidic-[0-9]*:../../misc/kanjidic
|
|
|
|
|
2002-02-07 14:49:06 +01:00
|
|
|
USE_IMAKE= yes
|
2002-03-08 22:50:41 +01:00
|
|
|
|
2002-02-07 14:49:06 +01:00
|
|
|
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
|
2004-05-10 01:46:53 +02:00
|
|
|
${GZIP_CMD} -c ${PREFIX}/share/edict/edict > \
|
|
|
|
${PREFIX}/share/kdrill/edict.gz
|
|
|
|
${GZIP_CMD} -c ${PREFIX}/share/kanjidic/kanjidic > \
|
|
|
|
${PREFIX}/share/kdrill/kanjidic.gz
|
2002-02-07 14:49:06 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|