aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/p5-Text-MeCab/Makefile
blob: 62cb592e9e6a8e5010414b75791af5786ed40934 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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.12
CATEGORIES=     japanese textproc perl5
MASTER_SITES=       ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text

MAINTAINER=     fmysh@iijmio-mail.jp
COMMENT=        Alternate Interface To libmecab

LIB_DEPENDS=        mecab.1:${PORTSDIR}/japanese/mecab

MAN3=           Text::MeCab.3 \
            Text::MeCab::Node.3

PERL_CONFIGURE= yes
IS_INTERACTIVE= yes

post-patch:
    # To prevent CCFLAGS value from being overwritten by the ports system
    @${REINPLACE_CMD} -e 's|CCFLAGS|DEFINE|g' ${WRKSRC}/Makefile.PL

.include <bsd.port.pre.mk>

PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-

.include <bsd.port.post.mk>