freebsd-ports/japanese/p5-Text-MeCab/Makefile
Marcelo Araujo 4aaab89f57 - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_CPAN} to CPAN.
PR:		ports/122674
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:	araujo (myself)
Approved by:	portmgr (pav)
2008-04-17 14:30:31 +00:00

36 lines
771 B
Makefile

# New ports collection makefile for: p5-TexT-MeCab
# Date created: 30 July 2006
# Whom: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
#
# $FreeBSD$
#
PORTNAME= Text-MeCab
PORTVERSION= 0.20007
CATEGORIES= japanese textproc perl5
MASTER_SITES= CPAN
MAINTAINER= fmysh@iijmio-mail.jp
COMMENT= Alternate Interface To libmecab
LIB_DEPENDS= mecab.1:${PORTSDIR}/japanese/mecab
MAN3= Text::MeCab.3 \
Text::MeCab::Dict.3 \
Text::MeCab::Node.3
PERL_CONFIGURE= yes
CONFIGURE_ARGS= </dev/null
# dictionary encoding (euc-jp, shift_jis, utf-8)
ENCODING?= utf-8
post-patch:
@${REINPLACE_CMD} -e "/default_encoding = /s/utf-8/${ENCODING}/" \
${WRKSRC}/tools/probe_mecab.pl
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
.include <bsd.port.post.mk>