Import foomatic-filters-3.0.2

Filter scripts used by the printer spoolers to convert the incoming
PostScript data into the printer's native format using a printer/driver
specific, but spooler-independent PPD file.


work by and ok jakemsr@, ok kili@
This commit is contained in:
ajacoutot 2007-09-09 14:40:29 +00:00
parent 063ebb2a74
commit 43bc486e6d
5 changed files with 83 additions and 0 deletions

View File

@ -0,0 +1,44 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/09/09 14:40:29 ajacoutot Exp $
COMMENT= Foomatic PPD print filters
DISTNAME= foomatic-filters-3.0.2
CATEGORIES= print
HOMEPAGE= http://www.linux-foundation.org/en/OpenPrinting/Database/Foomatic
MAINTAINER= Jacob Meuser <jakemsr@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.linuxprinting.org/download/foomatic/
RUN_DEPENDS= ::print/ghostscript/gnu \
::print/enscript
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CUPS="${LOCALBASE}/libexec/cups" \
CUPS_FILTERS="${LOCALBASE}/libexec/cups/filter" \
TEXTTOPS="${LOCALBASE}/libexec/cups/filter/texttops" \
PPR="${LOCALBASE}/lib/ppr" \
PPR_INTERFACES="${LOCALBASE}/lib/ppr/interfaces" \
PPR_LIB="${LOCALBASE}/lib/ppr/lib" \
A2PS="${LOCALBASE}/bin/a2ps" \
ENSCRIPT="${LOCALBASE}/bin/enscript" \
MPAGE="${LOCALBASE}/bin/mpage"
FAKE_FLAGS= ${MAKE_FLAGS} \
DESTDIR="${WRKINST}" \
ETCDIR="${PREFIX}/share/examples/foomatic"
SUBST_VARS+= SYSCONFDIR
PKG_ARCH= *
NO_REGRESS= Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (foomatic-filters-3.0.2.tar.gz) = 8PTJD6CuNG9TvxmhZeBxpg==
RMD160 (foomatic-filters-3.0.2.tar.gz) = YSUp6kYvfxUA8w/+1K7BBbQQk2w=
SHA1 (foomatic-filters-3.0.2.tar.gz) = bZSZSfQyISYyxwSQQnK8MvKHtXc=
SHA256 (foomatic-filters-3.0.2.tar.gz) = Fh3ICVfNvLDEPcTx2wiWjj7mRbZO/5NCKUsz/pVDZ5I=
SIZE (foomatic-filters-3.0.2.tar.gz) = 125875

View File

@ -0,0 +1,3 @@
Filter scripts used by the printer spoolers to convert the incoming
PostScript data into the printer's native format using a printer/driver
specific, but spooler-independent PPD file.

View File

@ -0,0 +1,12 @@
To use foomatic-rip(1) as the input filter for lpd(8), create a
printcap(5) entry similar to the folowing:
C64|Epson Stylus C64:\
:lp=/dev/ulpt0:\
:af=${SYSCONFDIR}/foomatic/C64.ppd:\
:if=${PREFIX}/bin/foomatic-rip:\
:sd=/var/spool/output:\
:lf=/var/log/lpd-errs:
There are PPD files in the foomatic-db package. foomatic-ppdfile(1)
from the foomatic-db-engine package can be used to generate PPD files.

View File

@ -0,0 +1,19 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/09/09 14:40:29 ajacoutot Exp $
bin/foomatic-gswrapper
bin/foomatic-rip
@comment lib/ppr/
@comment lib/ppr/interfaces/
@comment lib/ppr/interfaces/foomatic-rip
@comment lib/ppr/lib/
@comment lib/ppr/lib/foomatic-rip
@comment libexec/cups/
@comment libexec/cups/filter/
@comment libexec/cups/filter/foomatic-rip
@man man/man1/foomatic-gswrapper.1
@man man/man1/foomatic-rip.1
share/examples/foomatic/
@sample ${SYSCONFDIR}/foomatic/
@comment share/examples/foomatic/direct/
share/examples/foomatic/filter.conf
@sample ${SYSCONFDIR}/foomatic/filter.conf
@comment share/examples/foomatic/filter.conf.sample