1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/japanese/chasen-base/Makefile
Sunpoet Po-Chuan Hsieh 06bfeeb0b0 Rename MASTER_SITE_SOURCEFORGE_JP to MASTER_SITE_OSDN
PR:		225609
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
2018-03-24 21:12:13 +00:00

35 lines
797 B
Makefile

# Created by: kuriyama
# $FreeBSD$
PORTNAME= chasen
PORTVERSION= 2.4.5
PORTREVISION= 2
CATEGORIES= japanese textproc
MASTER_SITES= OSDN/chasen-legacy/56305
PKGNAMESUFFIX= -base
MAINTAINER= ports@FreeBSD.org
COMMENT= Japanese Morphological Analysis System
BUILD_DEPENDS= ${LOCALBASE}/include/darts.h:devel/darts
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-darts=${LOCALBASE}/include ${ICONV_CONFIGURE_BASE}
USES= iconv libtool
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} \
-e 's/iconv ()/libiconv ()/' \
-e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/chasen/dic
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/manual* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>