aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/mecab-ipadic/Makefile
blob: 95eb5f2254d6772d80a1c644ca64b9d3c579e81c (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
34
35
# New ports collection makefile for:    mecab-ipadic
# Date created:     2006-05-07
# Whom:         TAKATSU Tomonari <tota@rtfm.jp>
#
# $FreeBSD$
#

PORTNAME=   mecab
DISTVERSION=    2.7.0-20070801
CATEGORIES= japanese textproc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMESUFFIX=  -ipadic
DISTNAME=   ${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSION}

MAINTAINER= yasu@utahime.org
COMMENT=    Japanese Morphological Dictionary for MeCab

BUILD_DEPENDS=  ja-mecab>=0.94:${PORTSDIR}/japanese/mecab

USE_PERL5_BUILD=    yes
GNU_CONFIGURE=      yes
CONFIGURE_ARGS+=    --with-dicdir=${PREFIX}/lib/mecab/dic/ipadic

# Set charset (euc-jp/shift_jis/utf-8)
.if defined(WITH_CHARSET)
CONFIGURE_ARGS+=    --with-charset=${WITH_CHARSET}
.endif

pre-everything::
    @${ECHO_MSG} ""
    @${ECHO_MSG} "  WITH_CHARSET=charset  sets default charset (euc-jp/shift_jis/utf-8)"
    @${ECHO_MSG} ""

.include <bsd.port.mk>