summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/chasen/Makefile31
-rw-r--r--japanese/chasen/files/md53
-rw-r--r--japanese/chasen/files/patch-sum8
-rw-r--r--japanese/chasen/patches/patch-aa35
-rw-r--r--japanese/chasen/patches/patch-ac14
-rw-r--r--japanese/chasen/pkg/COMMENT2
-rw-r--r--japanese/chasen/pkg/DESCR2
-rw-r--r--japanese/chasen/pkg/PLIST23
8 files changed, 26 insertions, 92 deletions
diff --git a/japanese/chasen/Makefile b/japanese/chasen/Makefile
index 38264cb8dbd..5d813e5bba3 100644
--- a/japanese/chasen/Makefile
+++ b/japanese/chasen/Makefile
@@ -1,20 +1,23 @@
-# $NetBSD: Makefile,v 1.3 2001/01/07 13:30:57 taca Exp $
-# FreeBSD Id: Makefile,v 1.3 1998/10/27 14:31:25 kuriyama Exp $
+# $NetBSD: Makefile,v 1.4 2001/01/10 14:52:53 taca Exp $
+#
-DISTNAME= chasen-sys2.02-ipadic2.1
-PKGNAME= chasen-2.02
-CATEGORIES= japanese
-MASTER_SITES= ftp://ftp.aist-nara.ac.jp/pub/lab/nlp/tools/chasen/ \
- http://cl.aist-nara.ac.jp/lab/nlt/chasen/package/
+DISTNAME= chasen-2.2.1
+CATEGORIES= japanese
+MASTER_SITES= # empty
+DISTFILES= # empty
-MAINTAINER= tech-pkg-ja@jp.netbsd.org
-HOMEPAGE= http://cactus.aist-nara.ac.jp/lab/nlt/chasen.html
+MAINTAINER= tech-pkg-ja@jp.netbsd.org
+HOMEPAGE= http://chasen.aist-nara.ac.jp/
-WRKSRC= ${WRKDIR}/chasen-2.02
-MAKEENV+= LOCALBASE=\"${LOCALBASE}\"
+DEPENDS+= chasen-base>=2.2.1:../../japanese/chasen-base
+DEPENDS+= ipadic>=2.4.1:../../japanese/ipadic
-post-build:
- ${ECHO_MSG} "Making dictionaries"
- (cd ${WRKSRC}; ${MAKE} dic)
+EXTRACT_ONLY= # empty
+NO_CHECKSUM= # defined
+NO_PATCH= # defined
+NO_CONFIGURE= # defined
+NO_BUILD= # defined
+
+do-install: # empty
.include "../../mk/bsd.pkg.mk"
diff --git a/japanese/chasen/files/md5 b/japanese/chasen/files/md5
deleted file mode 100644
index 56942f6ddfc..00000000000
--- a/japanese/chasen/files/md5
+++ /dev/null
@@ -1,3 +0,0 @@
-$NetBSD: md5,v 1.3 2001/01/07 13:30:57 taca Exp $
-
-MD5 (chasen-sys2.02-ipadic2.1.tar.gz) = d0f05a0f348205f751fa6f3d1f333710
diff --git a/japanese/chasen/files/patch-sum b/japanese/chasen/files/patch-sum
index 04984e772a3..29eb12bc817 100644
--- a/japanese/chasen/files/patch-sum
+++ b/japanese/chasen/files/patch-sum
@@ -1,4 +1,6 @@
-$NetBSD: patch-sum,v 1.2 2001/01/07 13:30:57 taca Exp $
+$NetBSD: patch-sum,v 1.3 2001/01/10 14:52:55 taca Exp $
-MD5 (patch-aa) = 791ce255e5fc375e696cdf6319d8b470
-MD5 (patch-ac) = 73b3cb4c67d49c4f90a5c6fe3d855b06
+This placeholder file is generated by the ``makepatchsum'' target
+whenever the patches directory is empty or missing. Its purpose
+is to ensure that the presence of any obsolete patches will cause
+the proper error to be emitted at build time.
diff --git a/japanese/chasen/patches/patch-aa b/japanese/chasen/patches/patch-aa
deleted file mode 100644
index 1e1c3e4b104..00000000000
--- a/japanese/chasen/patches/patch-aa
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2001/01/07 13:30:57 taca Exp $
-
---- Makefile.orig Wed Dec 29 01:12:01 1999
-+++ Makefile
-@@ -9,7 +9,7 @@
- #
-
- # --- commands & flags
--CC = gcc
-+CC = cc
- CFLAGS = -O2
- CCOUT =
- LDFLAGS =
-@@ -19,9 +19,9 @@
-
- # --- installation files and directories
- CHASEN = chasen
--BINDIR = /usr/local/bin
--LIBDIR = /usr/local/lib/chasen
--MKDICDIR = $(LIBDIR)/mkchadic
-+BINDIR = ${LOCALBASE}/bin
-+LIBDIR = ${LOCALBASE}/share/chasen
-+MKDICDIR = ${LOCALBASE}/libexec/mkchadic
- DICDIR = $(LIBDIR)/dic
-
- # --- user definitions
-@@ -32,7 +32,7 @@
- #KOCHA = -DKOCHA2 -DVGRAM # Korean language version
- #SJIS = -DSJIS
-
--RCPATH = $(DICDIR)/chasenrc
-+RCPATH = $(LIBDIR)/chasenrc
- SYSVER = 2.02
- DICNAME = ipadic
- DICVER = 2.1
diff --git a/japanese/chasen/patches/patch-ac b/japanese/chasen/patches/patch-ac
deleted file mode 100644
index 6a03950256e..00000000000
--- a/japanese/chasen/patches/patch-ac
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2001/01/07 13:30:58 taca Exp $
-
---- dic/Makefile.orig Wed Dec 29 11:19:41 1999
-+++ dic/Makefile
-@@ -73,7 +73,8 @@
- install:
- -mkdir -p $(DICDIR)
- sed 's#^MKDICDIR.*$$#MKDICDIR=$(MKDICDIR)#' Makefile > $(DICDIR)/Makefile
-- -$(CP) *.cha chadic.* chasenrc $(DICDIR)
-+ -$(CP) chasenrc $(LIBDIR)
-+ -$(CP) *.cha chadic.* $(DICDIR)
- # -$(CP) chasen.* *.cha chadic.* chasenrc $(DICDIR)
-
- clean:
diff --git a/japanese/chasen/pkg/COMMENT b/japanese/chasen/pkg/COMMENT
index 55ccb1734ec..33160c880b6 100644
--- a/japanese/chasen/pkg/COMMENT
+++ b/japanese/chasen/pkg/COMMENT
@@ -1 +1 @@
-Japanese Morphological Analysis System
+ChaSen, Japanese Morphological Analysis System
diff --git a/japanese/chasen/pkg/DESCR b/japanese/chasen/pkg/DESCR
index 55ccb1734ec..6fd66ffb095 100644
--- a/japanese/chasen/pkg/DESCR
+++ b/japanese/chasen/pkg/DESCR
@@ -1 +1 @@
-Japanese Morphological Analysis System
+ChaSen, Japanese Morphological Analysis System.
diff --git a/japanese/chasen/pkg/PLIST b/japanese/chasen/pkg/PLIST
index be0920f44c0..3ca5a5559d8 100644
--- a/japanese/chasen/pkg/PLIST
+++ b/japanese/chasen/pkg/PLIST
@@ -1,21 +1,2 @@
-@comment $NetBSD: PLIST,v 1.3 2001/01/07 13:30:58 taca Exp $
-bin/chasen
-libexec/mkchadic/convdic
-libexec/mkchadic/makeint
-libexec/mkchadic/makemat
-libexec/mkchadic/mkary
-libexec/mkchadic/pattool
-libexec/mkchadic/sortdic
-@dirrm libexec/mkchadic
-share/chasen/chasenrc
-share/chasen/dic/Makefile
-share/chasen/dic/cforms.cha
-share/chasen/dic/chadic.int
-share/chasen/dic/chadic.pat
-share/chasen/dic/connect.cha
-share/chasen/dic/ctypes.cha
-share/chasen/dic/grammar.cha
-share/chasen/dic/matrix.cha
-share/chasen/dic/table.cha
-@dirrm share/chasen/dic
-@dirrm share/chasen
+@comment $NetBSD: PLIST,v 1.4 2001/01/10 14:52:57 taca Exp $
+@comment this plist intentionally left empty