Changeset 127086


Ignore:
Timestamp:
Oct 20, 2014, 7:10:52 PM (5 years ago)
Author:
devans@…
Message:

Terminal: register app in desktop database and update hicolor icon cache post-activate (#45352, maintainer timeout).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/xfce/Terminal/Portfile

    r126600 r127086  
    66name            Terminal
    77version         0.4.5
    8 revision        2
     8revision        3
    99categories      xfce
    1010platforms       darwin
     
    2424depends_build   port:intltool port:pkgconfig
    2525depends_lib     port:exo port:vte-gtk2-compat port:dbus port:gtk2 \
    26                 path:include/glib-2.0/gio/gio.h:glib2 port:hicolor-icon-theme
     26                path:include/glib-2.0/gio/gio.h:glib2 port:hicolor-icon-theme \
     27                port:desktop-file-utils
    2728
    2829configure.args  --enable-dbus
    2930
    3031patchfiles      patch-terminal-Makefile.in
     32
     33post-activate {
     34    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
     35    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
     36}
Note: See TracChangeset for help on using the changeset viewer.