# -*- 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-panel version 2.32.1 set branch [join [lrange [split ${version} .] 0 1] .] maintainers devans openmaintainer categories gnome license GPL-2+ LGPL-2+ platforms darwin description Panel component for the GNOME 2 Desktop. long_description \ ${description} homepage http://www.gnome.org/ master_sites gnome:sources/${name}/${branch}/ use_bzip2 yes checksums rmd160 03a440cee7e219b42a0375ae2d2d53fbd17b604b \ sha256 8f7828eb7a21c817a73b697844a4e20256059b32386414a10f97d51e7d9fca5f depends_build port:pkgconfig \ port:intltool \ port:gnome-common \ port:gnome-doc-utils \ port:gtk-doc \ port:shared-mime-info depends_lib port:desktop-file-utils \ port:gnome-desktop \ port:gnome-menus \ port:policykit-gnome \ port:libbonoboui \ port:libcanberra \ port:libgweather \ port:librsvg \ port:libwnck depends_run port:gnome-settings-daemon \ port:yelp patchfiles gmodule.patch use_autoreconf yes autoreconf.args -fvi configure.args --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib \ --with-in-process-applets=all \ --disable-scrollkeeper \ --disable-silent-rules \ --disable-bonobo \ --disable-network-manager \ --disable-eds \ --disable-schemas-install \ --enable-introspection=yes # gobject-introspection uses g-ir-scanner, which uses $CC from env build.args-append CC="${configure.cc} ${configure.cc_archflags}" variant python25 conflicts python26 python27 description {Build using Python 2.5} { configure.python ${prefix}/bin/python2.5 depends_build-append port:python25 } variant python26 conflicts python25 python27 description {Build using Python 2.6} { configure.python ${prefix}/bin/python2.6 depends_build-append port:python26 } variant python27 conflicts python25 python26 description {Build using Python 2.7} { configure.python ${prefix}/bin/python2.7 depends_build-append port:python27 } if {![variant_isset python25] && ![variant_isset python26]} { default_variants +python27 } variant eds description {Enable evolution data server support} { depends_lib-append port:evolution-data-server configure.args-delete --disable-eds } post-activate { system " \ export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`&&\ gconftool-2 --makefile-install-rule \ ${prefix}/etc/gconf/schemas/*.schemas" system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/scrollkeeper-update" } livecheck.type gnome