# $Id: Portfile,v 1.3 2005/09/13 06:19:44 olegb Exp $
PortSystem 1.0
name		mlview
version		0.7.1
description	XML-editor for GNOME.
long_description 	The MlView project is an ongoing effort to develop \
			an xml editor for GNOME environment. 
maintainers	gnome-darwinports@opendarwin.org
categories	gnome
platforms	darwin 
homepage	http://www.freespiders.org/projects/gmlview/
master_sites	gnome:sources/mlview/0.7/
checksums	md5 85383331e5bb6d59293cee5b86595284
depends_lib	lib:libgnomeprintui-2-2:libgnomeprintui
use_bzip2 	yes
configure.args	--mandir=${prefix}/share/man \
		--with-gconf-source="xml::${destroot}/${prefix}/etc/gconf/gconf.xml.defaults"
configure.env   CPPFLAGS="-I${prefix}/include -L${prefix}/lib" \
                CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" 
pre-destroot    { file mkdir -f ${destroot}${prefix}/etc/gconf/gconf.xml.defaults/ }
post-destroot {
	file delete ${destroot}${prefix}/etc/gconf/gconf.xml.defaults/schemas/apps/%gconf.xml
	file delete ${destroot}${prefix}/etc/gconf/gconf.xml.defaults/schemas/%gconf.xml
	file delete ${destroot}${prefix}/etc/gconf/gconf.xml.defaults/apps/%gconf.xml
}
