aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/gnumeric/Makefile4
-rw-r--r--math/gnumeric/pkg-plist2
2 files changed, 5 insertions, 1 deletions
diff --git a/math/gnumeric/Makefile b/math/gnumeric/Makefile
index 44f602bb3ff7..bed1adba6ed9 100644
--- a/math/gnumeric/Makefile
+++ b/math/gnumeric/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnumeric
PORTVERSION= 1.4.3
+PORTREVISION= 1
CATEGORIES= math gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
@@ -22,7 +23,7 @@ USE_X_PREFIX= yes
USE_PERL5= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix intlhack gnomehack gnomehier libgnomeprintui \
- libgnomedb libgsf_gnome pygtk2
+ libgnomedb libgsf_gnome pygtk2 desktopfileutils
USE_PYTHON= yes
INSTALLS_OMF= yes
USE_REINPLACE= yes
@@ -66,5 +67,6 @@ post-install:
.for dir in share/gnome lib
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/${dir}/gnumeric
.endfor
+ @-update-desktop-database
.include <bsd.port.post.mk>
diff --git a/math/gnumeric/pkg-plist b/math/gnumeric/pkg-plist
index 0c8c5160f46f..a15695d703ea 100644
--- a/math/gnumeric/pkg-plist
+++ b/math/gnumeric/pkg-plist
@@ -106,6 +106,7 @@ lib/gnumeric/%%VERSION%%/plugins/xml_sax/plugin.xml
lib/gnumeric/%%VERSION%%/plugins/xml_sax/xml_sax.so
libdata/bonobo/servers/GNOME_Gnumeric.server
share/gnome/applications/gnumeric.desktop
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
share/gnome/gnumeric/%%VERSION%%/GNOME_Gnumeric-gtk.xml
share/gnome/gnumeric/%%VERSION%%/autoformat-templates/3D/.category
share/gnome/gnumeric/%%VERSION%%/autoformat-templates/3D/autoformat.3D.button.xml
@@ -827,3 +828,4 @@ share/locale/zh_TW/LC_MESSAGES/gnumeric.mo
@dirrm lib/gnumeric/%%VERSION%%/plugins
@dirrm lib/gnumeric/%%VERSION%%
@dirrm lib/gnumeric
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true