aboutsummaryrefslogtreecommitdiff
path: root/graphics/gimp-app-devel
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2004-12-10 21:46:14 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2004-12-10 21:46:14 +0000
commit9e54fe21c88187bc2c92a7b612994085f5be2f52 (patch)
treeb88d1ba7899527dfe7e7ec2c8b425684d20f2010 /graphics/gimp-app-devel
parentf21956113e6bc4ac17272f62cd8fac37270d321c (diff)
downloadports-9e54fe21c88187bc2c92a7b612994085f5be2f52.tar.gz
ports-9e54fe21c88187bc2c92a7b612994085f5be2f52.zip
Notes
Diffstat (limited to 'graphics/gimp-app-devel')
-rw-r--r--graphics/gimp-app-devel/Makefile6
-rw-r--r--graphics/gimp-app-devel/pkg-plist8
2 files changed, 10 insertions, 4 deletions
diff --git a/graphics/gimp-app-devel/Makefile b/graphics/gimp-app-devel/Makefile
index 79e5af05ddde..f6917d4b1bae 100644
--- a/graphics/gimp-app-devel/Makefile
+++ b/graphics/gimp-app-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gimp
DISTVERSION= 2.2-pre2
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics gnome
MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \
@@ -83,7 +84,7 @@ CONFIGURE_ARGS+= --enable-mp
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mgnomepanel}!=""
-USE_GNOME+= gnomepanel
+USE_GNOME+= gnomepanel desktopfileutils
CONFIGURE_ARGS+= --with-desktop-dir=${X11BASE}/share/gnome
PKGNAMESUFFIX= -gnome
PLIST_SUB+= GNOMEPANEL:=""
@@ -109,4 +110,7 @@ pre-everything::
@${ECHO_MSG} " WITH_MP=yes Turns on multiple-processor support"
@${ECHO_MSG} ""
+post-install:
+ @${X11BASE}/bin/update-desktop-database
+
.include <bsd.port.post.mk>
diff --git a/graphics/gimp-app-devel/pkg-plist b/graphics/gimp-app-devel/pkg-plist
index ea81518c0eb9..ce561d242071 100644
--- a/graphics/gimp-app-devel/pkg-plist
+++ b/graphics/gimp-app-devel/pkg-plist
@@ -1168,11 +1168,12 @@ share/gimp/menus/tool-options-menu.xml
share/gimp/menus/toolbox-menu.xml
share/gimp/menus/tools-menu.xml
share/gimp/menus/vectors-menu.xml
-%%GNOMEPANEL:%%share/gimp/misc/gimp.applications
-%%GNOMEPANEL:%%share/gimp/misc/gimp.desktop
-%%GNOMEPANEL:%%share/gimp/misc/gimp.keys
+share/gimp/misc/gimp.applications
+share/gimp/misc/gimp.desktop
+share/gimp/misc/gimp.keys
%%GNOMEPANEL:%%share/gnome/application-registry/gimp-2.2.applications
%%GNOMEPANEL:%%share/gnome/applications/gimp-2.2.desktop
+%%GNOMEPANEL:%%@exec update-desktop-database > /dev/null || /usr/bin/true
%%GNOMEPANEL:%%share/gnome/mime-info/gimp-2.2.keys
%%GNOMEPANEL:%%share/gnome/pixmaps/gnome-gimp.png
share/gimp/palettes/Bears.gpl
@@ -1894,3 +1895,4 @@ share/locale/zh_TW/LC_MESSAGES/gimp20.mo
@dirrm include/gimp-2.0
@dirrm etc/gimp/2.2
@dirrm etc/gimp
+%%GNOMEPANEL:%%@unexec update-desktop-database > /dev/null || /usr/bin/true