mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
38 lines
846 B
Makefile
38 lines
846 B
Makefile
# New ports collection makefile for: p5-MeCab
|
|
# Date created: 23 April 2003
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= MeCab
|
|
PORTVERSION= ${MECAB_PORTVERSION}
|
|
CATEGORIES= japanese textproc perl5
|
|
MASTER_SITES= http://chasen.org/~taku/software/mecab/bindings/
|
|
DISTNAME= ${PORTNAME:L}-perl-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= MeCab library module for Perl5
|
|
|
|
LIB_DEPENDS= mecab.0:${MECAB_PORTDIR}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
.include "${.CURDIR}/../mecab/Makefile.common"
|
|
|
|
.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/
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|