# $Id: Portfile,v 1.18 2006/03/12 16:16:17 rhwood Exp $
PortSystem 1.0
name		libglade2
version		2.5.1
revision	1
description	GNOME glade library.
long_description        A library that allows you to load GLADE interfaces \
			at runtime (you don't have to generate stubs with \
			GLADE before hand). This way you can change the \
			look of your application without recompiling. \
			This way you can write the logic behind the \
			interface separately from the code to build the \
			interface, so changing the interface is not so \
			much of a problem. 
maintainers	gnome-darwinports@opendarwin.org
categories	gnome
platforms	darwin 
homepage	http://www.gnome.org/
master_sites    gnome:sources/libglade/2.5/
checksums	rmd160 9d8b8720453b9764833facc5ca0abab6f4c9fa41
distname	libglade-${version}
patchfiles	patch_configure

depends_lib \
        port:fontconfig \
        port:xrender \
        port:libxml2 \
        port:gtk2

use_bzip2	yes

configure.args  --mandir=${prefix}/share/man
configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" 

variant use-sys-deps {
	depends_lib \
        lib:libfontconfig.1:fontconfig \
        lib:libXrender.1:xrender \
        lib:libxml2:libxml2 \
        lib:libgtk-x11-2.0:gtk2
}
