aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-06-09 12:12:20 +0800
committermarcus <marcus@FreeBSD.org>2003-06-09 12:12:20 +0800
commit935f6095d1e7252da77a2dd6d19f4430ccf293cd (patch)
treedcc8416452bdc63b231d71bddf4da8b4c07b7e39 /graphics
parent89db4618be82a5a74620684cfca00a565a9a075e (diff)
downloadfreebsd-ports-graphics-935f6095d1e7252da77a2dd6d19f4430ccf293cd.tar.gz
freebsd-ports-graphics-935f6095d1e7252da77a2dd6d19f4430ccf293cd.tar.zst
freebsd-ports-graphics-935f6095d1e7252da77a2dd6d19f4430ccf293cd.zip
Make the print plug-in conditional on whether or not WITHOUT_PRINT is
specified. PR: 53071
Diffstat (limited to 'graphics')
-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 e36c47b3f01..c9f8fe54c70 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 b276c8e85ff..1e6114c695e 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