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

Last change on this file since 119533 was 119533, checked in by devans@…, 6 years ago

dependents of libgtop: rebuild with version 2.30 due to ABI change.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 119533 2014-04-29 16:31:59Z devans@macports.org $
3
4PortSystem      1.0
5
6name            gnome-system-monitor
7version         3.12.1
8revision        1
9license         GPL-2+
10set branch      [join [lrange [split ${version} .] 0 1] .]
11description     A system monitor.
12long_description \
13                A nicer, simpler, easier to use replacement to gtop. \
14                It uses libgtop for the process monitoring and \
15                gtktreeview for the viewing.
16maintainers     devans openmaintainer
17categories      gnome
18platforms       darwin
19homepage        https://wiki.gnome.org/Apps/SystemMonitor
20master_sites    gnome:sources/${name}/${branch}/
21
22use_xz          yes
23
24checksums       rmd160  bce4cd0f353cdc86b977b69d9fb09c5462ab79fb \
25                sha256  9abdf046248f26b3945a6aba4098ab04907416cdc07e19a7a8aeb568e2428f0f
26
27depends_build   port:pkgconfig \
28                port:intltool \
29                port:gnome-common \
30                port:itstool \
31                port:yelp-tools \
32                port:gsed
33
34depends_lib     port:desktop-file-utils \
35                port:gnome-icon-theme \
36                port:gnome-icon-theme-symbolic \
37                port:gtkmm3 \
38                port:libgtop \
39                port:librsvg \
40                port:libwnck3 \
41                port:libxml2
42
43depends_run     port:gnome-settings-daemon \
44                port:yelp
45
46patchfiles      patch-src-procproperties.cpp.diff
47
48# update m4/intltool.m4 and autoreconf
49
50pre-configure {
51    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
52}
53
54use_autoreconf  yes
55autoreconf.args -fvi
56
57configure.args  --disable-silent-rules \
58                --enable-wnck \
59                --disable-systemd \
60                --disable-schemas-compile
61
62post-activate {
63    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
64    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
65}
66
67livecheck.type  gnome
Note: See TracBrowser for help on using the repository browser.