[120315] trunk/dports/office/zathura/Portfile

devans at macports.org devans at macports.org
Thu May 22 20:43:18 PDT 2014


Revision: 120315
          https://trac.macports.org/changeset/120315
Author:   devans at macports.org
Date:     2014-05-22 20:43:18 -0700 (Thu, 22 May 2014)
Log Message:
-----------
zathura: update desktop database post-activate, add openmaintainer with maintainer's approval (#43792).

Modified Paths:
--------------
    trunk/dports/office/zathura/Portfile

Modified: trunk/dports/office/zathura/Portfile
===================================================================
--- trunk/dports/office/zathura/Portfile	2014-05-23 00:11:01 UTC (rev 120314)
+++ trunk/dports/office/zathura/Portfile	2014-05-23 03:43:18 UTC (rev 120315)
@@ -5,10 +5,11 @@
 
 name                zathura
 version             0.2.7
+revision            1
 categories          office
 platforms           darwin
 license             zlib
-maintainers         gmail.com:starkhalo
+maintainers         gmail.com:starkhalo openmaintainer
 description         Zathura is a highly customizable and functional document viewer.
 long_description \
     Zathura is a highly customizable and functional document viewer. It     \
@@ -30,7 +31,8 @@
 
 depends_build       port:pkgconfig
 
-depends_lib         path:lib/libglib-2.0.dylib:glib2 \
+depends_lib         port:desktop-file-utils \
+                    path:lib/libglib-2.0.dylib:glib2 \
                     port:gtk3 \
                     port:intltool \
                     port:sqlite3 \
@@ -52,6 +54,10 @@
 eval destroot.env   ${build.env}
 eval destroot.args  ${build.args}
 
+post-activate {
+    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+}
+
 livecheck.type      regex
 livecheck.url       ${master_sites}
 livecheck.regex     (\\d\\.\\d\\.\\d)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140522/b41e5539/attachment.html>


More information about the macports-changes mailing list