summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorsakamoto <sakamoto>1999-06-07 09:46:47 +0000
committersakamoto <sakamoto>1999-06-07 09:46:47 +0000
commit93e731d0c8df80a2dccdbcb9b597da0911975b48 (patch)
treefc8fc57e5a7c1df99e8a8e4c28dcead3ea75e415 /japanese
parent2580c4d69468a73f641431ad6193aacffce76e6d (diff)
downloadpkgsrc-93e731d0c8df80a2dccdbcb9b597da0911975b48.tar.gz
Import FreeBSD's "chasen" port:
Japanese Morphological Analysis System.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/chasen/Makefile23
-rw-r--r--japanese/chasen/files/md51
-rw-r--r--japanese/chasen/patches/patch-aa11
-rw-r--r--japanese/chasen/patches/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, 76 insertions, 0 deletions
diff --git a/japanese/chasen/Makefile b/japanese/chasen/Makefile
new file mode 100644
index 00000000000..f97bb9ccbd6
--- /dev/null
+++ b/japanese/chasen/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: chasen
+# Version required: 1.51 + 1.5
+# Date created: 21 October 1998
+# Whom: kuriyama
+#
+# $Id: Makefile,v 1.1.1.1 1999/06/07 09:46:47 sakamoto Exp $
+#
+
+DISTNAME= chasen-sys1.51-dic1.5
+PKGNAME= ja-chasen-1.51
+CATEGORIES= japanese
+MASTER_SITES= ftp://ftp.aist-nara.ac.jp/pub/nlp/tools/chasen/ \
+ http://www.freebsd.org/~kuriyama/distfiles/
+
+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/files/md5 b/japanese/chasen/files/md5
new file mode 100644
index 00000000000..93bc6b91111
--- /dev/null
+++ b/japanese/chasen/files/md5
@@ -0,0 +1 @@
+MD5 (chasen-sys1.51-dic1.5.tar.gz) = 870b08939b216064597a34be8ce3bf52
diff --git a/japanese/chasen/patches/patch-aa b/japanese/chasen/patches/patch-aa
new file mode 100644
index 00000000000..73207f7d087
--- /dev/null
+++ b/japanese/chasen/patches/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/patches/patch-ab b/japanese/chasen/patches/patch-ab
new file mode 100644
index 00000000000..90acf40192d
--- /dev/null
+++ b/japanese/chasen/patches/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 00000000000..55ccb1734ec
--- /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 00000000000..55ccb1734ec
--- /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 00000000000..a6de1960467
--- /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