# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 114316 2013-12-05 06:40:58Z devans@macports.org $ PortSystem 1.0 name gnome version 3.10.2 license Permissive categories gnome platforms darwin maintainers devans openmaintainer 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. \ homepage http://www.gnome.org/ master_sites depends_lib port:rarian \ port:desktop-file-utils \ port:gtk3 \ port:shared-mime-info \ port:gconf \ port:gnome3-core \ port:gnome3-apps distfiles use_configure no build { } destroot { file mkdir ${destroot}${prefix}/share/doc system "echo ${long_description} > ${destroot}${prefix}/share/doc/README.${name}.txt" } post-activate { system "${prefix}/bin/scrollkeeper-update" system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications" system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/update-mime-database ${prefix}/share/mime" system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } notes " To start gnome, create a file called ~/.xinitrc.d/99-gnome.sh which contains this line: USERWM=${prefix}/bin/gnome-session See also http://trac.macports.org/wiki/GNOME for instructions and examples Make sure you do not have a custom ~/.xinitrc file, or you can run into problems. " variant office description {Include GNOME office applications} { depends_lib-append port:gnumeric \ port:abiword-x11 \ port:dia \ port:planner } variant graphics description {Include GNOME graphics applications} { depends_lib-append path:bin/inkscape:inkscape \ port:gimp } livecheck.type none