summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-06 00:37:38 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-06 00:37:38 +0800
commit372d73e2ea82ceb62efab4fc0ccb023091283d7b (patch)
tree2c07d8430a3aa498a8afd474dba6a5684eba330e /editors
parent2e820a178b29eada1eda1e9eb333d1b8f8d48114 (diff)
downloadmarcuscom-ports-372d73e2ea82ceb62efab4fc0ccb023091283d7b.tar
marcuscom-ports-372d73e2ea82ceb62efab4fc0ccb023091283d7b.tar.gz
marcuscom-ports-372d73e2ea82ceb62efab4fc0ccb023091283d7b.tar.bz2
marcuscom-ports-372d73e2ea82ceb62efab4fc0ccb023091283d7b.tar.lz
marcuscom-ports-372d73e2ea82ceb62efab4fc0ccb023091283d7b.tar.xz
marcuscom-ports-372d73e2ea82ceb62efab4fc0ccb023091283d7b.tar.zst
marcuscom-ports-372d73e2ea82ceb62efab4fc0ccb023091283d7b.zip
Use new desktop file handling scheme.
Submitted by: Koop Mast <kwm@rainbow-runner.nl> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2623 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'editors')
-rw-r--r--editors/gedit2/Makefile3
-rw-r--r--editors/gedit2/pkg-plist2
2 files changed, 4 insertions, 1 deletions
diff --git a/editors/gedit2/Makefile b/editors/gedit2/Makefile
index fa73a0cdb..a35a0b56b 100644
--- a/editors/gedit2/Makefile
+++ b/editors/gedit2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gedit2
PORTVERSION= 2.7.90
+PORTREVISION= 1
CATEGORIES= editors gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.7
@@ -24,7 +25,7 @@ INSTALLS_SHLIB= yes
USE_GMAKE= yes
USE_LIBTOOL_VER=15
USE_GNOME= gnomeprefix gnomehack intlhack gnomehier \
- libgnomeprintui libgnomeui eel2 gtksourceview
+ libgnomeprintui libgnomeui eel2 gtksourceview desktopfileutils
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
PLIST_SUB= VERSION="2.6"
diff --git a/editors/gedit2/pkg-plist b/editors/gedit2/pkg-plist
index b524d02c7..6603df895 100644
--- a/editors/gedit2/pkg-plist
+++ b/editors/gedit2/pkg-plist
@@ -52,6 +52,7 @@ libdata/bonobo/servers/GNOME_Gedit.server
libdata/pkgconfig/gedit-%%VERSION%%.pc
share/gnome/application-registry/gedit.applications
share/gnome/applications/gedit.desktop
+@exec update-desktop-database > /dev/null || /usr/bin/true
share/gnome/gedit-2/glade/docinfo.glade2
share/gnome/gedit-2/glade/gedit-encodings-dialog.glade2
share/gnome/gedit-2/glade/gedit-preferences.glade2
@@ -274,3 +275,4 @@ share/locale/zh_TW/LC_MESSAGES/gedit-%%VERSION%%.mo
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gedit/gedit-zh_CN.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gedit/gedit-zh_HK.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gedit/gedit-zh_TW.omf 2>/dev/null || /usr/bin/true
+@unexec update-desktop-database > /dev/null || /usr/bin/true