From a64a10092534deba58958ee312e3ad6bde612615 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 15 May 2001 18:26:11 +0000 Subject: Foomatic Ghostscript Wrapper The foomatic-gswrapper script runs Ghostscript in a more controlled and makes debugging much easier by letting you see Ghostscript error messsages. The wrapper is required if you print jobs from the Windows PostScript driver (which writes jobs that generate advisory output that causes trouble under plain Ghostscript). Some other software may produce such jobs; the wrapper is probably a good idea in general. --- print/foomatic-gswrapper/Makefile | 42 ++++++++++++++++++++++++++++++++++++++ print/foomatic-gswrapper/distinfo | 4 ++++ print/foomatic-gswrapper/pkg/DESCR | 6 ++++++ print/foomatic-gswrapper/pkg/PLIST | 2 ++ 4 files changed, 54 insertions(+) create mode 100644 print/foomatic-gswrapper/Makefile create mode 100644 print/foomatic-gswrapper/distinfo create mode 100644 print/foomatic-gswrapper/pkg/DESCR create mode 100644 print/foomatic-gswrapper/pkg/PLIST (limited to 'print/foomatic-gswrapper') diff --git a/print/foomatic-gswrapper/Makefile b/print/foomatic-gswrapper/Makefile new file mode 100644 index 00000000000..da5cdb23000 --- /dev/null +++ b/print/foomatic-gswrapper/Makefile @@ -0,0 +1,42 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/05/15 18:26:11 jlam Exp $ + +DISTNAME= foomatic-gswrapper +PKGNAME= ${DISTNAME}-1.2 +CATEGORIES= print +EXTRACT_SUFX= # empty + +# Not sure why ${MASTER_SITE_LOCAL:=${PKGNAME}} doesn't work, but the +# following does the correct substitution. +# +.for subdir in ${PKGNAME} +MASTER_SITES= ${MASTER_SITE_LOCAL:=${subdir}/} +.endfor + +# The definitive location of the distfile is at www.linuxprinting.org, +# but this file has no revision number. +# +#MASTER_SITES+= http://www.linuxprinting.org/ + +MAINTAINER= jlam@netbsd.org +HOMEPAGE= http://www.linuxprinting.org/gswrapper.html +COMMENT= Foomatic Ghostscript Wrapper + +DIST_SUBDIR= ${PKGNAME} + +DEPENDS+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript + +USE_PERL5= # defined +NO_WRKSUBDIR= # defined +NO_CONFIGURE= # defined +EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC}/${DISTNAME} + +do-build: + ${MV} ${WRKSRC}/${DISTNAME} ${WRKSRC}/${DISTNAME}.orig + ${SED} -e "s,/usr/bin/perl,${PERL5},g" \ + ${WRKSRC}/${DISTNAME}.orig > ${WRKSRC}/${DISTNAME} + ${RM} ${WRKSRC}/${DISTNAME}.orig + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin + +.include "../../mk/bsd.pkg.mk" diff --git a/print/foomatic-gswrapper/distinfo b/print/foomatic-gswrapper/distinfo new file mode 100644 index 00000000000..cb547a849e8 --- /dev/null +++ b/print/foomatic-gswrapper/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/05/15 18:26:11 jlam Exp $ + +SHA1 (foomatic-gswrapper-1.2/foomatic-gswrapper) = fb6920663f96604bdb57e77e29200a66e7436ef5 +Size (foomatic-gswrapper-1.2/foomatic-gswrapper) = 1129 bytes diff --git a/print/foomatic-gswrapper/pkg/DESCR b/print/foomatic-gswrapper/pkg/DESCR new file mode 100644 index 00000000000..5a0a79fe203 --- /dev/null +++ b/print/foomatic-gswrapper/pkg/DESCR @@ -0,0 +1,6 @@ +The foomatic-gswrapper script runs Ghostscript in a more controlled and +makes debugging much easier by letting you see Ghostscript error messsages. +The wrapper is required if you print jobs from the Windows PostScript +driver (which writes jobs that generate advisory output that causes trouble +under plain Ghostscript). Some other software may produce such jobs; the +wrapper is probably a good idea in general. diff --git a/print/foomatic-gswrapper/pkg/PLIST b/print/foomatic-gswrapper/pkg/PLIST new file mode 100644 index 00000000000..a3de1fe3357 --- /dev/null +++ b/print/foomatic-gswrapper/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/15 18:26:11 jlam Exp $ +bin/foomatic-gswrapper -- cgit v1.2.3