mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Update to 0.91.
PR: ports/96889 Submitted by: TAKATSU Tomonari <tota@rtfm.jp>
This commit is contained in:
parent
7e78cbff63
commit
bca5b50572
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161544
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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/
|
||||
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user