# $Id: Portfile 54406 2009-07-26 21:20:40Z toby@macports.org $

PortSystem 1.0

name		openexr
version		1.6.1
revision	1
categories	graphics
maintainers	waqar
use_parallel_build	yes
description	OpenEXR Graphics Library
long_description   \
	OpenEXR is a high dynamic-range (HDR) image file format developed \
	by Industrial Light & Magic for use in computer imaging applications.
homepage	http://www.openexr.org
platforms	darwin
master_sites	http://savannah.nongnu.org/download/openexr
checksums	md5 11951f164f9c872b183df75e66de145a \
		sha1 b3650e6542f0e09daadb2d467425530bc8eec333	\
		rmd160 3670633be841628e9d4c11981661e9d94a9b2711

depends_build	port:libtool
depends_lib	port:ilmbase

patchfiles	patch-configure

configure.args	--mandir=${prefix}/share/man \
		--infodir=${prefix}/share/info

post-configure {
	copy -force ${prefix}/bin/glibtool ${worksrcpath}/libtool
}

test.run	yes
test.target	check
