# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup compiler_blacklist_versions 1.0 # As of 3.17.90 requires C++11 to build when using gtkmm3 > 3.16.0 # PortGroup cxx11 1.0 name gnome-system-monitor version 3.22.0 license GPL-2+ set branch [join [lrange [split ${version} .] 0 1] .] description A system monitor. long_description A nicer, simpler, easier to use replacement to gtop. \ It uses libgtop for the process monitoring and \ gtktreeview for the viewing. maintainers devans openmaintainer categories gnome platforms darwin homepage https://wiki.gnome.org/Apps/SystemMonitor master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 2ae9bc5b0a73b01815f113bb061d6bf46ee58ae8 \ sha256 4339d36c2f7b702652ee03424a241f855992c583bb437d7083c61d8dcfe3fff8 depends_build port:pkgconfig \ port:intltool \ port:itstool \ port:yelp-tools \ port:gsed \ port:gnome-common \ port:autoconf \ port:automake \ port:libtool depends_lib port:desktop-file-utils \ port:gtkmm3 \ port:libgtop \ port:librsvg \ port:libwnck3 \ port:libxml2 depends_run port:gnome-themes-standard \ port:yelp # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } # requires a compiler that supports C++11 language features compiler.blacklist-append *gcc* {clang < 300} configure.cmd ./autogen.sh configure.args --disable-silent-rules \ --enable-compile-warnings=no \ --enable-wnck \ --disable-systemd \ --disable-schemas-compile post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome