summaryrefslogtreecommitdiff
path: root/japanese/chasen
diff options
context:
space:
mode:
authorsakamoto <sakamoto>1999-06-07 09:54:39 +0000
committersakamoto <sakamoto>1999-06-07 09:54:39 +0000
commitbbd5bdb2dcd802fafc4f6301542b5ada2adaf802 (patch)
treeb922c355c739fdd0ac96413fca7dddc237f28d3f /japanese/chasen
parent93e731d0c8df80a2dccdbcb9b597da0911975b48 (diff)
downloadpkgsrc-bbd5bdb2dcd802fafc4f6301542b5ada2adaf802.tar.gz
Adapt this package to NetBSD.
Update chasen 1.51 to 2.0b6.
Diffstat (limited to 'japanese/chasen')
-rw-r--r--japanese/chasen/Makefile24
-rw-r--r--japanese/chasen/files/md54
-rw-r--r--japanese/chasen/patches/patch-aa13
-rw-r--r--japanese/chasen/pkg/PLIST24
4 files changed, 33 insertions, 32 deletions
diff --git a/japanese/chasen/Makefile b/japanese/chasen/Makefile
index f97bb9ccbd6..3ee09f64a70 100644
--- a/japanese/chasen/Makefile
+++ b/japanese/chasen/Makefile
@@ -1,23 +1,19 @@
-# 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 $
-#
+# $NetBSD: Makefile,v 1.2 1999/06/07 09:54:39 sakamoto Exp $
+# FreeBSD Id: Makefile,v 1.3 1998/10/27 14:31:25 kuriyama Exp $
-DISTNAME= chasen-sys1.51-dic1.5
-PKGNAME= ja-chasen-1.51
+DISTNAME= chasen-sys2.0b6-ipadic1.0
+PKGNAME= chasen-2.0b6
CATEGORIES= japanese
-MASTER_SITES= ftp://ftp.aist-nara.ac.jp/pub/nlp/tools/chasen/ \
- http://www.freebsd.org/~kuriyama/distfiles/
+MASTER_SITES= ftp://ftp.aist-nara.ac.jp/pub/lab/nlp/tools/chasen/ \
+ http://cactus.aist-nara.ac.jp/~akira-k/cha/arc/
-MAINTAINER= kuriyama@FreeBSD.ORG
+MAINTAINER= tech-pkg-ja@jp.netbsd.org
+HOMEPAGE= http://cactus.aist-nara.ac.jp/lab/nlt/chasen.html
-WRKSRC= ${WRKDIR}/chasen1.51
+WRKSRC= ${WRKDIR}/chasen-2.0b6
post-build:
${ECHO_MSG} "Making dictionaries"
(cd ${WRKSRC}; ${MAKE} dic)
-.include <bsd.port.mk>
+.include "../../mk/bsd.pkg.mk"
diff --git a/japanese/chasen/files/md5 b/japanese/chasen/files/md5
index 93bc6b91111..a5337212e7a 100644
--- a/japanese/chasen/files/md5
+++ b/japanese/chasen/files/md5
@@ -1 +1,3 @@
-MD5 (chasen-sys1.51-dic1.5.tar.gz) = 870b08939b216064597a34be8ce3bf52
+$NetBSD: md5,v 1.2 1999/06/07 09:54:39 sakamoto Exp $
+
+MD5 (chasen-sys2.0b6-ipadic1.0.tar.gz) = af7d083065f826f7e9158f2de1c9f3de
diff --git a/japanese/chasen/patches/patch-aa b/japanese/chasen/patches/patch-aa
index 73207f7d087..95aed29893f 100644
--- a/japanese/chasen/patches/patch-aa
+++ b/japanese/chasen/patches/patch-aa
@@ -1,11 +1,12 @@
---- Makefile~ Mon Jul 28 21:55:58 1997
-+++ Makefile Thu Oct 22 00:46:10 1998
-@@ -19,7 +19,7 @@
+$NetBSD: patch-aa,v 1.2 1999/06/07 09:54:39 sakamoto Exp $
+--- ./Makefile.orig Thu Apr 22 17:08:15 1999
++++ ./Makefile Mon Jun 7 18:09:47 1999
+@@ -17,6 +17,6 @@
# --- install directories
- BINDIR = /usr/local/bin
+-BINDIR = /usr/local/bin
-LIBDIR = /usr/local/lib/chasen
-+LIBDIR = /usr/local/share/chasen
++BINDIR = $(PREFIX)/bin
++LIBDIR = $(PREFIX)/share/chasen
MKDICDIR = $(LIBDIR)/mkchadic
DICDIR = $(LIBDIR)/dic
-
diff --git a/japanese/chasen/pkg/PLIST b/japanese/chasen/pkg/PLIST
index a6de1960467..89be5e2d470 100644
--- a/japanese/chasen/pkg/PLIST
+++ b/japanese/chasen/pkg/PLIST
@@ -1,21 +1,23 @@
+@comment $NetBSD: PLIST,v 1.2 1999/06/07 09:54:39 sakamoto Exp $
bin/chasen
share/chasen/chasenrc
+share/chasen/dic/Makefile
+share/chasen/dic/cforms.cha
+share/chasen/dic/chadic.ary
+share/chasen/dic/chadic.int
+share/chasen/dic/chadic.pat
+share/chasen/dic/chasenrc
+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
share/chasen/mkchadic/convgram
share/chasen/mkchadic/makeint
share/chasen/mkchadic/makemat
+share/chasen/mkchadic/mkary
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