Portfile

# $Id: Portfile 22667 2007-03-09 09:58:05Z rhwood@macports.org $

PortSystem 1.0
name gnome
version 2.16.2
categories gnome
maintainers nomaintainer@macports.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-activate {
ui_msg "To start gnome put \"exec gnome-session\" in your .xinitrc"
ui_msg "See also http://svn.macosforge.org/projects/macports/wiki/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
}

files