aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gimp-app-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-app-devel
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-devel')
-rw-r--r--graphics/gimp-app-devel/Makefile8
-rw-r--r--graphics/gimp-app-devel/pkg-plist1
2 files changed, 9 insertions, 0 deletions
diff --git a/graphics/gimp-app-devel/Makefile b/graphics/gimp-app-devel/Makefile
index 5bd2a1278685..3284febc19d4 100644
--- a/graphics/gimp-app-devel/Makefile
+++ b/graphics/gimp-app-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-app-devel/pkg-plist b/graphics/gimp-app-devel/pkg-plist
index d877f0ab918b..40470aa40ba7 100644
--- a/graphics/gimp-app-devel/pkg-plist
+++ b/graphics/gimp-app-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