pkgsrc/misc/kdrill/Makefile
jlam bf9129c41e Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making
PKGSRC_USE_TOOLS go away.  There is now only a single USE_TOOLS variable
that specifies all of the tools we need to build/run the package.
2005-07-15 18:27:48 +00:00

34 lines
973 B
Makefile

# $NetBSD: Makefile,v 1.13 2005/07/15 18:27:52 jlam 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_IMAKE= yes
USE_TOOLS+= gzip
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"