dc375268a6
PR: ports/101252 Submitted by: TAOKA Fumiyoshi Approved by: TAKATSU Tomonari (maintainer)
37 lines
870 B
Makefile
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>
|