2001-07-23 11:54:11 +02:00
|
|
|
# New ports collection makefile for: chasen-base
|
|
|
|
# Date created: 23 Jul 2001
|
|
|
|
# Whom: kuriyama
|
|
|
|
#
|
|
|
|
# $NetBSD: Makefile,v 1.2 1999/06/07 09:54:39 sakamoto Exp $
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= chasen
|
2004-05-14 14:55:48 +02:00
|
|
|
PORTVERSION= 2.3.3
|
2004-05-16 07:08:05 +02:00
|
|
|
PORTREVISION= 1
|
2003-04-02 14:32:48 +02:00
|
|
|
CATEGORIES= japanese textproc
|
2001-07-23 11:54:11 +02:00
|
|
|
MASTER_SITES= http://chasen.aist-nara.ac.jp/stable/chasen/
|
|
|
|
PKGNAMESUFFIX= -base
|
|
|
|
|
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
2004-05-14 14:55:48 +02:00
|
|
|
PATCHFILES= chasen-2.3.3.20030821.patch chasen-2.3.3.20030822.patch chasen-2.3.3.20031024.patch
|
|
|
|
PATCH_DIST_STRIP= -p0
|
2001-07-23 11:54:11 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
2003-04-02 14:32:48 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/darts.h:${PORTSDIR}/devel/darts
|
|
|
|
|
2002-05-12 21:51:04 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-05-14 14:55:48 +02:00
|
|
|
CONFIGURE_ARGS= --with-darts=${LOCALBASE}/include --with-libiconv=${LOCALBASE}
|
2004-05-16 07:08:05 +02:00
|
|
|
USE_ICONV= yes
|
2002-05-12 21:51:04 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-03-16 18:33:29 +01:00
|
|
|
|
2001-07-23 11:54:11 +02:00
|
|
|
post-install:
|
2002-03-25 22:14:39 +01:00
|
|
|
${RM} -f ${PREFIX}/lib/libchasen.la
|
2001-07-23 11:54:11 +02:00
|
|
|
${MKDIR} ${PREFIX}/share/chasen/dic
|
2002-03-16 18:33:29 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/chasen/doc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/manual* ${PREFIX}/share/chasen/doc/
|
|
|
|
.endif
|
2001-07-23 11:54:11 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|