aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/ipadic
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2001-07-23 17:54:11 +0800
committerkuriyama <kuriyama@FreeBSD.org>2001-07-23 17:54:11 +0800
commit8214d04ff4c91c39ef01eb0b507271a7a673136f (patch)
tree6605eb7661d232382aa2c8969e31a25c2a54343d /japanese/ipadic
parente27c49b3759fbc10a12b70ab02eb99e2e89f6881 (diff)
downloadfreebsd-ports-gnome-8214d04ff4c91c39ef01eb0b507271a7a673136f.tar.gz
freebsd-ports-gnome-8214d04ff4c91c39ef01eb0b507271a7a673136f.tar.zst
freebsd-ports-gnome-8214d04ff4c91c39ef01eb0b507271a7a673136f.zip
Porting latest chasen suite from NetBSD pkgsrc.
o Make ja-chasen meta-port. o Upgrade to 2.2.7. o Separate ipadic to ja-ipadic-2.4.4.
Diffstat (limited to 'japanese/ipadic')
-rw-r--r--japanese/ipadic/Makefile25
-rw-r--r--japanese/ipadic/distinfo1
-rw-r--r--japanese/ipadic/files/patch-aa13
-rw-r--r--japanese/ipadic/files/patch-ab13
-rw-r--r--japanese/ipadic/pkg-comment1
-rw-r--r--japanese/ipadic/pkg-descr3
-rw-r--r--japanese/ipadic/pkg-plist20
7 files changed, 76 insertions, 0 deletions
diff --git a/japanese/ipadic/Makefile b/japanese/ipadic/Makefile
new file mode 100644
index 000000000000..aa8c33f8b201
--- /dev/null
+++ b/japanese/ipadic/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: ipadic
+# Date created: 23 Jul 2001
+# Whom: kuriyama
+#
+# $NetBSD: Makefile,v 1.10 2001/04/13 14:54:07 kei Exp $
+# $FreeBSD$
+#
+
+PORTNAME= ipadic
+PORTVERSION= 2.4.4
+CATEGORIES= japanese
+MASTER_SITES= http://chasen.aist-nara.ac.jp/stable/ipadic/
+
+MAINTAINER= ports@FreeBSD.org
+
+BUILD_DEPENDS= chasen:${PORTSDIR}/japanese/chasen-base
+
+GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/chasenrc \
+ ${PREFIX}/share/chasen/dic/ipadic/chasenrc.example
+
+.include <bsd.port.mk>
diff --git a/japanese/ipadic/distinfo b/japanese/ipadic/distinfo
new file mode 100644
index 000000000000..e81a2ff544a4
--- /dev/null
+++ b/japanese/ipadic/distinfo
@@ -0,0 +1 @@
+MD5 (ipadic-2.4.4.tar.gz) = c45936b371564a9b8af2a265ff712acd
diff --git a/japanese/ipadic/files/patch-aa b/japanese/ipadic/files/patch-aa
new file mode 100644
index 000000000000..600f936e21bd
--- /dev/null
+++ b/japanese/ipadic/files/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 Mar 22 05:41:31 2001
++++ configure.in
+@@ -97,7 +97,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 doc/Makefile])
diff --git a/japanese/ipadic/files/patch-ab b/japanese/ipadic/files/patch-ab
new file mode 100644
index 000000000000..3de932a05908
--- /dev/null
+++ b/japanese/ipadic/files/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/01/10 14:47:47 taca Exp $
+
+--- configure.orig Fri Mar 23 02:51:03 2001
++++ configure
+@@ -1059,7 +1059,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 000000000000..95f8718d76ca
--- /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 000000000000..96cf634e2f8e
--- /dev/null
+++ b/japanese/ipadic/pkg-descr
@@ -0,0 +1,3 @@
+Japanese Morphological Dictionary for ChaSen.
+
+WWW: http://chasen.aist-nara.ac.jp/
diff --git a/japanese/ipadic/pkg-plist b/japanese/ipadic/pkg-plist
new file mode 100644
index 000000000000..4d9f070d189e
--- /dev/null
+++ b/japanese/ipadic/pkg-plist
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/01/10 14:47:47 taca Exp $
+@unexec install-info --delete --info-dir=%D/info %D/info/ipadic-ja.info
+info/ipadic-ja.info
+info/ipadic-ja.info-1
+info/ipadic-ja.info-2
+info/ipadic-ja.info-3
+@exec install-info --info-dir=%D/info %D/info/ipadic-ja.info
+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