summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-12-29 22:35:53 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-12-29 22:35:53 +0000
commit887d53d3c1a5e381a037348eb69346eb832d1470 (patch)
tree57a3e5dd6a9900751db05952aeb423ea3854660c /japanese
parent- Revert deprecation (diff)
- Update to 2.4.4
PR: 129958 Submitted by: Paul Guyot <pguyot at kallisys dot net>
Notes
Notes: svn path=/head/; revision=224960
Diffstat (limited to 'japanese')
-rw-r--r--japanese/chasen-base/Makefile10
-rw-r--r--japanese/chasen-base/distinfo15
-rw-r--r--japanese/chasen-base/files/patch-dartsdic.cpp19
-rw-r--r--japanese/chasen-base/pkg-plist4
-rw-r--r--japanese/chasen/Makefile2
5 files changed, 14 insertions, 36 deletions
diff --git a/japanese/chasen-base/Makefile b/japanese/chasen-base/Makefile
index 174f859e65cb..502bcf12de0c 100644
--- a/japanese/chasen-base/Makefile
+++ b/japanese/chasen-base/Makefile
@@ -7,16 +7,12 @@
#
PORTNAME= chasen
-PORTVERSION= 2.3.3
-PORTREVISION= 3
+PORTVERSION= 2.4.4
CATEGORIES= japanese textproc
-MASTER_SITES= http://chasen.aist-nara.ac.jp/stable/chasen/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
+MASTER_SITE_SUBDIR= chasen-legacy/32224
PKGNAMESUFFIX= -base
-PATCH_SITES= ${MASTER_SITES}
-PATCHFILES= chasen-2.3.3.20030821.patch chasen-2.3.3.20030822.patch chasen-2.3.3.20031024.patch
-PATCH_DIST_STRIP= -p0
-
MAINTAINER= ports@FreeBSD.org
COMMENT= Japanese Morphological Analysis System
diff --git a/japanese/chasen-base/distinfo b/japanese/chasen-base/distinfo
index f578964b9d70..261f3a852f0b 100644
--- a/japanese/chasen-base/distinfo
+++ b/japanese/chasen-base/distinfo
@@ -1,12 +1,3 @@
-MD5 (chasen-2.3.3.tar.gz) = 629e90d9490bac95606c38c2d344cc5f
-SHA256 (chasen-2.3.3.tar.gz) = a91b422398f30c9c6c2d27fdbcc1aeb8e026ded44d6e729fc060d5d18bfaefdb
-SIZE (chasen-2.3.3.tar.gz) = 425981
-MD5 (chasen-2.3.3.20030821.patch) = 44b14a50c8269f982fc0d59cb580ecc5
-SHA256 (chasen-2.3.3.20030821.patch) = 5eef51a5037fee614675ee8ace0578a046e2fc9e91efd7105b93ae36f4e65a5e
-SIZE (chasen-2.3.3.20030821.patch) = 3496
-MD5 (chasen-2.3.3.20030822.patch) = 22466f08c3916b415d222508fdcc9bbe
-SHA256 (chasen-2.3.3.20030822.patch) = f6662869d61280908233264f211a76750cac6339edf8c7f25efa6b9547717cf7
-SIZE (chasen-2.3.3.20030822.patch) = 2007
-MD5 (chasen-2.3.3.20031024.patch) = 1b8e836d5ed378e6f8b7d43fa8cf7b68
-SHA256 (chasen-2.3.3.20031024.patch) = 7c0b3a6e5ac089e22c43c56d162cfd97f086d1358f2af54e987ee62afaea116e
-SIZE (chasen-2.3.3.20031024.patch) = 1095
+MD5 (chasen-2.4.4.tar.gz) = 42b20d41a33e1f5e7a05cc56aaa548b0
+SHA256 (chasen-2.4.4.tar.gz) = 09e41f681097f87ba6c953d3724c34c1826c3cfa590898a2166fb310a006f932
+SIZE (chasen-2.4.4.tar.gz) = 845720
diff --git a/japanese/chasen-base/files/patch-dartsdic.cpp b/japanese/chasen-base/files/patch-dartsdic.cpp
index 07baf60b7ec6..e9fff6e8596b 100644
--- a/japanese/chasen-base/files/patch-dartsdic.cpp
+++ b/japanese/chasen-base/files/patch-dartsdic.cpp
@@ -1,15 +1,6 @@
---- lib/dartsdic.cpp.orig 2003-07-30 18:06:57.000000000 +0200
-+++ lib/dartsdic.cpp 2008-06-22 21:44:25.000000000 +0200
-@@ -68,7 +68,7 @@
-
- da = (darts_t*)cha_malloc(sizeof(darts_t));
- da->da_mmap = cha_mmap_file(daname);
-- darts->setArray(cha_mmap_map(da->da_mmap));
-+ darts->set_array(cha_mmap_map(da->da_mmap));
- da->da = darts;
- da->lex_mmap = cha_mmap_file(lexname);
- da->dat_mmap = cha_mmap_file(datname);
-@@ -160,7 +160,7 @@
+--- lib/dartsdic.cpp.orig 2008-12-26 15:45:32.000000000 +0000
++++ lib/dartsdic.cpp 2008-12-26 15:46:13.000000000 +0000
+@@ -168,7 +168,7 @@
{
Hash::iterator i, last;
Hash* entries = builder->entries;
@@ -18,11 +9,11 @@
size_t* lens = new size_t[entries->size()];
long* vals = new long[entries->size()];
int size = 0;
-@@ -177,7 +177,7 @@
+@@ -185,7 +185,7 @@
lex_indices.push_back(i->second);
}
lens[size] = key.size();
-- (const char*)keys[size] = key.data();
+- keys[size] = (char*) key.data();
+ keys[size] = (const char*) key.data();
vals[size] = redump_lex(lens[size], lex_indices, tmpfile, lexfile);
if (vals[size] < 0) {
diff --git a/japanese/chasen-base/pkg-plist b/japanese/chasen-base/pkg-plist
index ac7ca9224252..a520be08b5a2 100644
--- a/japanese/chasen-base/pkg-plist
+++ b/japanese/chasen-base/pkg-plist
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2001/01/10 14:45:03 taca Exp $
+@comment $NetBSD: PLIST,v 1.5 2007/08/02 15:03:10 taca Exp $
bin/chasen
bin/chasen-config
include/chasen.h
lib/libchasen.a
lib/libchasen.so
-lib/libchasen.so.0
+lib/libchasen.so.2
libexec/chasen/makeda
libexec/chasen/makemat
@dirrm libexec/chasen
diff --git a/japanese/chasen/Makefile b/japanese/chasen/Makefile
index 6d25249bf7c8..89279ab82be8 100644
--- a/japanese/chasen/Makefile
+++ b/japanese/chasen/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= chasen
-PORTVERSION= 2.3.3
+PORTVERSION= 2.4.4
CATEGORIES= japanese textproc
MASTER_SITES= # empty
DISTFILES= # empty