summaryrefslogtreecommitdiffstats
path: root/graphics/inkscape
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-02-18 16:53:26 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-02-18 16:53:26 +0800
commit171811136b981bfd7232d36e10a62caf25a91b5c (patch)
treebe1c3f9cd7e5547ada434c27c5c78a9fe5616b37 /graphics/inkscape
parent2b34f67d80e98878cc32c4840fd846ee8d512491 (diff)
downloadmarcuscom-ports-171811136b981bfd7232d36e10a62caf25a91b5c.tar
marcuscom-ports-171811136b981bfd7232d36e10a62caf25a91b5c.tar.gz
marcuscom-ports-171811136b981bfd7232d36e10a62caf25a91b5c.tar.bz2
marcuscom-ports-171811136b981bfd7232d36e10a62caf25a91b5c.tar.lz
marcuscom-ports-171811136b981bfd7232d36e10a62caf25a91b5c.tar.xz
marcuscom-ports-171811136b981bfd7232d36e10a62caf25a91b5c.tar.zst
marcuscom-ports-171811136b981bfd7232d36e10a62caf25a91b5c.zip
Inkscape installs a .desktop file with a MIME type so be sure to run
update-desktop-database. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3675 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/inkscape')
-rw-r--r--graphics/inkscape/Makefile3
-rw-r--r--graphics/inkscape/pkg-plist2
2 files changed, 5 insertions, 0 deletions
diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile
index e65c3266e..4de6932dd 100644
--- a/graphics/inkscape/Makefile
+++ b/graphics/inkscape/Makefile
@@ -42,4 +42,7 @@ patch-autotools:
${RM} $$file.tmp; \
done);
+post-install:
+ @-update-desktop-database
+
.include <bsd.port.mk>
diff --git a/graphics/inkscape/pkg-plist b/graphics/inkscape/pkg-plist
index b516cf36b..c569be72e 100644
--- a/graphics/inkscape/pkg-plist
+++ b/graphics/inkscape/pkg-plist
@@ -7,6 +7,7 @@ lib/inkscape/plugins/libgrid.a
lib/inkscape/plugins/libgrid.so
lib/inkscape/plugins/libgrid.so.0
share/gnome/applications/inkscape.desktop
+@exec update-desktop-database > /dev/null || /usr/bin/true
share/gnome/inkscape/clipart/README
share/gnome/inkscape/clipart/README-ribbon.txt
share/gnome/inkscape/clipart/inkscape.logo.svg
@@ -155,3 +156,4 @@ share/locale/zh_CN/LC_MESSAGES/inkscape.mo
@dirrm share/gnome/inkscape
@dirrm lib/inkscape/plugins
@dirrm lib/inkscape
+@unexec update-desktop-database > /dev/null || /usr/bin/true