# Created by: kuriyama # $FreeBSD: head/japanese/chasen-base/Makefile 543005 2020-07-24 06:28:59Z rigoletto $ PORTNAME= chasen PORTVERSION= 2.4.5 PORTREVISION= 2 CATEGORIES= japanese textproc MASTER_SITES= OSDN/chasen-legacy 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