aboutsummaryrefslogtreecommitdiff
path: root/japanese/p5-Text-ChaSen
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-07-23 11:21:25 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-07-23 11:21:25 +0000
commit720e18a658f40b4a5af6b7f50def071203517a19 (patch)
tree966022de3bee87d2e55ac3bf837634946413f531 /japanese/p5-Text-ChaSen
parent632a81b501af39f262f941fbfb66ca8ea44b6bc9 (diff)
downloadports-720e18a658f40b4a5af6b7f50def071203517a19.tar.gz
ports-720e18a658f40b4a5af6b7f50def071203517a19.zip
Notes
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