# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem 1.0

name		stardict
version		2.4.5
categories	textproc
maintainers	gmail.com:alexandernx
platforms	darwin
description	A full featured gtk2 dictionary
long_description \
	Very nice gnome dictionary. \
	Can handle both local and web dictionaries. \
	Though it needs a handful of gnome libraries for \
	installation.
#I changed the portfile so by default it builds stardict without gnome support.

homepage	http://stardict.sf.net
master_sites	sourceforge
use_bzip2	yes
checksums	md5 78543ca107bf7a70a96ba41313de8883
depends_lib	lib:libgtk-x11-2:gtk2 \
		lib:libpopt:popt \
		port:p5-xml-parser
configure.args	--disable-gnome-support

variant gnome description {Add Gnome support} {
#Should be more stable slower and with gnome deps.
configure.args-delete	--disable-gnome-support
depends_lib-append	lib:libgnome-2:libgnome lib:libgnomeui-2:libgnomeui
}
