diff options
author | wiz <wiz@pkgsrc.org> | 2004-05-09 23:46:53 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2004-05-09 23:46:53 +0000 |
commit | 6fcae7e2f63cc24e600a02849cf5bbd4bf7131f2 (patch) | |
tree | e10cc491d64181e979874bba8b3f9cdc7452fc7a /misc/kdrill/Makefile | |
parent | fb6cf8a1e7a44e3e9ffbeecb13ef7327fd5b7a51 (diff) | |
download | pkgsrc-6fcae7e2f63cc24e600a02849cf5bbd4bf7131f2.tar.gz |
Convert to buildlink3.
Depend on edict and kanjidic packages for input files.
Bump PKGREVISION.
Diffstat (limited to 'misc/kdrill/Makefile')
-rw-r--r-- | misc/kdrill/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/misc/kdrill/Makefile b/misc/kdrill/Makefile index 98f063ea71c..d0c5b39b977 100644 --- a/misc/kdrill/Makefile +++ b/misc/kdrill/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.8 2003/07/21 17:01:16 martti Exp $ +# $NetBSD: Makefile,v 1.9 2004/05/09 23:46:53 wiz Exp $ # DISTNAME= kdrill5.11.6 PKGNAME= kdrill-5.11.6 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= japanese misc MASTER_SITES= http://www.bolthole.com/kdrill/ @@ -11,8 +11,12 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://www.bolthole.com/kdrill/ COMMENT= Kanji quiz and japanese dictionary -USE_BUILDLINK2= yes +DEPENDS+= edict-[0-9]*:../../misc/edict +DEPENDS+= kanjidic-[0-9]*:../../misc/kanjidic + +USE_BUILDLINK3= yes USE_IMAKE= yes +USE_X11= yes post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/kdrill @@ -23,5 +27,9 @@ post-install: 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" |