summaryrefslogtreecommitdiffstats
path: root/graphics/gimp
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-10-13 15:05:24 +0000
committermarcus <marcus@FreeBSD.org>2002-10-13 15:05:24 +0000
commita31e0bdf0962136a15d443b25a3437263a59ec81 (patch)
treec2ac57482d666678ac18857e5ed428a75f956456 /graphics/gimp
parentcc089559e4a63debcab1aaa48d5f85f803437179 (diff)
downloadFreeBSD-ports-a31e0bdf0962136a15d443b25a3437263a59ec81.zip
FreeBSD-ports-a31e0bdf0962136a15d443b25a3437263a59ec81.tar.gz
If gnomepanel is installed, install a desktop entry for gimp.
Submitted by: Franz Klammer <klammer@webonaut.com>
Diffstat (limited to 'graphics/gimp')
-rw-r--r--graphics/gimp/Makefile8
-rw-r--r--graphics/gimp/pkg-plist1
2 files changed, 9 insertions, 0 deletions
diff --git a/graphics/gimp/Makefile b/graphics/gimp/Makefile
index 5bd2a12..3284feb 100644
--- a/graphics/gimp/Makefile
+++ b/graphics/gimp/Makefile
@@ -57,6 +57,14 @@ MPEG_CONFIGURE_ARGS= --prefix=${PREFIX} \
MAN1= gimp-1.3.1 gimptool-1.3.1 gimp-remote-1.3.1
MAN5= gimprc-1.3.5
+.if exists(${X11BASE}/libdata/pkgconfig/libpanelapplet-2.0.pc)
+RUN_DEPENDS+= gnome-panel:${PORTSDIR}/x11/gnomepanel
+CONFIGURE_ARGS+= --with-gnome-desktop=${X11BASE}/share/gnome/applications
+PLIST_SUB= GNOME:=""
+.else
+PLIST_SUB= GNOME:="@comment "
+.endif
+
#.if exists(${X11BASE}/libdata/pkgconfig/libgtkhtml-2.0.pc) || defined(WITH_HTML_HELP_BROWSER)
#LIB_DEPENDS+= gtkhtml-2.0:${PORTSDIR}/www/libgtkhtml
#.endif
diff --git a/graphics/gimp/pkg-plist b/graphics/gimp/pkg-plist
index d877f0a..40470aa 100644
--- a/graphics/gimp/pkg-plist
+++ b/graphics/gimp/pkg-plist
@@ -934,6 +934,7 @@ share/gimp/themes/Default/images/stock-warning-64.png
share/gimp/themes/Default/images/stock-wilber-16.png
share/gimp/themes/Default/images/stock-wilber-eek-64.png
share/gimp/tips/gimp-tips.xml
+%%GNOME:%%share/gnome/applications/gimp-1.3.desktop
share/locale/ca/LC_MESSAGES/gimp14-libgimp.mo
share/locale/ca/LC_MESSAGES/gimp14-script-fu.mo
share/locale/ca/LC_MESSAGES/gimp14-std-plug-ins.mo
OpenPOWER on IntegriCloud