# $Id: Portfile,v 1.9 2005/10/14 07:09:57 mww Exp $

PortSystem 1.0

name		icu
version		3.4
categories	devel
platforms	darwin
maintainers	darwinports@opendarwin.org
description	International Components for Unicode
long_description	The International Components for Unicode (ICU) libraries provide robust  and full-featured Unicode services on a wide variety of platforms. ICU  supports the most current version of the Unicode standard, and they provide  support for supplementary Unicode characters (needed for GB 18030  repertoire support).
homepage	http://ibm.com/software/globalization/icu/
master_sites	ftp://ftp.software.ibm.com/software/globalization/icu/${version}/
checksums	md5 b19f3b9eec1c44fba86b07f287801084
extract.suffix	.tgz
worksrcdir	${name}/source

pre-configure {
	reinplace "s;install_name ;install_name ${prefix}/lib/;" ${worksrcpath}/config/mh-darwin
}
configure.args	--mandir=${prefix}/share/man

platform darwin 8 {
	configure.env	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}

