pkgsrc/misc/kdrill/Makefile

35 lines
1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.21 2014/09/12 21:47:23 shattered Exp $
#
DISTNAME= kdrill6.5
PKGNAME= kdrill-6.5
CATEGORIES= japanese misc
MASTER_SITES= http://www.bolthole.com/kdrill/
MAINTAINER= pkgsrc-users@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
2002-03-08 22:50:41 +01:00
post-install:
2010-01-09 12:55:35 +01:00
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/kdrill
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
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; \
done
${GZIP_CMD} -c ${PREFIX}/share/edict/edict > \
2010-01-09 12:55:35 +01:00
${DESTDIR}${PREFIX}/share/kdrill/edict.gz
${GZIP_CMD} -c ${PREFIX}/share/kanjidic/kanjidic > \
2010-01-09 12:55:35 +01:00
${DESTDIR}${PREFIX}/share/kdrill/kanjidic.gz
.include "../../x11/libXaw/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"