summaryrefslogtreecommitdiff
path: root/japanese/p5-MeCab
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-08-18 19:25:59 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-08-18 19:25:59 +0000
commitfa92d445b6b8063df6c9ce56fc71a78cd07a3ee9 (patch)
tree600aeb3548bb4e497ed51190c1933e0dcd3d8e5b /japanese/p5-MeCab
parentUpdate to 0.9. (diff)
Update to 0.76. Pthread is not required any longer.
Diffstat (limited to 'japanese/p5-MeCab')
-rw-r--r--japanese/p5-MeCab/Makefile9
-rw-r--r--japanese/p5-MeCab/distinfo1
-rw-r--r--japanese/p5-MeCab/pkg-plist10
3 files changed, 8 insertions, 12 deletions
diff --git a/japanese/p5-MeCab/Makefile b/japanese/p5-MeCab/Makefile
index d45aa84748ff..c49b977c139e 100644
--- a/japanese/p5-MeCab/Makefile
+++ b/japanese/p5-MeCab/Makefile
@@ -8,13 +8,12 @@
PORTNAME= MeCab
PORTVERSION= ${MECAB_PORTVERSION}
CATEGORIES= japanese textproc perl5
-MASTER_SITES= # none
-DISTFILES= # none
+MASTER_SITES= http://cl.aist-nara.ac.jp/~taku-ku/software/mecab/bindings/
+DISTNAME= ${PORTNAME:L}-perl-${PORTVERSION}
MAINTAINER= knu@FreeBSD.org
COMMENT= MeCab library module for Perl5
-EXTRACT_DEPENDS= ${NONEXISTENT}:${MECAB_PORTDIR}:patch
LIB_DEPENDS= mecab.0:${MECAB_PORTDIR}
PERL_CONFIGURE= yes
@@ -25,10 +24,6 @@ PERL_CONFIGURE= yes
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
-do-extract:
- ${MKDIR} ${WRKDIR}
- ${LN} -fs `${MECAB_WRKSRC_CMD}`/perl ${WRKSRC}
-
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/mecab
diff --git a/japanese/p5-MeCab/distinfo b/japanese/p5-MeCab/distinfo
new file mode 100644
index 000000000000..aea5829599ef
--- /dev/null
+++ b/japanese/p5-MeCab/distinfo
@@ -0,0 +1 @@
+MD5 (mecab-perl-0.76.tar.gz) = 3517d8d3d5a744d365c7c6dd7e0c8184
diff --git a/japanese/p5-MeCab/pkg-plist b/japanese/p5-MeCab/pkg-plist
index 362a722409e4..c7c49ae34e2f 100644
--- a/japanese/p5-MeCab/pkg-plist
+++ b/japanese/p5-MeCab/pkg-plist
@@ -1,6 +1,6 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/MeCab.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MeCab/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MeCab/MeCab.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MeCab/MeCab.so
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MeCab
+%%SITE_PERL%%/%%PERL_ARCH%%/MeCab.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MeCab/.packlist
+%%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