aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gimp-devel
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-10-13 23:05:24 +0800
committermarcus <marcus@FreeBSD.org>2002-10-13 23:05:24 +0800
commita31e0bdf0962136a15d443b25a3437263a59ec81 (patch)
treec2ac57482d666678ac18857e5ed428a75f956456 /graphics/gimp-devel
parentcc089559e4a63debcab1aaa48d5f85f803437179 (diff)
downloadfreebsd-ports-graphics-a31e0bdf0962136a15d443b25a3437263a59ec81.tar.gz
freebsd-ports-graphics-a31e0bdf0962136a15d443b25a3437263a59ec81.tar.zst
freebsd-ports-graphics-a31e0bdf0962136a15d443b25a3437263a59ec81.zip
If gnomepanel is installed, install a desktop entry for gimp.
Submitted by: Franz Klammer <klammer@webonaut.com>
Diffstat (limited to 'graphics/gimp-devel')
-rw-r--r--graphics/gimp-devel/Makefile8
-rw-r--r--graphics/gimp-devel/pkg-plist1
2 files changed, 9 insertions, 0 deletions
diff --git a/graphics/gimp-devel/Makefile b/graphics/gimp-devel/Makefile
index 5bd2a127868..3284febc19d 100644
--- a/graphics/gimp-devel/Makefile
+++ b/graphics/gimp-devel/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-devel/pkg-plist b/graphics/gimp-devel/pkg-plist
index d877f0ab918..40470aa40ba 100644
--- a/graphics/gimp-devel/pkg-plist
+++ b/graphics/gimp-devel/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