# New ports collection makefile for:	iiimf-le-chewing
# Date created:		8 Sep 2004
# Whom:			Kuang-che Wu <kcwu@csie.org>
#
# $FreeBSD: ports/chinese/iiimf-le-chewing/Makefile,v 1.3 2005/03/05 21:47:23 leeym Exp $
#

PORTNAME=	iiimf-le-chewing
PORTVERSION=	0.0.2
PORTEPOCH=	1
CATEGORIES=	chinese textproc
MASTER_SITES=	http://chewing.csie.net/download/iiimf/
DISTNAME=	${PORTNAME:C/-le-/-/}-${PORTVERSION}

MAINTAINER=	kcwu@csie.org
COMMENT=	IIIMF Chewing engine, an intelligent Chinese phonetic input method

LIB_DEPENDS=	chewing.2:${PORTSDIR}/chinese/libchewing
BUILD_DEPENDS=	${LOCALBASE}/include/iiimf/iml/SunIM.h:${PORTSDIR}/textproc/iiimf-headers
RUN_DEPENDS=	${LOCALBASE}/lib/im/htt:${PORTSDIR}/textproc/iiimf-server

USE_XLIB=	yes
USE_ICONV=	yes
USE_LIBTOOL_VER=15
GNU_CONFIGURE=	yes
CPPFLAGS=	-I${LOCALBASE}/include
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}"

.include <bsd.port.mk>
