# -*- 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-applets version 2.32.0 set branch [join [lrange [split ${version} .] 0 1] .] description GNOME panel applets. long_description This package contains applets for use with the \ GNOME panel. maintainers devans openmaintainer categories gnome license GPL-2+ platforms darwin homepage http://www.gnome.org/ master_sites gnome:sources/${name}/${branch}/ use_bzip2 yes checksums rmd160 9a2a9e37a865c0cd88003cfd0d07272d61d9fcd3 \ sha256 3b2611b3253ed5418f37c83d710918e93476a783637ddb4ef7e5eab7a83a4c1b depends_build port:pkgconfig \ port:intltool \ port:gnome-doc-utils depends_lib port:gnome-icon-theme \ port:gconf \ port:libpanel-applet2 \ port:gnome-panel \ port:gnome-desktop \ port:libgtop \ port:libgnomekbd \ port:gnome-settings-daemon \ port:libwnck \ port:libnotify \ port:policykit-gnome \ port:gucharmap \ port:libxml2 \ port:libgweather \ port:gstreamer010-gst-plugins-base patchfiles patch-configure.diff variant python25 conflicts python26 python27 description {Use python 2.5} { configure.python ${prefix}/bin/python2.5 depends_lib-append port:py25-pygtk set python_framework ${frameworks_dir}/Python.framework/Versions/2.5 configure.pkg_config_path ${python_framework}/lib/pkgconfig } variant python26 conflicts python25 python27 description {Use python 2.6} { configure.python ${prefix}/bin/python2.6 depends_lib-append port:py26-pygtk set python_framework ${frameworks_dir}/Python.framework/Versions/2.6 configure.pkg_config_path ${python_framework}/lib/pkgconfig } variant python27 conflicts python25 python26 description {Use python 2.7} { configure.python ${prefix}/bin/python2.7 depends_lib-append port:py27-pygtk set python_framework ${frameworks_dir}/Python.framework/Versions/2.7 configure.pkg_config_path ${python_framework}/lib/pkgconfig } if {![variant_isset python25] && ![variant_isset python26]} { default_variants +python27 } configure.args --without-hal \ --enable-mixer-applet \ --disable-battstat \ --disable-cpufreq \ --disable-frequency-selector \ --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib \ --disable-scrollkeeper \ --disable-schemas-install post-activate { system "scrollkeeper-update" 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 gnome