# $Id: Portfile 30259 2007-10-23 02:31:56Z jmpp@macports.org $

PortSystem		1.0
name			libhangul
version			0.0.4
categories		x11
platforms		darwin
maintainers		nomaintainer
description		A library for hangul processing.
long_description	${description}
			
homepage		http://nabi.kldp.net
master_sites		http://kldp.net/frs/download.php/3733/

depends_lib		port:libiconv
checksums		md5 a32301e03a381917cb2ec836a43a9664
patchfiles		patch-Makefile patch-test

post-patch {
	reinplace "s|__PLATFORM__|ppc|g" \
		${worksrcpath}/test/hangul.c

if { [variant_isset i386] } {
	reinplace "s|__PLATFORM__|i386|g" \
		${worksrcpath}/test/hangul.c
}
}
