# $Id: Portfile,v 1.8 2006/03/13 20:43:47 yves Exp $
PortSystem 1.0
name		epiphany
version		1.4.7
description	A GNOME Web browser.
long_description	A web browser is more than an application, it is a \
			way of thinking, it is a way of seeing the world. \
			Epiphany's principles are simplicity and standards \
			compliance.
maintainers	gnome-darwinports@opendarwin.org
categories	gnome www
platforms	darwin 
homepage	http://www.gnome.org/projects/epiphany
master_sites    gnome:sources/epiphany/1.4/
use_bzip2	yes
checksums	md5 47909f75c6c87581172656ceed8c14b0
depends_lib	bin:mozilla:mozilla bin:gnome-session:gnome-session lib:libiconv.2:libiconv
configure.args	--mandir=${prefix}/share/man
configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
                CFLAGS="-no-cpp-precomp" 
post-destroot   {                 
        # make a da script happen
        file copy ${destroot}${prefix}/bin/epiphany ${destroot}${prefix}/bin/epiphany-bin
        file copy -force ${filespath}/epiphany ${destroot}${prefix}/bin/
	# use da ${prefix} Luke ...
	reinplace "s|/opt/local|${prefix}|g" ${destroot}/${prefix}/bin/epiphany
}
