aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-07-01 05:25:03 +0800
committerantoine <antoine@FreeBSD.org>2013-07-01 05:25:03 +0800
commit47eed723684d01d15e6656121010f46a3c343226 (patch)
tree27c726d9551e446ccbad1f239f3d9291471e1c53
parente14fb7c9f04c6992d1d3929e69aa59b113821ff4 (diff)
downloadfreebsd-ports-gnome-47eed723684d01d15e6656121010f46a3c343226.tar.gz
freebsd-ports-gnome-47eed723684d01d15e6656121010f46a3c343226.tar.zst
freebsd-ports-gnome-47eed723684d01d15e6656121010f46a3c343226.zip
Convert to USES to update-desktop-database on package install and uninstall
-rw-r--r--science/gwyddion/Makefile4
-rw-r--r--science/gwyddion/pkg-plist2
2 files changed, 2 insertions, 4 deletions
diff --git a/science/gwyddion/Makefile b/science/gwyddion/Makefile
index b7cfcf164764..bcd587f57bfd 100644
--- a/science/gwyddion/Makefile
+++ b/science/gwyddion/Makefile
@@ -20,8 +20,8 @@ OPTIONS_DEFAULT=PERL PYTHON UNIQUE
UNIQUE_DESC= Remote controle backend support
USE_XZ= yes
-USES= pathfix gettext
-USE_GNOME= desktopfileutils gconf2 gtk20 libxml2
+USES= desktop-file-utils gettext pathfix shared-mime-info
+USE_GNOME= gconf2 gtk20 libxml2
USE_GL= glu
USE_GMAKE= yes
GNU_CONFIGURE= yes
diff --git a/science/gwyddion/pkg-plist b/science/gwyddion/pkg-plist
index d4592136d424..4d82e28c6f27 100644
--- a/science/gwyddion/pkg-plist
+++ b/science/gwyddion/pkg-plist
@@ -829,5 +829,3 @@ share/thumbnailers/gwyddion.thumbnailer
@dirrm include/gwyddion/libdraw
@dirrm include/gwyddion/app
@dirrm include/gwyddion
-@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true