2013-09-20 20:47:54 +02:00
|
|
|
# Created by: kuriyama
|
2001-07-23 11:54:11 +02:00
|
|
|
|
|
|
|
PORTNAME= chasen
|
2014-04-13 14:40:32 +02:00
|
|
|
PORTVERSION= 2.4.5
|
2015-10-10 16:03:00 +02:00
|
|
|
PORTREVISION= 2
|
2003-04-02 14:32:48 +02:00
|
|
|
CATEGORIES= japanese textproc
|
2020-07-24 08:28:59 +02:00
|
|
|
MASTER_SITES= OSDN/chasen-legacy
|
2001-07-23 11:54:11 +02:00
|
|
|
PKGNAMESUFFIX= -base
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Japanese Morphological Analysis System
|
2001-07-23 11:54:11 +02:00
|
|
|
|
2016-04-01 16:08:37 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/darts.h:devel/darts
|
2003-04-02 14:32:48 +02:00
|
|
|
|
2002-05-12 21:51:04 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2013-09-05 22:18:30 +02:00
|
|
|
CONFIGURE_ARGS= --with-darts=${LOCALBASE}/include ${ICONV_CONFIGURE_BASE}
|
2021-10-20 18:13:15 +02:00
|
|
|
USES= cpe iconv libtool
|
|
|
|
CPE_VENDOR= naist.jp
|
2006-08-15 02:29:13 +02:00
|
|
|
USE_LDCONFIG= yes
|
2014-08-15 20:12:23 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2002-03-16 18:33:29 +01:00
|
|
|
|
2014-07-16 04:29:34 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2015-10-10 16:03:00 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e 's/iconv ()/libiconv ()/' \
|
|
|
|
-e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure
|
|
|
|
|
2001-07-23 11:54:11 +02:00
|
|
|
post-install:
|
2014-04-13 14:40:32 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/chasen/dic
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/manual* ${STAGEDIR}${DOCSDIR}
|
2001-07-23 11:54:11 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|