# -*- 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 PortGroup gobject_introspection 1.0 name gnome-panel version 3.22.0 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 https://wiki.gnome.org/Projects/GnomePanel master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 fecbcaf44c9e7dd8bd14ce5b28a0dc7a6676d335 \ sha256 978f8332b4e8cf9450c3f7a858e99e9a7103a1606d700cec965d641c13427c90 depends_build port:pkgconfig \ port:intltool \ port:gtk-doc \ port:itstool \ port:yelp-tools \ port:autoconf \ port:automake \ port:libtool \ port:python27 depends_lib port:desktop-file-utils \ port:gtk3 \ port:dconf \ port:gdm \ port:gnome-desktop \ port:gnome-menus \ port:policykit \ port:libgweather \ port:librsvg \ port:libwnck3 \ port:xorg-libX11 \ port:xorg-libXau \ port:xorg-libice \ port:xorg-libsm \ port:xorg-libXrandr depends_run port:gnome-themes-standard \ port:nautilus \ port:yelp gobject_introspection yes patchfiles patch-m4-ax_compiler_flags_ldflags.m4.diff # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.cmd ./autogen.sh configure.python ${prefix}/bin/python2.7 configure.args --disable-silent-rules \ --enable-compile-warnings=no \ --disable-eds \ --disable-schemas-compile variant eds description {Enable evolution data server support} { depends_lib-append port:evolution-data-server configure.args-delete --disable-eds } if {[variant_isset eds]} { universal_variant no } post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome