aboutsummaryrefslogtreecommitdiff
path: root/graphics/gimpshop
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gimpshop')
-rw-r--r--graphics/gimpshop/Makefile3
-rw-r--r--graphics/gimpshop/files/patch-data_misc_gimp.desktop.in.in11
-rw-r--r--graphics/gimpshop/pkg-plist2
3 files changed, 15 insertions, 1 deletions
diff --git a/graphics/gimpshop/Makefile b/graphics/gimpshop/Makefile
index 6077f19ee374..d84babbd6cfc 100644
--- a/graphics/gimpshop/Makefile
+++ b/graphics/gimpshop/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/gimpshop/files/patch-data_misc_gimp.desktop.in.in b/graphics/gimpshop/files/patch-data_misc_gimp.desktop.in.in
new file mode 100644
index 000000000000..03a3e522d44f
--- /dev/null
+++ b/graphics/gimpshop/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/gimpshop/pkg-plist b/graphics/gimpshop/pkg-plist
index deba9c10f661..4f6f187c78f6 100644
--- a/graphics/gimpshop/pkg-plist
+++ b/graphics/gimpshop/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