# $Id: Portfile,v 1.9 2006/06/22 01:00:01 rhwood Exp $

PortSystem	1.0
name		gnome
version		2.12.2
categories	gnome
maintainers	gnome-darwinports@opendarwin.org
description	The GNOME Desktop mega-port.
long_description	GNOME is a complete, free and easy-to-use desktop environment for users, as well as a powerful application development framework for software developers. This port includes the GNOME desktop, GNOME platform, and, optionally the GNOME office. 
homepage		http://www.gnome.org/

depends_lib	port:gnome-desktop-suite

distfiles

fetch		{ }
checksum	{ }
configure	{ }
build		{ }
destroot	{ 
	file mkdir ${destroot}${prefix}/share/doc/
	file copy ${filespath}/README.gnome.txt ${destroot}${prefix}/share/doc
}
post-install	{
	ui_msg "To start gnome put \"exec gnome-session\" in your .xinitrc"
	ui_msg "See also http://wiki.opendarwin.org/index.php/DarwinPorts:GNOME"
}

# insert tons'o'variants here 
variant office {
	depends_lib-append bin:gnumeric:gnumeric bin:abiword:abiword-x11 bin:dia:dia
}

variant graphics {
	depends_lib-append bin:sodipodi:sodipodi bin:inkscape:inkscape
}

variant www {
	depends_lib-append bin:galeon:galeon bin:epiphany:epiphany
}
