pkgsrc/misc/kdrill/Makefile
shattered 5f722d6f18 Update to 6.5. Notable changes:
Added radical search.
Added usefile toggle in multikanji search display.
'cheat' is now a toggle highlight for the current question.
Added [return] key accelerator for stroke count search.

Added handling of non-shifted JIS for cut-n-paste (rxvt support)
Added handling of ascii-escaped unicode char cut-n-paste
   (for pan, and other gtk2 based progs)
Patched doJISConvert to understand gtk2 unicode cutnpaste format.

Fixed buffer overflow in doJISConvert, that made coredumps
  for long cut-n-paste strings.
Fixed bug in matchromaji() that was giving bogus matches too soon.
2014-09-12 21:47:23 +00:00

34 lines
1 KiB
Makefile

# $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
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/kdrill
cd ${WRKSRC}/makedic && \
${INSTALL_DATA} hira.edic hiraplus.edic kata.edic kataplus.edic \
fullkatahira.edic ${DESTDIR}${PREFIX}/share/kdrill
for f in hira.edic hiraplus.edic kata.edic kataplus.edic \
fullkatahira.edic; do \
${GZIP_CMD} -9 ${DESTDIR}${PREFIX}/share/kdrill/$$f; \
done
${GZIP_CMD} -c ${PREFIX}/share/edict/edict > \
${DESTDIR}${PREFIX}/share/kdrill/edict.gz
${GZIP_CMD} -c ${PREFIX}/share/kanjidic/kanjidic > \
${DESTDIR}${PREFIX}/share/kdrill/kanjidic.gz
.include "../../x11/libXaw/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"