# -*- 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$ PortSystem 1.0 name gnome-session version 2.32.1 revision 3 license LGPL-2+ set branch [join [lrange [split ${version} .] 0 1] .] description Session component for the GNOME 2 desktop long_description \ Session component for the GNOME 2.0 desktop. This package contains the \ commands needed to start GNOME 2.0. maintainers devans openmaintainer categories gnome platforms darwin homepage http://live.gnome.org/SessionManagement master_sites gnome:sources/${name}/${branch}/ checksums sha256 22d93ce433fcf9c7ce6b5f36dd81f64e692ea0e41faaa0f61159ddac28c3686a depends_build port:pkgconfig \ port:intltool depends_lib port:dbus-glib \ port:gtk2 \ port:gconf \ port:upower \ port:xorg-libsm \ port:xorg-libXtst use_bzip2 yes patchfiles patch-gnome-session_main.c.diff configure.args --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib \ --with-gtk=2.0 \ --disable-docbook-docs \ --disable-schemas-install variant docs description {build docbook documentation} { configure.args-delete --disable-docbook-docs configure.args-append --enable-docbook-docs depends_build-append port:xmlto } post-activate { system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor" system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" } livecheck.type regex livecheck.url http://ftp.gnome.org/pub/GNOME/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-([0-9\.]+)}