aboutsummaryrefslogtreecommitdiff
path: root/japanese/p5-MeCab
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2006-05-07 08:20:30 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2006-05-07 08:20:30 +0000
commitbca5b5057219625a66325cb635505a810780e96f (patch)
tree9531115534058ea5403aeea1291e65454da919c2 /japanese/p5-MeCab
parent7e78cbff6390a799b927c8d77dde71061a24c757 (diff)
downloadports-bca5b5057219625a66325cb635505a810780e96f.tar.gz
ports-bca5b5057219625a66325cb635505a810780e96f.zip
Notes
Diffstat (limited to 'japanese/p5-MeCab')
-rw-r--r--japanese/p5-MeCab/Makefile20
-rw-r--r--japanese/p5-MeCab/distinfo6
-rw-r--r--japanese/p5-MeCab/pkg-descr8
-rw-r--r--japanese/p5-MeCab/pkg-plist3
4 files changed, 15 insertions, 22 deletions
diff --git a/japanese/p5-MeCab/Makefile b/japanese/p5-MeCab/Makefile
index 90d9e3e25cb0..65b91c264126 100644
--- a/japanese/p5-MeCab/Makefile
+++ b/japanese/p5-MeCab/Makefile
@@ -6,32 +6,28 @@
#
PORTNAME= MeCab
-PORTVERSION= ${MECAB_PORTVERSION}
+PORTVERSION= 0.91
CATEGORIES= japanese textproc perl5
-MASTER_SITES= http://chasen.org/~taku/software/mecab/bindings/
-DISTNAME= ${PORTNAME:L}-perl-${PORTVERSION}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
+MASTER_SITE_SUBDIR= ${PORTNAME:L}/${SUB_DIR}
+DISTNAME= ${PORTNAME:L}-perl-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= MeCab library module for Perl5
-LIB_DEPENDS= mecab.0:${MECAB_PORTDIR}
+LIB_DEPENDS= mecab.1:${PORTSDIR}/japanese/mecab
PERL_CONFIGURE= yes
-
-.include "${.CURDIR}/../mecab/Makefile.common"
+SUB_DIR= 20029
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} < 500600
-IGNORE= requires Perl 5.6.0 or above
-.endif
-
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/examples/mecab
- ${INSTALL_DATA} ${WRKSRC}/test.pl ${PREFIX}/share/examples/mecab/
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/test.pl ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>
diff --git a/japanese/p5-MeCab/distinfo b/japanese/p5-MeCab/distinfo
index aef40ffe66cd..1ede4dcc3e18 100644
--- a/japanese/p5-MeCab/distinfo
+++ b/japanese/p5-MeCab/distinfo
@@ -1,3 +1,3 @@
-MD5 (mecab-perl-0.81.tar.gz) = 0f0d1301b924b0f1c99dd3ed305c4112
-SHA256 (mecab-perl-0.81.tar.gz) = a161c34fb16fda562fb3efe1ee525d5b0036cc0f9ec5f739f58c43a95f884dc8
-SIZE (mecab-perl-0.81.tar.gz) = 17319
+MD5 (mecab-perl-0.91.tar.gz) = b12f57c99790360263c7c80e34013890
+SHA256 (mecab-perl-0.91.tar.gz) = 8df1119711c12867df3463eef1751fa9875938f2fc551b0eb156f8ab27e84cd8
+SIZE (mecab-perl-0.91.tar.gz) = 24305
diff --git a/japanese/p5-MeCab/pkg-descr b/japanese/p5-MeCab/pkg-descr
index 432e3097c995..a62531052307 100644
--- a/japanese/p5-MeCab/pkg-descr
+++ b/japanese/p5-MeCab/pkg-descr
@@ -1,8 +1,4 @@
This is the MeCab library module for Perl5.
-Note that this does not work properly on FreeBSD 4.x or prior
-since mecab is linked with libc_r but perl is with libc, which
-conflict causes memory fault.
-
-Author: Taku Kudoh <taku-ku@is.aist-nara.ac.jp>
-WWW: http://chasen.org/~taku/software/mecab/
+Author: Taku Kudo <taku@chasen.org>
+WWW: http://mecab.sourceforge.jp/
diff --git a/japanese/p5-MeCab/pkg-plist b/japanese/p5-MeCab/pkg-plist
index c7c49ae34e2f..2095b40c16c9 100644
--- a/japanese/p5-MeCab/pkg-plist
+++ b/japanese/p5-MeCab/pkg-plist
@@ -3,4 +3,5 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MeCab/MeCab.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MeCab/MeCab.so
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MeCab
-%%PORTDOCS%%share/examples/mecab/test.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/test.pl
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%