aboutsummaryrefslogtreecommitdiff
path: root/japanese/p5-MeCab/Makefile
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/Makefile
parent7e78cbff6390a799b927c8d77dde71061a24c757 (diff)
Notes
Diffstat (limited to 'japanese/p5-MeCab/Makefile')
-rw-r--r--japanese/p5-MeCab/Makefile20
1 files changed, 8 insertions, 12 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>