aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/p5-Text-ChaSen
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-07-23 19:21:25 +0800
committerknu <knu@FreeBSD.org>2001-07-23 19:21:25 +0800
commit8fc8492c9cbd9cea2991774e967dd7d14277eb3c (patch)
treebb3f9a8ab1a3f1ea65fddf390d8ca1cf014b7df0 /japanese/p5-Text-ChaSen
parentf7c1ecedbe9542d3d67c88b689c272d730254723 (diff)
downloadfreebsd-ports-gnome-8fc8492c9cbd9cea2991774e967dd7d14277eb3c.tar.gz
freebsd-ports-gnome-8fc8492c9cbd9cea2991774e967dd7d14277eb3c.tar.zst
freebsd-ports-gnome-8fc8492c9cbd9cea2991774e967dd7d14277eb3c.zip
Update to 1.03 after ChaSen's upgrade to 2.2.7.
Submitted by: kuriyama
Diffstat (limited to 'japanese/p5-Text-ChaSen')
-rw-r--r--japanese/p5-Text-ChaSen/Makefile14
-rw-r--r--japanese/p5-Text-ChaSen/files/patch-ChaSen.pm13
-rw-r--r--japanese/p5-Text-ChaSen/pkg-plist2
3 files changed, 8 insertions, 21 deletions
diff --git a/japanese/p5-Text-ChaSen/Makefile b/japanese/p5-Text-ChaSen/Makefile
index 2e63c3361255..eb60ad1a6a3f 100644
--- a/japanese/p5-Text-ChaSen/Makefile
+++ b/japanese/p5-Text-ChaSen/Makefile
@@ -6,18 +6,18 @@
#
PORTNAME= Text-ChaSen
-PORTVERSION= 0.20
+PORTVERSION= 1.03
CATEGORIES= japanese perl5
-MASTER_SITES= ftp://ftp.aist-nara.ac.jp/pub/lab/nlp/tools/chasen/
-DISTNAME= chasen-sys${CHASEN_VERSION}-ipadic2.1
+MASTER_SITES= http://chasen.aist-nara.ac.jp/stable/chasen/
+DISTNAME= chasen-${CHASEN_VERSION}
MAINTAINER= knu@FreeBSD.org
-LIB_DEPENDS= chasen.0:${PORTSDIR}/japanese/chasen
+LIB_DEPENDS= chasen.0:${PORTSDIR}/japanese/chasen-base
-MD5_FILE= ${.CURDIR}/../chasen/distinfo
+MD5_FILE= ${.CURDIR}/../chasen-base/distinfo
-CHASEN_VERSION= 2.02
+CHASEN_VERSION= 2.2.7
WRKSRC= ${WRKDIR}/chasen-${CHASEN_VERSION}/perl
PERL_CONFIGURE= yes
@@ -31,7 +31,7 @@ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
post-install:
.if !defined(NOPORTDOCS)
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/chasen/ja/README.perl
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/chasen/doc/README.perl
.endif
.include <bsd.port.post.mk>
diff --git a/japanese/p5-Text-ChaSen/files/patch-ChaSen.pm b/japanese/p5-Text-ChaSen/files/patch-ChaSen.pm
deleted file mode 100644
index 373742a116c8..000000000000
--- a/japanese/p5-Text-ChaSen/files/patch-ChaSen.pm
+++ /dev/null
@@ -1,13 +0,0 @@
---- ChaSen.pm.orig Thu Aug 19 17:20:15 1999
-+++ ChaSen.pm Sun Feb 27 02:05:45 2000
-@@ -11,8 +11,8 @@
-
- use Text::ChaSen;
-
-- $res = chasen::getopt_argv('chasen-perl', '-j', '-F', '%m ');
-- $str = chasen::sparse_tostr("日本語の文字列");
-+ $res = Text::ChaSen::getopt_argv('chasen-perl', '-j', '-F', '%m ');
-+ $str = Text::ChaSen::sparse_tostr("日本語の文字列");
-
- =head1 DESCRIPTION
-
diff --git a/japanese/p5-Text-ChaSen/pkg-plist b/japanese/p5-Text-ChaSen/pkg-plist
index 888b98e0d6eb..4fbb0ee9a1c5 100644
--- a/japanese/p5-Text-ChaSen/pkg-plist
+++ b/japanese/p5-Text-ChaSen/pkg-plist
@@ -6,4 +6,4 @@ lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/ChaSen/ChaSen.so
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Text 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/ChaSen 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
-%%PORTDOCS%%share/doc/chasen/ja/README.perl
+%%PORTDOCS%%share/chasen/doc/README.perl