# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem		1.0
name			nabi
version			0.17
categories		x11
platforms		darwin
maintainers		rogers.com:matthew.c
description		Korean Input Method for X11

long_description	Nabi is an easy and powerful GNU XIM, made for \
			entering Hangul(Korean) in the X Window system. \
			It can be used for free and distributed under \
			the GNU license. There are many systems using \
			Nabi as default XIM for Korean.
			
homepage		http://nabi.kldp.net
master_sites		http://kldp.net/frs/download.php/3742/
distname		nabi-${version}

depends_build		path:bin/pkg-config:pkgconfig
depends_lib		port:gtk2 port:libhangul
checksums		md5 8746890ea666ac1b7ae6db77993c6592

post-activate {
ui_msg "\n

You must add an environment variable to your ~/.profile with this statement:

	export XMODIFIERS=\"@im=nabi\"
\n"
}
