[115684] trunk/dports/gnome

devans at macports.org devans at macports.org
Wed Jan 8 14:29:52 PST 2014


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

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

Added: trunk/dports/gnome/gnome-dictionary/Portfile
===================================================================
--- trunk/dports/gnome/gnome-dictionary/Portfile	                        (rev 0)
+++ trunk/dports/gnome/gnome-dictionary/Portfile	2014-01-08 22:29:52 UTC (rev 115684)
@@ -0,0 +1,60 @@
+# -*- 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-dictionary
+version             3.10.0
+license             GPL-2,GFDL-1.1,LGPL-2.1
+set branch          [join [lrange [split ${version} .] 0 1] .]
+description         GNOME dictionary application.
+long_description    GNOME Dictionary can look for the definition or translation \
+                    of a word in existing databases over the Internet.
+
+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  0dbfc0bb96855e29fffb2f5af4a4eafc946e71c2 \
+                    sha256  258b60fe50f7d0580a7dc3bb83f7fe2f6f0597d4013d97ac083c3f062c350ed7
+
+depends_build       port:pkgconfig \
+                    port:intltool \
+                    port:itstool
+
+depends_lib         port:desktop-file-utils \
+                    port:gnome-icon-theme \
+                    port:gtk3
+
+depends_run         port:gnome-settings-daemon \
+                    port:yelp
+
+configure.args      --disable-schemas-compile \
+                    --disable-silent-rules
+
+# if port gnome-utils is installed
+# and gnome-dictionary binary exists
+# and port gnome-dictionary is NOT installed
+# deactivate outdated port gnome-utils
+ 
+pre-activate {
+    if {![catch {registry_active gnome-utils}]} {
+        if {[file exists ${prefix}/bin/gnome-dictionary]} {
+            if {[catch {registry_active gnome-dictionary}]} {
+                registry_deactivate_composite gnome-utils "" [list ports_nodepcheck 1]
+            }
+        }
+    }
+}
+
+# port installs desktop application file, and gschemas
+post-activate {
+    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
+}
+
+livecheck.type  gnome


Property changes on: trunk/dports/gnome/gnome-dictionary/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/41adb6bf/attachment.html>


More information about the macports-changes mailing list