diff options
Diffstat (limited to 'print/ghostscript-esp/options.mk')
-rw-r--r-- | print/ghostscript-esp/options.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/print/ghostscript-esp/options.mk b/print/ghostscript-esp/options.mk index f1bb99d847c..cf88bbd7775 100644 --- a/print/ghostscript-esp/options.mk +++ b/print/ghostscript-esp/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.4 2007/02/22 19:27:03 wiz Exp $ +# $NetBSD: options.mk,v 1.5 2008/04/12 22:43:09 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.ghostscript-esp PKG_SUPPORTED_OPTIONS= x11 cups @@ -15,9 +15,10 @@ CONFIGURE_ARGS+= --with-x CONFIGURE_ARGS+= --without-x .endif +PLIST_VARS+= cups .if !empty(PKG_OPTIONS:Mcups) CONFIGURE_ARGS+= --enable-cups -PLIST_SUBST+= CUPS= +PLIST.cups= yes CUPS_CONFDIR?= ${PKG_SYSCONFBASEDIR}/cups CUPS_EGDIR= ${PREFIX}/share/examples/cups @@ -39,5 +40,4 @@ ghostscript-esp-cups-install: ${INSTALL_DATA} ${WRKSRC}/pstoraster/pstoraster.convs ${CUPS_EGDIR} .else CONFIGURE_ARGS+= --disable-cups -PLIST_SUBST+= CUPS="@comment " .endif |