# $Id: Portfile 84428 2011-09-26 09:21:24Z jmr@macports.org $

PortSystem 1.0

name		ilmbase
version		1.0.2
categories	graphics
license		BSD
maintainers	waqar openmaintainer
use_parallel_build	yes
description	OpenEXR ILM Base libraries
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.com/
platforms	darwin
master_sites	http://savannah.nongnu.org/download/openexr

checksums       sha1    fe6a910a90cde80137153e25e175e2b211beda36 \
                rmd160  40aed65079ee174be8ed237e5def941ae2b761b3

depends_build	port:libtool port:gsed

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

livecheck.type  regex
livecheck.url   ${homepage}downloads.html
livecheck.regex $name-(\\d+(?:\\.\\d+)*)
