# $Id: Portfile 83390 2011-08-31 07:13:22Z jmr@macports.org $

PortSystem 1.0
PortGroup cmake	1.0

name			hugin-app
version			2011.0.0
revision		2
categories		graphics
maintainers		gmail.com:hvdwolf \
			auckland.ac.nz:p.schmiedeskamp
description		Panorama photo stitcher
long_description	An easy to use cross-platform panoramic imaging \
			toolchain based on Panorama Tools. With hugin you \
			can assemble a mosaic of photographs into a complete \
			immersive panorama, stitch any series of overlapping \
			pictures and much more.

homepage		http://hugin.sourceforge.net
platforms		darwin
supported_archs	i386 ppc

master_sites		sourceforge:hugin
distname 		hugin-${version}
use_bzip2		yes

depends_build-append port:pkgconfig
depends_lib		port:boost \
			port:wxWidgets \
			port:openexr \
			port:exiv2 \
			port:libpano13 \
			port:glew \
			port:libxml2

depends_run		port:enblend \
			port:p5.12-image-exiftool

checksums		md5 ac8a129b4c3021233df6d9368c8164cf \
			sha1 22e1ad3846291a9bbe58570683e213921a6f0116 \
			rmd160 1388980580ecba70a0d47597ddf06df9b85ab2b5

# As we are dependent on wxWidgets we can't build universal even though
# hugin itself does allow it
universal_variant	no
use_parallel_build	no
