[107905] trunk/dports/gnome/dia/Portfile

devans at macports.org devans at macports.org
Mon Jul 8 14:15:02 PDT 2013


Revision: 107905
          https://trac.macports.org/changeset/107905
Author:   devans at macports.org
Date:     2013-07-08 14:15:02 -0700 (Mon, 08 Jul 2013)
Log Message:
-----------
dia: update desktop database post activate.

Modified Paths:
--------------
    trunk/dports/gnome/dia/Portfile

Modified: trunk/dports/gnome/dia/Portfile
===================================================================
--- trunk/dports/gnome/dia/Portfile	2013-07-08 21:10:03 UTC (rev 107904)
+++ trunk/dports/gnome/dia/Portfile	2013-07-08 21:15:02 UTC (rev 107905)
@@ -25,7 +25,7 @@
 
 homepage        http://live.gnome.org/Dia
 master_sites    gnome:sources/${name}/${branch}/
-use_xz       yes
+use_xz          yes
 
 checksums       sha1    dc7ed6f8cd83acc8f421d28f30e4042fe370e9ba \
                 rmd160  f9270f1f2cb6ad505219463827d02e3759693796
@@ -48,6 +48,7 @@
     port:pkgconfig
 
 depends_lib \
+    port:desktop-file-utils \
     path:lib/pkgconfig/cairo.pc:cairo \
     port:freetype \
     port:libart_lgpl \
@@ -85,6 +86,7 @@
 
 post-activate {
     system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
+    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
 }
 
 livecheck.type  gnome-with-unstable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130708/91c90ff9/attachment-0001.html>


More information about the macports-changes mailing list