# -*- 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 PortSystem 1.0 PortGroup gobject_introspection 1.0 name libgtop version 2.40.0 revision 0 license GPL-2 set branch [join [lrange [split ${version} .] 0 1] .] description A library for portably obtaining information about processes long_description ${name} is a library for portably obtaining information \ about processes, such as their PID, memory usage, etc. maintainers {devans @dbevans} openmaintainer categories gnome homepage https://www.gnome.org master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 fc8ce3f9f95de6ede71f8838e3fdddedd3792768 \ sha256 78f3274c0c79c434c03655c1b35edf7b95ec0421430897fb1345a98a265ed2d4 \ size 744316 depends_build-append \ port:gettext \ port:gtk-doc \ path:bin/pkg-config:pkgconfig depends_lib port:gettext-runtime \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:xorg-libXau patchfiles patch-libgtop-sysdeps.m4.diff gobject_introspection \ yes use_autoreconf yes autoreconf.args -fvi configure.args --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib \ --disable-silent-rules # main.c: error: incompatible pointer to integer conversion passing 'char[1024]' # to parameter of type 'pid_t' (aka 'int') [-Wint-conversion] if {${os.platform} eq "darwin" && ${os.major} > 22} { configure.cppflags-append \ -Wno-error=int-conversion } livecheck.type gnome