summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/gimp1/Makefile2
-rw-r--r--graphics/gimp1/pkg-plist2
2 files changed, 3 insertions, 1 deletions
diff --git a/graphics/gimp1/Makefile b/graphics/gimp1/Makefile
index e36c47b3f019..c9f8fe54c703 100644
--- a/graphics/gimp1/Makefile
+++ b/graphics/gimp1/Makefile
@@ -57,8 +57,10 @@ MAN5= gimprc.5 gimprc-1.2.5
.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
pre-everything::
diff --git a/graphics/gimp1/pkg-plist b/graphics/gimp1/pkg-plist
index b276c8e85ffd..1e6114c695e8 100644
--- a/graphics/gimp1/pkg-plist
+++ b/graphics/gimp1/pkg-plist
@@ -211,7 +211,7 @@ libexec/gimp/1.2/plug-ins/plugindetails
libexec/gimp/1.2/plug-ins/png
libexec/gimp/1.2/plug-ins/pnm
libexec/gimp/1.2/plug-ins/polar
-libexec/gimp/1.2/plug-ins/print
+%%PRINT%%libexec/gimp/1.2/plug-ins/print
libexec/gimp/1.2/plug-ins/ps
libexec/gimp/1.2/plug-ins/psd
libexec/gimp/1.2/plug-ins/psp