# $Id: Portfile,v 1.14 2006/06/24 12:33:02 rhwood Exp $
PortSystem 1.0
name		eog
version		2.14.2
description	An image viewing program.
long_description        This is the Eye of Gnome, an image viewer program. \
			It is meant to be a fast and functional image viewer \
			as well as an image cataloging program.
maintainers	gnome-darwinports@opendarwin.org
categories	gnome
platforms	darwin 
homepage	http://www.gnome.org/
master_sites    gnome:sources/${name}/2.14/
checksums	md5 7653ae35509bd799bccfa4e6d819882a \
			sha1 620e6e613ce106ae286706b6bf057014636c484f \
			rmd160 365dacddc896d7fa1ebc53bc861df30eb1421490

depends_lib port:gnome-platform-suite \
        lib:libiconv.2:libiconv port:fontconfig \
        lib:libXft.2.1.2:Xft2 lib:libaudiofile:audiofile \
        port:fontconfig port:gnome-keyring \
        lib:libexpat:expat \
        bin:perl:perl5.8 \
        port:scrollkeeper \
		lib:libgnomeprintui-2-2:libgnomeprintui port:libexif \
        port:popt

use_bzip2 	yes

configure.args  --mandir=${prefix}/share/man
configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
                CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" 

post-destroot {
	file delete -force ${destroot}${prefix}/var/scrollkeeper
}

post-install {
	system "scrollkeeper-update"
}
