From cdf8b90a6044017e103a09f35e3a78a705eaedf9 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Mon, 9 Jun 2003 04:12:20 +0000 Subject: [PATCH] Make the print plug-in conditional on whether or not WITHOUT_PRINT is specified. PR: 53071 --- graphics/gimp1/Makefile | 2 ++ graphics/gimp1/pkg-plist | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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