Ticket #42035: baobab-Portfile

File baobab-Portfile, 2.3 KB (added by juanrgar (Juan R. García Blanco), 10 years ago)

baobab Portfile

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$
3
4PortSystem          1.0
5
6name                baobab
7version             3.10.1
8license             GPL-2,GFDL-1.1
9set branch          [join [lrange [split ${version} .] 0 1] .]
10description         GNOME disk usage analyzer.
11long_description    Disk Usage Analyzer is a graphical, menu-driven application to analyse \
12                    disk usage in a GNOME environment. It can easily scan either the whole \
13                    filesystem tree, or a specific user-requested directory branch (local or remote). \
14                    It also auto-detects in real-time any changes made to your home directory as far \
15                    as any mounted/unmounted device. Disk Usage Analyzer also provides a full graphical \
16                    treemap window for each selected folder.
17
18maintainers         gmail.com:juanrgar openmaintainer
19categories          gnome
20platforms           darwin
21homepage            https://wiki.gnome.org/Apps/Baobab
22master_sites        gnome:sources/${name}/${branch}/
23
24use_xz              yes
25
26checksums           rmd160  9af4c29eb67bb2444c9f35788a9688bd779a53b5 \
27                    sha256  23ce8e4847ce5f1c8230e757532d94c84e6e273d6ec8fca20eecaed5f96563f9
28
29depends_build       port:pkgconfig \
30                    port:intltool
31
32depends_lib         port:desktop-file-utils \
33                    port:gnome-icon-theme \
34                    port:gnome-icon-theme-symbolic \
35                    port:gsettings-desktop-schemas \
36                    port:gtk3 \
37                    port:dconf \
38                    port:dbus
39
40depends_run         port:gnome-settings-daemon \
41                    port:yelp
42
43configure.args      --disable-schemas-compile \
44                    --disable-silent-rules
45
46# port installs hicolor and HighContrast icons, desktop application file, and gschemas
47post-activate {
48    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
49    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
50    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/HighContrast"
51    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
52}
53
54livecheck.type  gnome