diff options
-rw-r--r-- | japanese/chasen-base/Makefile | 22 | ||||
-rw-r--r-- | japanese/chasen-base/files/md5 | 3 | ||||
-rw-r--r-- | japanese/chasen-base/files/patch-sum | 6 | ||||
-rw-r--r-- | japanese/chasen-base/patches/patch-aa | 21 | ||||
-rw-r--r-- | japanese/chasen-base/patches/patch-ab | 19 | ||||
-rw-r--r-- | japanese/chasen-base/patches/patch-ac | 21 | ||||
-rw-r--r-- | japanese/chasen-base/patches/patch-ad | 12 | ||||
-rw-r--r-- | japanese/chasen-base/pkg/COMMENT | 1 | ||||
-rw-r--r-- | japanese/chasen-base/pkg/DESCR | 3 | ||||
-rw-r--r-- | japanese/chasen-base/pkg/PLIST | 31 |
10 files changed, 139 insertions, 0 deletions
diff --git a/japanese/chasen-base/Makefile b/japanese/chasen-base/Makefile new file mode 100644 index 00000000000..3c1513283ad --- /dev/null +++ b/japanese/chasen-base/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/01/10 14:45:03 taca Exp $ +# + +DISTNAME= chasen-${CHASEN_VERSION} +PKGNAME= chasen-base-${CHASEN_VERSION} +CATEGORIES= japanese +MASTER_SITES= http://chasen.aist-nara.ac.jp/stable/chasen/ + +MAINTAINER= tech-pkg-ja@jp.netbsd.org +HOMEPAGE= http://chasen.aist-nara.ac.jp/ + +CHASEN_VERSION= 2.2.1 + +GNU_CONFIGURE= # defined +USE_LIBTOOL= # defined + +LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig + +post-install: + mkdir ${LOCALBASE}/share/chasen/dic + +.include "../../mk/bsd.pkg.mk" diff --git a/japanese/chasen-base/files/md5 b/japanese/chasen-base/files/md5 new file mode 100644 index 00000000000..cfd9ad01aa1 --- /dev/null +++ b/japanese/chasen-base/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/01/10 14:45:03 taca Exp $ + +MD5 (chasen-2.2.1.tar.gz) = fcbe94a0c630cd8fae6747537336d209 diff --git a/japanese/chasen-base/files/patch-sum b/japanese/chasen-base/files/patch-sum new file mode 100644 index 00000000000..ee0be9cf74a --- /dev/null +++ b/japanese/chasen-base/files/patch-sum @@ -0,0 +1,6 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/01/10 14:45:03 taca Exp $ + +MD5 (patch-aa) = d4ad21c6e47c0f46db1458bbc868dced +MD5 (patch-ab) = dfa07e0350fe4680146c07eabdf4c379 +MD5 (patch-ac) = 7d66d6c9ccc2f05e5e3c2daefb4b94f2 +MD5 (patch-ad) = ece2bd7f2783109a700ab1b643f10dd2 diff --git a/japanese/chasen-base/patches/patch-aa b/japanese/chasen-base/patches/patch-aa new file mode 100644 index 00000000000..ee79080ae1e --- /dev/null +++ b/japanese/chasen-base/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/01/10 14:45:03 taca Exp $ + +--- chasen/chasen.c.orig Tue Dec 19 05:08:20 2000 ++++ chasen/chasen.c +@@ -41,6 +41,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#include <unistd.h> + + #include "chalib.h" + #include "pat.h" +@@ -375,7 +376,7 @@ + #endif + rc = chasen_standalone(argv, output); + if (output != stdout) +- close(output); ++ fclose(output); + return rc; + } + } diff --git a/japanese/chasen-base/patches/patch-ab b/japanese/chasen-base/patches/patch-ab new file mode 100644 index 00000000000..43a6c3c0e12 --- /dev/null +++ b/japanese/chasen-base/patches/patch-ab @@ -0,0 +1,19 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/01/10 14:45:03 taca Exp $ + +--- lib/print.c.orig Tue Dec 19 05:08:31 2000 ++++ lib/print.c +@@ -166,14 +166,6 @@ + void cha_set_fput(server_mode) + int server_mode; + { +- /* +- * For system having no prototype declarations for the following +- * functions such as SunOS 4.1.4. +- */ +- extern int fputc(); +- extern int fputs(); +- extern int fprintf(); +- + if (server_mode) { + cha_fputc = (void (*))cha_clputc; + cha_fputs = (void (*))cha_clputs; diff --git a/japanese/chasen-base/patches/patch-ac b/japanese/chasen-base/patches/patch-ac new file mode 100644 index 00000000000..44458acfc30 --- /dev/null +++ b/japanese/chasen-base/patches/patch-ac @@ -0,0 +1,21 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/01/10 14:45:03 taca Exp $ + +--- mkchadic/convdic.c.orig Wed Dec 6 14:13:44 2000 ++++ mkchadic/convdic.c +@@ -6,6 +6,7 @@ + */ + + #include "chadic.h" ++#include <unistd.h> + #include <dirent.h> + + #define LINEMAX 8192 +@@ -296,7 +297,7 @@ + + if ((fp = fopen(file, "r")) == NULL) + return 0; +- close(fp); ++ fclose(fp); + return 1; + } + diff --git a/japanese/chasen-base/patches/patch-ad b/japanese/chasen-base/patches/patch-ad new file mode 100644 index 00000000000..d9e637bcc98 --- /dev/null +++ b/japanese/chasen-base/patches/patch-ad @@ -0,0 +1,12 @@ +$NetBSD: patch-ad,v 1.1.1.1 2001/01/10 14:45:03 taca Exp $ + +--- mkchadic/mkary.c.orig Fri Nov 24 05:25:06 2000 ++++ mkchadic/mkary.c +@@ -9,6 +9,7 @@ + #include <stdio.h> + #include <string.h> + #include <stdlib.h> ++#include <unistd.h> + #include <sys/stat.h> + #include <sys/types.h> + #include <sys/param.h> diff --git a/japanese/chasen-base/pkg/COMMENT b/japanese/chasen-base/pkg/COMMENT new file mode 100644 index 00000000000..33160c880b6 --- /dev/null +++ b/japanese/chasen-base/pkg/COMMENT @@ -0,0 +1 @@ +ChaSen, Japanese Morphological Analysis System diff --git a/japanese/chasen-base/pkg/DESCR b/japanese/chasen-base/pkg/DESCR new file mode 100644 index 00000000000..9b1e790174d --- /dev/null +++ b/japanese/chasen-base/pkg/DESCR @@ -0,0 +1,3 @@ +ChaSen, Japanese Morphological Analysis System + +This is base system without dictonary. diff --git a/japanese/chasen-base/pkg/PLIST b/japanese/chasen-base/pkg/PLIST new file mode 100644 index 00000000000..35fc5a07522 --- /dev/null +++ b/japanese/chasen-base/pkg/PLIST @@ -0,0 +1,31 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/01/10 14:45:03 taca Exp $ +bin/chasen +bin/chasen-config +include/chasen.h +lib/libchasen.a +lib/libchasen.la +lib/libchasen.so +lib/libchasen.so.0 +lib/libchasen.so.0.1 +libexec/chasen/convdic +libexec/chasen/makeint +libexec/chasen/makemat +libexec/chasen/mkary +libexec/chasen/pattool +libexec/chasen/sortdic +@dirrm libexec/chasen +@exec mkdir %D/share/chasen/dic >/dev/null 2>&1 || true +@dirrm share/chasen/dic +share/chasen/doc/manual-j.pdf +share/chasen/doc/manual-j.tex +share/chasen/doc/manual.pdf +share/chasen/doc/manual.tex +@dirrm share/chasen/doc +share/chasen/prolog/README.prolog +share/chasen/prolog/chasen.pl +share/chasen/prolog/chasen_user.pl +share/chasen/prolog/jinput.pl +share/chasen/prolog/juman.pl +share/chasen/prolog/utils.pl +@dirrm share/chasen/prolog +@dirrm share/chasen |