2014-09-12 23:47:23 +02:00
|
|
|
# $NetBSD: Makefile,v 1.21 2014/09/12 21:47:23 shattered Exp $
|
2002-02-07 14:49:06 +01:00
|
|
|
#
|
|
|
|
|
2014-09-12 23:47:23 +02:00
|
|
|
DISTNAME= kdrill6.5
|
|
|
|
PKGNAME= kdrill-6.5
|
2002-02-07 14:49:06 +01:00
|
|
|
CATEGORIES= japanese misc
|
|
|
|
MASTER_SITES= http://www.bolthole.com/kdrill/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@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
|
|
|
|
|
2005-07-15 20:27:48 +02:00
|
|
|
USE_IMAKE= yes
|
|
|
|
USE_TOOLS+= gzip
|
2002-03-08 22:50:41 +01:00
|
|
|
|
2002-02-07 14:49:06 +01:00
|
|
|
post-install:
|
2010-01-09 12:55:35 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/kdrill
|
2002-02-07 14:49:06 +01:00
|
|
|
cd ${WRKSRC}/makedic && \
|
|
|
|
${INSTALL_DATA} hira.edic hiraplus.edic kata.edic kataplus.edic \
|
2010-01-09 12:55:35 +01:00
|
|
|
fullkatahira.edic ${DESTDIR}${PREFIX}/share/kdrill
|
2002-02-07 14:49:06 +01:00
|
|
|
for f in hira.edic hiraplus.edic kata.edic kataplus.edic \
|
|
|
|
fullkatahira.edic; do \
|
2010-01-09 12:55:35 +01:00
|
|
|
${GZIP_CMD} -9 ${DESTDIR}${PREFIX}/share/kdrill/$$f; \
|
2002-02-07 14:49:06 +01:00
|
|
|
done
|
2004-05-10 01:46:53 +02:00
|
|
|
${GZIP_CMD} -c ${PREFIX}/share/edict/edict > \
|
2010-01-09 12:55:35 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/kdrill/edict.gz
|
2004-05-10 01:46:53 +02:00
|
|
|
${GZIP_CMD} -c ${PREFIX}/share/kanjidic/kanjidic > \
|
2010-01-09 12:55:35 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/kdrill/kanjidic.gz
|
2002-02-07 14:49:06 +01:00
|
|
|
|
2006-12-27 14:37:35 +01:00
|
|
|
.include "../../x11/libXaw/buildlink3.mk"
|
2002-02-07 14:49:06 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|