[120316] trunk/dports/office/zathura-plugin-pdf-poppler/Portfile

devans at macports.org devans at macports.org
Thu May 22 20:50:42 PDT 2014


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

Modified Paths:
--------------
    trunk/dports/office/zathura-plugin-pdf-poppler/Portfile

Modified: trunk/dports/office/zathura-plugin-pdf-poppler/Portfile
===================================================================
--- trunk/dports/office/zathura-plugin-pdf-poppler/Portfile	2014-05-23 03:43:18 UTC (rev 120315)
+++ trunk/dports/office/zathura-plugin-pdf-poppler/Portfile	2014-05-23 03:50:41 UTC (rev 120316)
@@ -5,10 +5,11 @@
 
 name                zathura-plugin-pdf-poppler
 version             0.2.5
+revision            1
 categories          office
 platforms           darwin
 license             zlib
-maintainers         gmail.com:starkhalo
+maintainers         gmail.com:starkhalo openmaintainer
 description         The zathura-pdf-poppler plugin adds PDF support to zathura.
 long_description \
     The zathura-pdf-poppler plugin adds PDF support to zathura by using the \
@@ -28,7 +29,8 @@
 
 depends_build       port:pkgconfig
 
-depends_lib         port:poppler \
+depends_lib         port:desktop-file-utils \
+                    port:poppler \
                     path:lib/libgirara-gtk3.dylib:girara \
                     path:bin/zathura:zathura
 
@@ -47,6 +49,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/bd1d65f3/attachment-0001.html>


More information about the macports-changes mailing list