# $Id: Portfile 88889 2012-01-14 15:49:43Z mww@macports.org $

PortSystem 1.0

name		scummvm
version		1.4.1
platforms       darwin
categories	emulators games
maintainers	mww openmaintainer
license		{GPL-2 BSD}
description	cross-platform interpreter for several adventure engines
long_description	ScummVM is a cross-platform interpreter for several \
			point-and-click adventure engines. This includes all \
			SCUMM-based adventures by LucasArts, Simon the \
			Sorcerer by AdventureSoft, and Beneath a Steel Sky and \
			Broken Sword 2 by Revolution

homepage	http://scummvm.org/
master_sites	sourceforge:project/${name}/${name}/${version}
use_bzip2	yes
checksums           md5     352f98962ef2de8fa0258baf41b21176 \
                    sha1    c8d468105b09ac4a91476bb1914d8c54840a59b9 \
                    rmd160  773de5907141216e3c84657e5d8dc534c42e022a
depends_lib	path:lib/pkgconfig/sdl.pc:libsdl \
		port:libmad \
		port:libogg \
		port:libvorbis \
		port:libpng \
		port:flac

configure.args	--with-sdl-prefix=${prefix} \
		--with-mad-prefix=${prefix} \
		--with-ogg-prefix=${prefix} \
		--with-vorbis-prefix=${prefix} \
		--with-flac-prefix=${prefix} \
		--with-zlib-prefix=${prefix} \
		--with-png-prefix=${prefix} \
		--enable-release \
		--enable-verbose-build

platform darwin {
	destroot.args	INSTALL=/usr/bin/install
}
