summaryrefslogtreecommitdiffstats
path: root/x11-fm/nautilus2
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fm/nautilus2')
-rw-r--r--x11-fm/nautilus2/Makefile4
-rw-r--r--x11-fm/nautilus2/pkg-plist2
2 files changed, 5 insertions, 1 deletions
diff --git a/x11-fm/nautilus2/Makefile b/x11-fm/nautilus2/Makefile
index af1d5177d..bacd0c103 100644
--- a/x11-fm/nautilus2/Makefile
+++ b/x11-fm/nautilus2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nautilus2
PORTVERSION= 2.9.92
+PORTREVISION= 1
CATEGORIES= x11-fm gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.9
@@ -22,7 +23,7 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop eel2 \
- librsvg2
+ librsvg2 desktopfileutils
GNOME_DESKTOP_VERSION=2
INSTALLS_SHLIB= yes
USE_LIBTOOL_VER=15
@@ -39,6 +40,7 @@ GCONF_SCHEMAS= apps_nautilus_preferences.schemas
post-install:
${MKDIR} ${PREFIX}/lib/nautilus/extensions-1.0
+ @-update-desktop-database
# @${CHMOD} u+w ${PREFIX}/share/gnome/nautilus/*.desktop
.include <bsd.port.mk>
diff --git a/x11-fm/nautilus2/pkg-plist b/x11-fm/nautilus2/pkg-plist
index 647e539ba..926374cdc 100644
--- a/x11-fm/nautilus2/pkg-plist
+++ b/x11-fm/nautilus2/pkg-plist
@@ -24,6 +24,7 @@ share/gnome/applications/nautilus-folder-handler.desktop
share/gnome/applications/nautilus-home.desktop
share/gnome/applications/nautilus.desktop
share/gnome/applications/network-scheme.desktop
+@exec update-desktop-database > /dev/null || /usr/bin/true
share/gnome/nautilus/browser.xml
share/gnome/nautilus/glade/nautilus-bookmarks-window.glade
share/gnome/nautilus/glade/nautilus-file-management-properties.glade
@@ -186,3 +187,4 @@ share/locale/zu/LC_MESSAGES/nautilus.mo
@exec /bin/mkdir -p %D/lib/nautilus/extensions-1.0
@unexec /bin/rmdir %D/lib/nautilus/extensions-1.0 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/lib/nautilus 2>/dev/null || /usr/bin/true
+@unexec update-desktop-database > /dev/null || /usr/bin/true