# $Id: Portfile 62925 2010-01-22 02:51:13Z jmr@macports.org $

PortSystem		1.0
name			gtk2-extra
version		2.1.1
categories		x11 devel
platforms		darwin
maintainers		kix.in:anant
description		Extra GTK+2 Widgets

long_description	GtkExtra is a useful set of widgets for creating \
			GUIs for the Xwindows system using GTK+2. You can \
			use it complementary to GTK+ and it is written in \
			C. It is also Free Software and released under the \
			LGPL license.
			
homepage		http://gtkextra.sourceforge.net
master_sites		sourceforge:scigraphica
distname		gtk+extra-${version}

depends_lib		lib:libgtk.2:gtk2
depends_build		port:automake

checksums		md5 1a933ca1286829383a0554cc2deb9e04 \
			sha1 94d7ae9cb3aef05159cfff148265fc9ce0973980 \
			rmd160 7134fe4c5aaaa45ee3a7e651f3c477ba7c477214

pre-configure {
	# Copy new versions of config.guess and config.sub for host detection
	file copy -force ${prefix}/share/automake-1.11/config.guess ${worksrcpath}
	file copy -force ${prefix}/share/automake-1.11/config.sub ${worksrcpath}
}
