# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@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

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

pre-configure {
	# Copy new versions of config.guess and config.sub for host detection
	set src_dir ${workpath}/${name}-${version}
	system "cp /usr/share/automake-1.6/config.guess ${src_dir}"
	system "cp /usr/share/automake-1.6/config.sub ${src_dir}"

}
