Import FreeBSD's "chasen" port:

Japanese Morphological Analysis System.
This commit is contained in:
sakamoto 1999-06-07 09:46:47 +00:00
parent 557d2a614b
commit 845ada34e0
7 changed files with 76 additions and 0 deletions

23
japanese/chasen/Makefile Normal file
View file

@ -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>

View file

@ -0,0 +1 @@
MD5 (chasen-sys1.51-dic1.5.tar.gz) = 870b08939b216064597a34be8ce3bf52

View file

@ -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

View file

@ -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

View file

@ -0,0 +1 @@
Japanese Morphological Analysis System

View file

@ -0,0 +1 @@
Japanese Morphological Analysis System

21
japanese/chasen/pkg/PLIST Normal file
View file

@ -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