summaryrefslogtreecommitdiff
path: root/print/foomatic-gswrapper
diff options
context:
space:
mode:
authorjlam <jlam>2001-05-15 18:26:11 +0000
committerjlam <jlam>2001-05-15 18:26:11 +0000
commita64a10092534deba58958ee312e3ad6bde612615 (patch)
treeb60558b497380ff286b902a10ee957eb4580665a /print/foomatic-gswrapper
parenta179d81c6766f4c023b951fa6be06dd060fb930f (diff)
downloadpkgsrc-a64a10092534deba58958ee312e3ad6bde612615.tar.gz
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.
Diffstat (limited to 'print/foomatic-gswrapper')
-rw-r--r--print/foomatic-gswrapper/Makefile42
-rw-r--r--print/foomatic-gswrapper/distinfo4
-rw-r--r--print/foomatic-gswrapper/pkg/DESCR6
-rw-r--r--print/foomatic-gswrapper/pkg/PLIST2
4 files changed, 54 insertions, 0 deletions
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