source: trunk/dports/gnome/gnome-system-monitor/Portfile

Last change on this file was 153447, checked in by devans@…, 12 months ago

gnome-system-monitor: update to version 3.22.0, disable compile warnings.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1# -*- 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
2# $Id: Portfile 153447 2016-09-30 12:22:43Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           compiler_blacklist_versions 1.0
6
7# As of 3.17.90 requires C++11 to build when using gtkmm3 > 3.16.0
8# PortGroup           cxx11 1.0
9
10name                gnome-system-monitor
11version             3.22.0
12license             GPL-2+
13set branch          [join [lrange [split ${version} .] 0 1] .]
14description         A system monitor.
15long_description    A nicer, simpler, easier to use replacement to gtop. \
16                    It uses libgtop for the process monitoring and \
17                    gtktreeview for the viewing.
18maintainers         devans openmaintainer
19categories          gnome
20platforms           darwin
21homepage            https://wiki.gnome.org/Apps/SystemMonitor
22master_sites        gnome:sources/${name}/${branch}/
23
24use_xz              yes
25
26checksums           rmd160  2ae9bc5b0a73b01815f113bb061d6bf46ee58ae8 \
27                    sha256  4339d36c2f7b702652ee03424a241f855992c583bb437d7083c61d8dcfe3fff8
28
29depends_build       port:pkgconfig \
30                    port:intltool \
31                    port:itstool \
32                    port:yelp-tools \
33                    port:gsed \
34                    port:gnome-common \
35                    port:autoconf \
36                    port:automake \
37                    port:libtool
38
39depends_lib         port:desktop-file-utils \
40                    port:gtkmm3 \
41                    port:libgtop \
42                    port:librsvg \
43                    port:libwnck3 \
44                    port:libxml2
45
46depends_run         port:gnome-themes-standard \
47                    port:yelp
48
49# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
50
51post-patch {
52    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
53}
54
55# requires a compiler that supports C++11 language features
56compiler.blacklist-append  *gcc* {clang < 300}
57
58configure.cmd       ./autogen.sh
59
60configure.args      --disable-silent-rules \
61                    --enable-compile-warnings=no \
62                    --enable-wnck \
63                    --disable-systemd \
64                    --disable-schemas-compile
65
66post-activate {
67    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
68    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
69}
70
71livecheck.type      gnome
Note: See TracBrowser for help on using the repository browser.