[115819] trunk/dports/gnome

devans at macports.org devans at macports.org
Sat Jan 11 22:33:40 PST 2014


Revision: 115819
          https://trac.macports.org/changeset/115819
Author:   devans at macports.org
Date:     2014-01-11 22:33:40 -0800 (Sat, 11 Jan 2014)
Log Message:
-----------
gnome-system-log: new port version 3.9.90, maintainer submission (#42035).

Added Paths:
-----------
    trunk/dports/gnome/gnome-system-log/
    trunk/dports/gnome/gnome-system-log/Portfile

Added: trunk/dports/gnome/gnome-system-log/Portfile
===================================================================
--- trunk/dports/gnome/gnome-system-log/Portfile	                        (rev 0)
+++ trunk/dports/gnome/gnome-system-log/Portfile	2014-01-12 06:33:40 UTC (rev 115819)
@@ -0,0 +1,74 @@
+# -*- 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                gnome-system-log
+version             3.9.90
+license             GPL-2 GFDL-1.1
+set branch          [join [lrange [split ${version} .] 0 1] .]
+description         GNOME system log viewer.
+long_description    GNOME Log File Viewer is a graphical, menu-driven viewer that you can use \
+                    to view and monitor your system logs. GNOME Log File Viewer comes with \
+                    a few functions that can help you manage your logs, including a log \
+                    monitor and log statistics display.
+
+maintainers         gmail.com:juanrgar openmaintainer
+categories          gnome
+platforms           darwin
+homepage            https://www.gnome.org
+master_sites        gnome:sources/${name}/${branch}/
+
+use_xz              yes
+
+checksums           rmd160  37b004ca1ef7b62b2ecc261ac41d309916e935bf \
+                    sha256  9eeb51982d347aa7b33703031e2c1d8084201374665425cd62199649b29a5411
+
+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
+
+depends_run         port:gnome-settings-daemon \
+                    port:yelp
+
+configure.args      --disable-zlib \
+                    --disable-schemas-compile \
+                    --disable-silent-rules
+
+default_variants    +zlib
+
+variant zlib description {Enable zlib support} {
+    depends_lib-append port:zlib
+    configure.args-delete --disable-zlib
+    configure.args-append --enable-zlib
+}
+
+# if port gnome-utils is installed
+# and gnome-system-log binary exists
+# and port gnome-system-log is NOT installed
+# deactivate outdated port gnome-utils
+ 
+pre-activate {
+    if {![catch {registry_active gnome-utils}]} {
+        if {[file exists ${prefix}/bin/gnome-system-log]} {
+            if {[catch {registry_active gnome-system-log}]} {
+                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/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/update-desktop-database ${prefix}/share/applications"
+    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
+}
+
+livecheck.type  gnome-with-unstable


Property changes on: trunk/dports/gnome/gnome-system-log/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/20140111/49b0151d/attachment.html>


More information about the macports-changes mailing list