mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
34f886dcca
PR: 121402 Submitted by: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp> Approved by: maintainer
36 lines
888 B
Makefile
36 lines
888 B
Makefile
# 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>
|