summaryrefslogtreecommitdiff
path: root/graphics/gimp-devel
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-01-21 17:30:27 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-01-21 17:30:27 +0000
commit0828e9416533361471099b759299a144e7091070 (patch)
tree73426bf4ee7b80a39e6e79906e3ed35ad72c8eaf /graphics/gimp-devel
parentUpdate to 1.08 (diff)
* Fix the GNOME desktop entry to call gimp-1.3 instead of gimp-remote-1.3
as the latter didn't work correctly from the menu * Conditionalize installation of the print plug-in [1] Submitted by: clement
Diffstat (limited to 'graphics/gimp-devel')
-rw-r--r--graphics/gimp-devel/Makefile3
-rw-r--r--graphics/gimp-devel/files/patch-data_misc_gimp.desktop.in.in11
-rw-r--r--graphics/gimp-devel/pkg-plist2
3 files changed, 15 insertions, 1 deletions
diff --git a/graphics/gimp-devel/Makefile b/graphics/gimp-devel/Makefile
index 6077f19ee374..d84babbd6cfc 100644
--- a/graphics/gimp-devel/Makefile
+++ b/graphics/gimp-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gimp
PORTVERSION= 2.0.pre2
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics gnome
MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \
@@ -66,8 +67,10 @@ PLIST_SUB+= PYTHON:="@comment "
.if defined(WITHOUT_PRINT)
CONFIGURE_ARGS+= --disable-print
+PLIST_SUB+= PRINT="@comment "
.else
LIB_DEPENDS+= gimpprint.2:${PORTSDIR}/print/gimp-print
+PLIST_SUB+= PRINT=""
.endif
.include <bsd.port.pre.mk>
diff --git a/graphics/gimp-devel/files/patch-data_misc_gimp.desktop.in.in b/graphics/gimp-devel/files/patch-data_misc_gimp.desktop.in.in
new file mode 100644
index 000000000000..03a3e522d44f
--- /dev/null
+++ b/graphics/gimp-devel/files/patch-data_misc_gimp.desktop.in.in
@@ -0,0 +1,11 @@
+--- data/misc/gimp.desktop.in.in.orig Wed Jan 21 12:24:16 2004
++++ data/misc/gimp.desktop.in.in Wed Jan 21 12:27:36 2004
+@@ -3,7 +3,7 @@
+ _Name=The GIMP (unstable)
+ _Comment=Create and edit images or photographs
+ TryExec=gimp-1.3
+-Exec=gimp-remote-1.3 --new %U
++Exec=gimp-1.3
+ Icon=@gimpdatadir@/images/wilber-icon.png
+ Terminal=false
+ Type=Application
diff --git a/graphics/gimp-devel/pkg-plist b/graphics/gimp-devel/pkg-plist
index deba9c10f661..4f6f187c78f6 100644
--- a/graphics/gimp-devel/pkg-plist
+++ b/graphics/gimp-devel/pkg-plist
@@ -279,7 +279,7 @@ libexec/gimp/1.3/plug-ins/plugindetails
libexec/gimp/1.3/plug-ins/png
libexec/gimp/1.3/plug-ins/pnm
libexec/gimp/1.3/plug-ins/polar
-libexec/gimp/1.3/plug-ins/print
+%%PRINT%%libexec/gimp/1.3/plug-ins/print
libexec/gimp/1.3/plug-ins/ps
libexec/gimp/1.3/plug-ins/psd
libexec/gimp/1.3/plug-ins/psd_save