# $Id: Portfile,v 1.32 2005/10/02 17:46:59 mij Exp $

PortSystem 1.0
name		libiconv
version		1.10
revision	1
categories	textproc
platforms	darwin freebsd

maintainers	mij@opendarwin.org
description	Character set conversion library

long_description A character-set conversion library which implements the \
		 iconv() API for dealing with unicode and other types of \
		 conversion.

homepage	http://www.gnu.org/software/libiconv/
master_sites	gnu
checksums	md5 0d621d541e28ff053d8bbcf7215de3a4

configure.args	--enable-static --mandir=${prefix}/share/man

platform darwin 7 { build.env-append MACOSX_DEPLOYMENT_TARGET=10.3
		    configure.env-append MACOSX_DEPLOYMENT_TARGET=10.3 }

platform darwin 8 { build.env-append MACOSX_DEPLOYMENT_TARGET=10.4
		    configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4 }

post-destroot { file delete -force ${destroot}${prefix}/lib/charset.alias }
