[115683] trunk/dports/gnome

devans at macports.org devans at macports.org
Wed Jan 8 14:28:46 PST 2014


Revision: 115683
          https://trac.macports.org/changeset/115683
Author:   devans at macports.org
Date:     2014-01-08 14:28:46 -0800 (Wed, 08 Jan 2014)
Log Message:
-----------
baobab: new port, previously part of gnome-utils, maintainer submission (#42035).

Added Paths:
-----------
    trunk/dports/gnome/baobab/
    trunk/dports/gnome/baobab/Portfile

Added: trunk/dports/gnome/baobab/Portfile
===================================================================
--- trunk/dports/gnome/baobab/Portfile	                        (rev 0)
+++ trunk/dports/gnome/baobab/Portfile	2014-01-08 22:28:46 UTC (rev 115683)
@@ -0,0 +1,68 @@
+# -*- 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
+
+name                baobab
+version             3.10.1
+license             GPL-2,GFDL-1.1
+set branch          [join [lrange [split ${version} .] 0 1] .]
+description         GNOME disk usage analyzer.
+long_description    Disk Usage Analyzer is a graphical, menu-driven application to analyse \
+                    disk usage in a GNOME environment. It can easily scan either the whole \
+                    filesystem tree, or a specific user-requested directory branch (local or remote). \
+                    It also auto-detects in real-time any changes made to your home directory as far \
+                    as any mounted/unmounted device. Disk Usage Analyzer also provides a full graphical \
+                    treemap window for each selected folder.
+
+maintainers         gmail.com:juanrgar openmaintainer
+categories          gnome
+platforms           darwin
+homepage            https://wiki.gnome.org/Apps/Baobab
+master_sites        gnome:sources/${name}/${branch}/
+
+use_xz              yes
+
+checksums           rmd160  9af4c29eb67bb2444c9f35788a9688bd779a53b5 \
+                    sha256  23ce8e4847ce5f1c8230e757532d94c84e6e273d6ec8fca20eecaed5f96563f9
+
+depends_build       port:pkgconfig \
+                    port:intltool \
+                    port:itstool
+
+depends_lib         port:desktop-file-utils \
+                    port:gnome-icon-theme \
+                    port:gnome-icon-theme-symbolic \
+                    port:gtk3 \
+                    port:vala
+
+depends_run         port:gnome-settings-daemon \
+                    port:yelp
+
+configure.args      --disable-schemas-compile \
+                    --disable-silent-rules
+
+# if port gnome-utils is installed
+# and baobab binary exists
+# and port baobab is NOT installed
+# deactivate outdated port gnome-utils
+
+pre-activate {
+    if {![catch {registry_active gnome-utils}]} {
+        if {[file exists ${prefix}/bin/baobab]} {
+            if {[catch {registry_active baobab}]} {
+                registry_deactivate_composite gnome-utils "" [list ports_nodepcheck 1]
+            }
+        }
+    }
+}
+
+# port installs hicolor and HighContrast icons, desktop application file, and gschemas
+post-activate {
+    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
+    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/HighContrast"
+    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
+}
+
+livecheck.type      gnome


Property changes on: trunk/dports/gnome/baobab/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140108/4b048717/attachment.html>


More information about the macports-changes mailing list