aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gimp-app/Makefile
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-app/Makefile
parentcc089559e4a63debcab1aaa48d5f85f803437179 (diff)
downloadfreebsd-ports-gnome-a31e0bdf0962136a15d443b25a3437263a59ec81.tar.gz
freebsd-ports-gnome-a31e0bdf0962136a15d443b25a3437263a59ec81.tar.zst
freebsd-ports-gnome-a31e0bdf0962136a15d443b25a3437263a59ec81.zip
If gnomepanel is installed, install a desktop entry for gimp.
Submitted by: Franz Klammer <klammer@webonaut.com>
Diffstat (limited to 'graphics/gimp-app/Makefile')
-rw-r--r--graphics/gimp-app/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/graphics/gimp-app/Makefile b/graphics/gimp-app/Makefile
index 5bd2a1278685..3284febc19d4 100644
--- a/graphics/gimp-app/Makefile
+++ b/graphics/gimp-app/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