diff options
author | seb <seb@pkgsrc.org> | 2002-05-31 12:59:46 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2002-05-31 12:59:46 +0000 |
commit | ad10999bc26ae2777078403c44655c2e55c62451 (patch) | |
tree | 5195a42282652e0761522cbbd24e3271a35cfd28 /misc | |
parent | b6d8a226600a45ea1ac043b71343d24de98e2cbf (diff) | |
download | pkgsrc-ad10999bc26ae2777078403c44655c2e55c62451.tar.gz |
Reimport of package xjdic from japanese/xjdic into misc/xjdic.
This is part of the japanese category retirement.
CATEGORIES adjusted.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/xjdic/DESCR | 4 | ||||
-rw-r--r-- | misc/xjdic/MESSAGE | 5 | ||||
-rw-r--r-- | misc/xjdic/Makefile | 53 | ||||
-rw-r--r-- | misc/xjdic/PLIST | 23 | ||||
-rw-r--r-- | misc/xjdic/distinfo | 10 | ||||
-rw-r--r-- | misc/xjdic/patches/patch-aa | 13 | ||||
-rw-r--r-- | misc/xjdic/patches/patch-ab | 13 |
7 files changed, 121 insertions, 0 deletions
diff --git a/misc/xjdic/DESCR b/misc/xjdic/DESCR new file mode 100644 index 00000000000..6b7419143b1 --- /dev/null +++ b/misc/xjdic/DESCR @@ -0,0 +1,4 @@ +XJDIC is an electronic Japanese-English dictionary program designed to +operate in the X11 window environment. In particular, it must run in an +"xterm" environment which has Japanese language support such as provided by +"kterm" or internationalized xterm, aixterm, etc. diff --git a/misc/xjdic/MESSAGE b/misc/xjdic/MESSAGE new file mode 100644 index 00000000000..017dfaf1bf5 --- /dev/null +++ b/misc/xjdic/MESSAGE @@ -0,0 +1,5 @@ +=========================================================================== + + Copy ${PREFIX}/share/doc/xjdic/.xjdicrc to your $HOME/.xjdicrc ! + +=========================================================================== diff --git a/misc/xjdic/Makefile b/misc/xjdic/Makefile new file mode 100644 index 00000000000..a82f4014109 --- /dev/null +++ b/misc/xjdic/Makefile @@ -0,0 +1,53 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/05/31 12:59:46 seb Exp $ +# + +DISTNAME= xjdic23 +PKGNAME= xjdic-2.3 +CATEGORIES= japanese misc +MASTER_SITES= http://www.bcit-broadcast.com/monash/ +EXTRACT_SUFX= .tgz +DISTFILES+= edict.gz \ + kanjidic.gz \ + ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= hubertf@netbsd.org +HOMEPAGE= http://www.csse.monash.edu.au/~jwb/xjdic/ +COMMENT= Japanese dictionary + +WRKSRC= ${WRKDIR} +MESSAGE_SUBST+= PREFIX=${PREFIX} +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} + +do-install: + cd ${WRKSRC} ; \ + for i in exjdxgen xjdic_cl xjdic_sa xjdserver xjdxgen ; \ + do \ + ${INSTALL_PROGRAM} $$i ${PREFIX}/bin ; \ + done + ${MV} ${PREFIX}/bin/xjdic_sa ${PREFIX}/bin/xjdic + ${INSTALL_DATA_DIR} ${PREFIX}/share/xjdic + ${INSTALL_DATA} \ + ${WRKSRC}/kanjstroke \ + ${WRKSRC}/radicals.tm \ + ${WRKSRC}/radkfile \ + ${WRKSRC}/romkana.cnv \ + ${WRKSRC}/vconj \ + ${PREFIX}/share/xjdic + ${INSTALL_MAN_DIR} ${PREFIX}/share/doc/xjdic + ${INSTALL_MAN} \ + ${WRKSRC}/xjdic22.WHATSNEW \ + ${WRKSRC}/xjdic23.WHATSNEW \ + ${WRKSRC}/xjdic23.inf \ + ${WRKSRC}/xjdic23.install \ + ${PREFIX}/share/doc/xjdic + ${INSTALL_MAN} ${WRKSRC}/xjdic.1 ${PREFIX}/man/man1 + ${GZIP_CMD} -cd ${DISTDIR}/kanjidic.gz >${PREFIX}/share/xjdic/kanjidic + ${GZIP_CMD} -cd ${DISTDIR}/edict.gz >${PREFIX}/share/xjdic/edict + ${PREFIX}/bin/xjdxgen ${PREFIX}/share/xjdic/edict + ${PREFIX}/bin/xjdxgen ${PREFIX}/share/xjdic/kanjidic + ${SED} \ + -e 's,/home/jwb/nihongo/dics,${PREFIX}/share/xjdic,' \ + -e '/^kdicfile/s/kanjidic_b/kanjidic/' \ + < ${WRKSRC}/.xjdicrc.skel >${PREFIX}/share/doc/xjdic/.xjdicrc + +.include "../../mk/bsd.pkg.mk" diff --git a/misc/xjdic/PLIST b/misc/xjdic/PLIST new file mode 100644 index 00000000000..e27c6fb3d22 --- /dev/null +++ b/misc/xjdic/PLIST @@ -0,0 +1,23 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/31 12:59:46 seb Exp $ +bin/exjdxgen +bin/xjdic_cl +bin/xjdic +bin/xjdserver +bin/xjdxgen +share/doc/xjdic/xjdic22.WHATSNEW +share/doc/xjdic/xjdic23.WHATSNEW +share/doc/xjdic/xjdic23.inf +share/doc/xjdic/xjdic23.install +share/doc/xjdic/.xjdicrc +share/xjdic/kanjstroke +share/xjdic/radkfile +share/xjdic/vconj +share/xjdic/romkana.cnv +share/xjdic/radicals.tm +share/xjdic/kanjidic +share/xjdic/kanjidic.xjdx +share/xjdic/edict +share/xjdic/edict.xjdx +man/man1/xjdic.1 +@dirrm share/doc/xjdic +@dirrm share/xjdic diff --git a/misc/xjdic/distinfo b/misc/xjdic/distinfo new file mode 100644 index 00000000000..ee1dc14a88a --- /dev/null +++ b/misc/xjdic/distinfo @@ -0,0 +1,10 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/05/31 12:59:46 seb Exp $ + +SHA1 (edict.gz) = a4b5f0e25e6eb83be9f1442de511ae6cb2e0cb45 +Size (edict.gz) = 1706759 bytes +SHA1 (kanjidic.gz) = b0e0fbe07791f711633c6df6bfa507afe2dfd338 +Size (kanjidic.gz) = 470456 bytes +SHA1 (xjdic23.tgz) = f5b364b7b50abaa4ffc862f5140d0c47b4438d16 +Size (xjdic23.tgz) = 136415 bytes +SHA1 (patch-aa) = 7e3dad15962b0ac69bf25c6f98cbbff8925aed8d +SHA1 (patch-ab) = 32dfe757b0a20a72cb336177eec08ba85e89231a diff --git a/misc/xjdic/patches/patch-aa b/misc/xjdic/patches/patch-aa new file mode 100644 index 00000000000..77ff633714a --- /dev/null +++ b/misc/xjdic/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/05/31 12:59:46 seb Exp $ + +--- Makefile.orig Wed Sep 16 13:08:01 1998 ++++ Makefile +@@ -54,7 +54,7 @@ + # + #LIBS= -lsocket -lnsl + # +-CC=gcc -g ++CC=gcc -D__STRICT_BSD__ -DPREFIX=\"${PREFIX}\" + all: xjdic_sa xjdic_cl xjdserver xjdxgen exjdxgen + client: xjdic_cl + server: xjdserver diff --git a/misc/xjdic/patches/patch-ab b/misc/xjdic/patches/patch-ab new file mode 100644 index 00000000000..f17f358362c --- /dev/null +++ b/misc/xjdic/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/05/31 12:59:46 seb Exp $ + +--- xjdic.h.orig Thu Sep 3 11:05:28 1998 ++++ xjdic.h +@@ -3,7 +3,7 @@ + #define NRKANA 250*2 /* size of the romaji to kana tables*/ + #define NOFILT 10 /* maximum number of general filters */ + #define VMAX 350 /* maximum entries in the verb table */ +-#define DEFAULT_DICDIR "" /* could be: "/usr/local/lib/xjdic" */ ++#define DEFAULT_DICDIR PREFIX "share/xjdic" /* could be: "/usr/local/lib/xjdic" */ + #define NOHITS 1000 /* size of hittab */ + #define SPTAG '@' /* character that flags priority entries */ + #define KFBUFFSIZE 2000 /* size of the KFlush buffer */ |