summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>1998-10-21 22:09:44 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>1998-10-21 22:09:44 +0000
commit8a718aa12c2f3fb15da01a3bfc5b22631f97426b (patch)
tree1efc633e56dd2158bd90aee6f634614ad1d4cea7 /japanese
parentBroken for -stable too (same error). (diff)
Japanese Morphological Analysis System
Submitted by: Jun Kuriyama <kuriyama@FreeBSD.ORG>
Notes
Notes: svn path=/head/; revision=14152
Diffstat (limited to 'japanese')
-rw-r--r--japanese/chasen/Makefile22
-rw-r--r--japanese/chasen/distinfo1
-rw-r--r--japanese/chasen/files/patch-aa11
-rw-r--r--japanese/chasen/files/patch-ab18
-rw-r--r--japanese/chasen/pkg-comment1
-rw-r--r--japanese/chasen/pkg-descr1
-rw-r--r--japanese/chasen/pkg-plist21
7 files changed, 75 insertions, 0 deletions
diff --git a/japanese/chasen/Makefile b/japanese/chasen/Makefile
new file mode 100644
index 000000000000..a2283b79d6e0
--- /dev/null
+++ b/japanese/chasen/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: chasen
+# Version required: 1.51 + 1.5
+# Date created: 21 October 1998
+# Whom: kuriyama
+#
+# $Id$
+#
+
+DISTNAME= chasen-sys1.51-dic1.5
+PKGNAME= ja-chasen-1.51
+CATEGORIES= japanese
+MASTER_SITES= ftp://ftp.asit-nara.ac.jp/pub/nlp/tools/chasen/
+
+MAINTAINER= kuriyama@FreeBSD.ORG
+
+WRKSRC= ${WRKDIR}/chasen1.51
+
+post-build:
+ ${ECHO_MSG} "Making dictionaries"
+ (cd ${WRKSRC}; ${MAKE} dic)
+
+.include <bsd.port.mk>
diff --git a/japanese/chasen/distinfo b/japanese/chasen/distinfo
new file mode 100644
index 000000000000..93bc6b911115
--- /dev/null
+++ b/japanese/chasen/distinfo
@@ -0,0 +1 @@
+MD5 (chasen-sys1.51-dic1.5.tar.gz) = 870b08939b216064597a34be8ce3bf52
diff --git a/japanese/chasen/files/patch-aa b/japanese/chasen/files/patch-aa
new file mode 100644
index 000000000000..73207f7d0870
--- /dev/null
+++ b/japanese/chasen/files/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile~ Mon Jul 28 21:55:58 1997
++++ Makefile Thu Oct 22 00:46:10 1998
+@@ -19,7 +19,7 @@
+
+ # --- install directories
+ BINDIR = /usr/local/bin
+-LIBDIR = /usr/local/lib/chasen
++LIBDIR = /usr/local/share/chasen
+ MKDICDIR = $(LIBDIR)/mkchadic
+ DICDIR = $(LIBDIR)/dic
+
diff --git a/japanese/chasen/files/patch-ab b/japanese/chasen/files/patch-ab
new file mode 100644
index 000000000000..90acf40192d3
--- /dev/null
+++ b/japanese/chasen/files/patch-ab
@@ -0,0 +1,18 @@
+--- lib/pat.h~ Tue May 27 06:12:58 1997
++++ lib/pat.h Thu Oct 22 00:58:38 1998
+@@ -14,6 +14,7 @@
+ #define OL(x) /* */
+ #endif
+
++#include <sys/types.h>
+ #ifndef NO_MMAP
+ #ifdef _WIN32
+ #define ONMEM_DIC
+@@ -21,7 +22,6 @@
+ #include <sys/mman.h>
+ #endif
+ #endif /* !NO_MMAP */
+-#include <sys/types.h>
+ #include <sys/stat.h>
+
+ #ifdef ONMEM_DIC
diff --git a/japanese/chasen/pkg-comment b/japanese/chasen/pkg-comment
new file mode 100644
index 000000000000..55ccb1734ecc
--- /dev/null
+++ b/japanese/chasen/pkg-comment
@@ -0,0 +1 @@
+Japanese Morphological Analysis System
diff --git a/japanese/chasen/pkg-descr b/japanese/chasen/pkg-descr
new file mode 100644
index 000000000000..55ccb1734ecc
--- /dev/null
+++ b/japanese/chasen/pkg-descr
@@ -0,0 +1 @@
+Japanese Morphological Analysis System
diff --git a/japanese/chasen/pkg-plist b/japanese/chasen/pkg-plist
new file mode 100644
index 000000000000..a6de19604670
--- /dev/null
+++ b/japanese/chasen/pkg-plist
@@ -0,0 +1,21 @@
+bin/chasen
+share/chasen/chasenrc
+share/chasen/mkchadic/convgram
+share/chasen/mkchadic/makeint
+share/chasen/mkchadic/makemat
+share/chasen/mkchadic/pattool
+share/chasen/mkchadic/sortdic
+share/chasen/mkchadic/transdic
+share/chasen/dic/Makefile
+share/chasen/dic/chasen.cforms
+share/chasen/dic/chasen.connect
+share/chasen/dic/chasen.connect.c
+share/chasen/dic/chasen.ctypes
+share/chasen/dic/chasen.grammar
+share/chasen/dic/chasen.matrix
+share/chasen/dic/chasen.table
+share/chasen/dic/chadic.int
+share/chasen/dic/chadic.pat
+@dirrm share/chasen/mkchadic
+@dirrm share/chasen/dic
+@dirrm share/chasen