freebsd-ports/japanese/mecab-ipadic/Makefile
Ion-Mihai Tetcu dc375268a6 Add WITH_CHARSET knob to allow user to set default charset.
PR:		ports/101252
Submitted by:	TAOKA Fumiyoshi
Approved by:	TAKATSU Tomonari (maintainer)
2006-09-09 11:50:34 +00:00

37 lines
870 B
Makefile

# New ports collection makefile for: mecab-ipadic
# Date created: 2006-05-07
# Whom: TAKATSU Tomonari <tota@rtfm.jp>
#
# $FreeBSD$
#
PORTNAME= mecab-ipadic
PORTVERSION= 2.7.0
PORTREVISION= 1
CATEGORIES= japanese textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= ${PORTNAME:S/-ipadic//}/${SUB_DIR}
DISTNAME= ${PORTNAME}-${PORTVERSION}-${DISTVERSION}
MAINTAINER= tota@rtfm.jp
COMMENT= Japanese Morphological Dictionary for MeCab
BUILD_DEPENDS= mecab-config:${PORTSDIR}/japanese/mecab
DISTVERSION= 20060707
SUB_DIR= 20904
USE_PERL5_BUILD= yes
GNU_CONFIGURE= yes
# Set charset (euc-jp/sjis_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/sjis_jis/utf-8)"
@${ECHO_MSG} ""
.include <bsd.port.mk>