diff options
author | sakamoto <sakamoto@pkgsrc.org> | 1999-06-07 09:46:47 +0000 |
---|---|---|
committer | sakamoto <sakamoto@pkgsrc.org> | 1999-06-07 09:46:47 +0000 |
commit | 845ada34e09937d24e642db90c5dfa524c3f465b (patch) | |
tree | fc8fc57e5a7c1df99e8a8e4c28dcead3ea75e415 | |
parent | 557d2a614b3591e9f4ed17b7211a402f743537c8 (diff) | |
download | pkgsrc-845ada34e09937d24e642db90c5dfa524c3f465b.tar.gz |
Import FreeBSD's "chasen" port:
Japanese Morphological Analysis System.
-rw-r--r-- | japanese/chasen/Makefile | 23 | ||||
-rw-r--r-- | japanese/chasen/files/md5 | 1 | ||||
-rw-r--r-- | japanese/chasen/patches/patch-aa | 11 | ||||
-rw-r--r-- | japanese/chasen/patches/patch-ab | 18 | ||||
-rw-r--r-- | japanese/chasen/pkg/COMMENT | 1 | ||||
-rw-r--r-- | japanese/chasen/pkg/DESCR | 1 | ||||
-rw-r--r-- | japanese/chasen/pkg/PLIST | 21 |
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 |