# $Id: Portfile 85361 2011-10-13 02:19:06Z rmstonecipher@macports.org $

PortSystem 1.0

name		openexr
version		1.7.0
categories	graphics
license		BSD
maintainers	waqar openmaintainer
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     27113284f7d26a58f853c346e0851d7a \
                    sha1    91d0d4e69f06de956ec7e0710fc58ec0d4c4dc2b \
                    rmd160  410ae4490988067cc80324e776b52ae6a261f157

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
