pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/kdrill Convert to buildlink3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b9b2bbc60ea9
branches:  trunk
changeset: 475088:b9b2bbc60ea9
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun May 09 23:46:53 2004 +0000

description:
Convert to buildlink3.
Depend on edict and kanjidic packages for input files.
Bump PKGREVISION.

diffstat:

 misc/kdrill/MESSAGE          |   7 +------
 misc/kdrill/Makefile         |  14 +++++++++++---
 misc/kdrill/PLIST            |   6 ++++--
 misc/kdrill/distinfo         |   4 ++--
 misc/kdrill/patches/patch-aa |  11 +----------
 5 files changed, 19 insertions(+), 23 deletions(-)

diffs (110 lines):

diff -r 0f8a59116856 -r b9b2bbc60ea9 misc/kdrill/MESSAGE
--- a/misc/kdrill/MESSAGE       Sun May 09 22:49:19 2004 +0000
+++ b/misc/kdrill/MESSAGE       Sun May 09 23:46:53 2004 +0000
@@ -1,5 +1,5 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.2 2002/09/24 10:29:50 jlam Exp $
+$NetBSD: MESSAGE,v 1.3 2004/05/09 23:46:53 wiz Exp $
 
 To learn kana, start kdrill with:
 
@@ -7,9 +7,4 @@
 
 or any of the other edic files from ${PREFIX}/share/kdrill.
 
-To learn kanji, download edict.gz and kanjidic.gz from
-
-       ftp://ftp.monash.edu.au/pub/nihongo/
-
-and install them in ${PREFIX}/share/kdrill.
 ===========================================================================
diff -r 0f8a59116856 -r b9b2bbc60ea9 misc/kdrill/Makefile
--- a/misc/kdrill/Makefile      Sun May 09 22:49:19 2004 +0000
+++ b/misc/kdrill/Makefile      Sun May 09 23:46:53 2004 +0000
@@ -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 @@
 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 @@
                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"
diff -r 0f8a59116856 -r b9b2bbc60ea9 misc/kdrill/PLIST
--- a/misc/kdrill/PLIST Sun May 09 22:49:19 2004 +0000
+++ b/misc/kdrill/PLIST Sun May 09 23:46:53 2004 +0000
@@ -1,10 +1,12 @@
-@comment $NetBSD: PLIST,v 1.5 2003/03/04 04:15:23 jschauma Exp $
+@comment $NetBSD: PLIST,v 1.6 2004/05/09 23:46:53 wiz Exp $
 bin/kdrill
 lib/X11/app-defaults/KDrill
 ${IMAKE_MAN_DIR}/kdrill.${IMAKE_MANNEWSUFFIX}
+share/kdrill/edict.gz
+share/kdrill/fullkatahira.edic.gz
 share/kdrill/hira.edic.gz
 share/kdrill/hiraplus.edic.gz
+share/kdrill/kanjidic.gz
 share/kdrill/kata.edic.gz
 share/kdrill/kataplus.edic.gz
-share/kdrill/fullkatahira.edic.gz
 @unexec ${RMDIR} %D/share/kdrill 2>/dev/null || ${TRUE}
diff -r 0f8a59116856 -r b9b2bbc60ea9 misc/kdrill/distinfo
--- a/misc/kdrill/distinfo      Sun May 09 22:49:19 2004 +0000
+++ b/misc/kdrill/distinfo      Sun May 09 23:46:53 2004 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2002/03/08 21:50:41 wiz Exp $
+$NetBSD: distinfo,v 1.3 2004/05/09 23:46:53 wiz Exp $
 
 SHA1 (kdrill5.11.6.tar.gz) = 8ce3594c81f717a4fd1488a952b0a05111679cd0
 Size (kdrill5.11.6.tar.gz) = 182956 bytes
-SHA1 (patch-aa) = c8e05c7555fc3f8932730ad7a7137945b5690f11
+SHA1 (patch-aa) = 42fc93ca33c380cc947a526c97cb887c2e778ebb
diff -r 0f8a59116856 -r b9b2bbc60ea9 misc/kdrill/patches/patch-aa
--- a/misc/kdrill/patches/patch-aa      Sun May 09 22:49:19 2004 +0000
+++ b/misc/kdrill/patches/patch-aa      Sun May 09 23:46:53 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2002/03/08 21:50:41 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2004/05/09 23:46:53 wiz Exp $
 
 --- Imakefile.orig     Wed Feb  6 01:56:16 2002
 +++ Imakefile
@@ -13,12 +13,3 @@
  
  # If for some reason, the user prefs stuff isn't working for you, 
  # and you can't compile, uncomment this
-@@ -67,7 +67,7 @@
- /* 
-  * I don't like putting <X11/...> for everything, so..
-  */
--INCLUDES = -I$(INCROOT)/X11
-+INCLUDES = -I$(BUILDLINK_X11_DIR)/include/X11
- 
- /*
-  *  If you need to debug things, use this



Home | Main Index | Thread Index | Old Index