summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2001-01-10 14:47:47 +0000
committertaca <taca@pkgsrc.org>2001-01-10 14:47:47 +0000
commite92bb199b108209ea8c1a398b722dd909127f233 (patch)
tree473b1ba2a71032bdd7c41a02bdf23f49e679eade /japanese
parent23309d5c2a31c53cd96f95a06459593f6ff1c87d (diff)
downloadpkgsrc-e92bb199b108209ea8c1a398b722dd909127f233.tar.gz
Importing ipadic-2.4.1.
Because of different copyright, chasen distribution was separated into different files: chasen and its dictionary. This is dictonary part.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/ipadic/Makefile26
-rw-r--r--japanese/ipadic/files/md53
-rw-r--r--japanese/ipadic/files/patch-sum4
-rw-r--r--japanese/ipadic/patches/patch-aa13
-rw-r--r--japanese/ipadic/patches/patch-ab13
-rw-r--r--japanese/ipadic/pkg/COMMENT1
-rw-r--r--japanese/ipadic/pkg/DESCR1
-rw-r--r--japanese/ipadic/pkg/PLIST14
8 files changed, 75 insertions, 0 deletions
diff --git a/japanese/ipadic/Makefile b/japanese/ipadic/Makefile
new file mode 100644
index 00000000000..f401ccd1ce3
--- /dev/null
+++ b/japanese/ipadic/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/01/10 14:47:47 taca Exp $
+#
+
+DISTNAME= ipadic-2.4.1
+CATEGORIES= japanese
+MASTER_SITES= http://chasen.aist-nara.ac.jp/stable/ipadic/
+
+MAINTAINER= tech-pkg-ja@jp.netbsd.org
+HOMEPAGE= http://chasen.aist-nara.ac.jp/
+
+DEPENDS= chasen-base>=2.2.1:../../japanese/chasen-base
+
+GNU_CONFIGURE= # defined
+USE_LIBTOOL= # defined
+
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+post-install:
+ ${INSTALL} -c -m ${NONBINMODE} -o ${BINOWN} -g ${BINGRP} \
+ ${WRKSRC}/chasenrc \
+ ${LOCALBASE}/share/chasen/dic/ipadic/chasenrc.example
+ test -f ${LOCALBASE}/etc/chasenrc || \
+ ${INSTALL} -c -m ${NONBINMODE} -o ${BINOWN} -g ${BINGRP} \
+ ${WRKSRC}/chasenrc ${LOCALBASE}/etc
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/japanese/ipadic/files/md5 b/japanese/ipadic/files/md5
new file mode 100644
index 00000000000..ffb05d707aa
--- /dev/null
+++ b/japanese/ipadic/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/01/10 14:47:47 taca Exp $
+
+MD5 (ipadic-2.4.1.tar.gz) = 75aece9a09a61609e22a5b83439ba68c
diff --git a/japanese/ipadic/files/patch-sum b/japanese/ipadic/files/patch-sum
new file mode 100644
index 00000000000..ea507bc1f9a
--- /dev/null
+++ b/japanese/ipadic/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/01/10 14:47:47 taca Exp $
+
+MD5 (patch-aa) = 33783a1ff119ac827bce2a889d99ed43
+MD5 (patch-ab) = 1d6eda88f235318f08593195450963a6
diff --git a/japanese/ipadic/patches/patch-aa b/japanese/ipadic/patches/patch-aa
new file mode 100644
index 00000000000..207c0370f15
--- /dev/null
+++ b/japanese/ipadic/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/01/10 14:47:47 taca Exp $
+
+--- configure.in.orig Thu Dec 7 16:49:26 2000
++++ configure.in
+@@ -60,7 +60,7 @@
+ CHASEN_GENDATA="matrix.cha table.cha chadic.int chadic.pat chadic.ary"
+ AC_SUBST(CHASEN_GENDATA)
+
+-CHASEN_PREDATA="grammar.cha ctypes.cha cforms.cha chasenrc connect.cha Makefile.bat"
++CHASEN_PREDATA="grammar.cha ctypes.cha cforms.cha connect.cha"
+ AC_SUBST(CHASEN_PREDATA)
+
+ AC_OUTPUT([Makefile chasenrc ipadic.spec])
diff --git a/japanese/ipadic/patches/patch-ab b/japanese/ipadic/patches/patch-ab
new file mode 100644
index 00000000000..130494bf4e2
--- /dev/null
+++ b/japanese/ipadic/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/01/10 14:47:47 taca Exp $
+
+--- configure.orig Sat Dec 9 02:04:53 2000
++++ configure
+@@ -1003,7 +1003,7 @@
+ CHASEN_GENDATA="matrix.cha table.cha chadic.int chadic.pat chadic.ary"
+
+
+-CHASEN_PREDATA="grammar.cha ctypes.cha cforms.cha chasenrc connect.cha Makefile.bat"
++CHASEN_PREDATA="grammar.cha ctypes.cha cforms.cha connect.cha"
+
+
+ trap '' 1 2 15
diff --git a/japanese/ipadic/pkg/COMMENT b/japanese/ipadic/pkg/COMMENT
new file mode 100644
index 00000000000..95f8718d76c
--- /dev/null
+++ b/japanese/ipadic/pkg/COMMENT
@@ -0,0 +1 @@
+Japanese Morphological Dictionary for ChaSen
diff --git a/japanese/ipadic/pkg/DESCR b/japanese/ipadic/pkg/DESCR
new file mode 100644
index 00000000000..31f62b02164
--- /dev/null
+++ b/japanese/ipadic/pkg/DESCR
@@ -0,0 +1 @@
+Japanese Morphological Dictionary for ChaSen.
diff --git a/japanese/ipadic/pkg/PLIST b/japanese/ipadic/pkg/PLIST
new file mode 100644
index 00000000000..7fdb2952ee2
--- /dev/null
+++ b/japanese/ipadic/pkg/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/01/10 14:47:47 taca Exp $
+share/chasen/dic/ipadic/cforms.cha
+share/chasen/dic/ipadic/chadic.ary
+share/chasen/dic/ipadic/chadic.int
+share/chasen/dic/ipadic/chadic.pat
+@unexec if cmp -s %D/etc/chasenrc %D/share/chasen/dic/ipadic/chasenrc.example; then rm -f %D/etc/chasenrc; else true; fi
+share/chasen/dic/ipadic/chasenrc.example
+@exec if [ ! -f %D/etc/chasenrc ]; then cp %F %D/etc/chasenrc; fi
+share/chasen/dic/ipadic/connect.cha
+share/chasen/dic/ipadic/ctypes.cha
+share/chasen/dic/ipadic/grammar.cha
+share/chasen/dic/ipadic/matrix.cha
+share/chasen/dic/ipadic/table.cha
+@dirrm share/chasen/dic/ipadic