# $OpenBSD: Makefile,v 1.9 2008/07/25 09:43:31 fgsch Exp $
COMMENT=	japanese handwriting input widget

DISTNAME=	libtomoe-gtk-0.1.0
PKGNAME=	${DISTNAME}p2

HOMEPAGE= 	http://tomoe.sourceforge.jp/
MASTER_SITES=	http://osdn.dl.sourceforge.jp/tomoe/17171/

CATEGORIES=	japanese inputmethods

SHARED_LIBS=	tomoe-gtk	0.0
MODULES=	converters/libiconv devel/gettext

# LGPL
PERMIT_PACKAGE_CDROM=	Yes
PERMIT_DISTFILES_CDROM=	Yes
PERMIT_PACKAGE_FTP=	Yes
PERMIT_DISTFILES_FTP=	Yes

CONFIGURE_ENV=CPPFLAGS=-I${LOCALBASE}/include
CONFIGURE_STYLE=gnu
USE_LIBTOOL=	Yes

LIB_DEPENDS=	gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2 \
		tomoe::inputmethods/tomoe

WANTLIB=	ICE SM Xrender Xext X11 m z png freetype fontconfig \
		Xau Xcomposite Xcursor Xdamage Xdmcp Xfixes Xi Xinerama \
		Xrandr expat pcre \
		gmodule-2.0 glib-2.0 pangocairo-1.0 pango-1.0 \
		pangoft2-1.0 cairo glitz atk-1.0 gobject-2.0 pixman-1

USE_X11=	Yes

.include <bsd.port.mk>
