From 30e6668b52dee50c735ba18307178050f678534d Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 4 Sep 1999 15:56:04 +0000 Subject: stylewriter-0.9.9 -- Apple StyleWriter driver for un*x --- print/stylewriter/Makefile | 59 ++++++++++++++++++++++++++++++++++++++++ print/stylewriter/files/Makefile | 8 ++++++ print/stylewriter/files/md5 | 3 ++ print/stylewriter/pkg/COMMENT | 1 + print/stylewriter/pkg/DESCR | 13 +++++++++ print/stylewriter/pkg/MESSAGE | 11 ++++++++ print/stylewriter/pkg/PLIST | 21 ++++++++++++++ 7 files changed, 116 insertions(+) create mode 100644 print/stylewriter/Makefile create mode 100644 print/stylewriter/files/Makefile create mode 100644 print/stylewriter/files/md5 create mode 100644 print/stylewriter/pkg/COMMENT create mode 100644 print/stylewriter/pkg/DESCR create mode 100644 print/stylewriter/pkg/MESSAGE create mode 100644 print/stylewriter/pkg/PLIST (limited to 'print') diff --git a/print/stylewriter/Makefile b/print/stylewriter/Makefile new file mode 100644 index 00000000000..085f62200aa --- /dev/null +++ b/print/stylewriter/Makefile @@ -0,0 +1,59 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/09/04 15:56:04 jlam Exp $ +# + +DISTNAME= stylewriter +PKGNAME= stylewriter-0.9.9 +CATEGORIES= print +MASTER_SITES= http://www.pobox.com/~monroe/styl/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.pobox.com/~monroe/styl/ + +RUN_DEPENDS+= ${LOCALBASE}/bin/gs:../../print/ghostscript5 +RUN_DEPENDS+= ${LOCALBASE}/bin/enscript:../../print/enscript + +NO_CONFIGURE= yes + +PLIST_SRC= ${WRKDIR}/PLIST +FILTER_DIR= libexec/stylewriter +FILTERS= direct_stylpbm direct_stylps \ + stylascii stylascii.a4 \ + stylps stylps-color stylps-color.a4 stylps.a4 +FILTER_SED= -e "s,/usr/local/gnu,${LOCALBASE},g" \ + -e "s,/usr/local,${PREFIX},g" +PRINTCAP_SED= -e "s,/var/spool/stylps,/var/spool/lpd/stylps,g" \ + -e "s,/usr/local/sbin,${PREFIX}/libexec/stylewriter,g" + +post-extract: + ${CP} ${FILESDIR}/Makefile ${WRKSRC} + +post-install: + ${CP} ${PKGDIR}/PLIST ${PLIST_SRC} + ${INSTALL_DATA_DIR} ${PREFIX}/${FILTER_DIR} + (cd ${WRKSRC}/scripts; \ + for FILTER in ${FILTERS}; do \ + ${SED} ${FILTER_SED} \ + < $${FILTER} > ${WRKDIR}/$${FILTER}; \ + ${INSTALL_SCRIPT} ${WRKDIR}/$${FILTER} \ + ${PREFIX}/${FILTER_DIR}/$${FILTER}; \ + ${RM} ${WRKDIR}/$${FILTER}; \ + done) + + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/stylewriter + for FILE in README README.protocol README.troubleshooting; do \ + ${INSTALL_DATA} ${WRKSRC}/$${FILE} \ + ${PREFIX}/share/doc/stylewriter; \ + done + + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/stylewriter + for PRINTCAP in printcap printcap.a4; do \ + ${SED} ${PRINTCAP_SED} \ + < $${PRINTCAP} > ${WRKDIR}/$${PRINTCAP}; \ + ${INSTALL_DATA} ${WRKDIR}/$${PRINTCAP} \ + ${PREFIX}/share/examples/stylewriter; \ + ${RM} ${WRKDIR}/$${PRINTCAP}; \ + done + ${INSTALL_DATA} ${WRKSRC}/styl.ppd ${PREFIX}/share/examples/stylewriter + ${INSTALL_DATA_DIR} /var/spool/lpd/stylps + +.include "../../mk/bsd.pkg.mk" diff --git a/print/stylewriter/files/Makefile b/print/stylewriter/files/Makefile new file mode 100644 index 00000000000..e034937fd08 --- /dev/null +++ b/print/stylewriter/files/Makefile @@ -0,0 +1,8 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/09/04 15:56:04 jlam Exp $ + +BINDIR= ${PREFIX}/sbin +CPPFLAGS+= -Dunix +PROG= lpstyl +NOMAN= noman + +.include diff --git a/print/stylewriter/files/md5 b/print/stylewriter/files/md5 new file mode 100644 index 00000000000..a7e4a6593f5 --- /dev/null +++ b/print/stylewriter/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/09/04 15:56:04 jlam Exp $ + +MD5 (stylewriter.tar.gz) = 1d086259f824771f9c19a7eecce87052 diff --git a/print/stylewriter/pkg/COMMENT b/print/stylewriter/pkg/COMMENT new file mode 100644 index 00000000000..288342b9725 --- /dev/null +++ b/print/stylewriter/pkg/COMMENT @@ -0,0 +1 @@ +Apple StyleWriter driver for un*x diff --git a/print/stylewriter/pkg/DESCR b/print/stylewriter/pkg/DESCR new file mode 100644 index 00000000000..0ff734dd226 --- /dev/null +++ b/print/stylewriter/pkg/DESCR @@ -0,0 +1,13 @@ +This is an Apple StyleWriter driver for un*x. It was developed on +NetBSD-mac68k, and has been reported to work on NetBSD-i386, +linux-pmac, mklinux-ppc, and linux-x86. + +Supported printers include: + +StyleWriter I +StyleWriter II +StyleWriter III (aka StyleWriter 1200) +Color StyleWriter 1500 +Color StyleWriter 2200 +Color StyleWriter 2400 +Color StyleWriter 2500 diff --git a/print/stylewriter/pkg/MESSAGE b/print/stylewriter/pkg/MESSAGE new file mode 100644 index 00000000000..40911928a6c --- /dev/null +++ b/print/stylewriter/pkg/MESSAGE @@ -0,0 +1,11 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 1999/09/04 15:56:05 jlam Exp $ + +Please make a symbolic link from your printer device to /dev/stylewriter. + +There are example /etc/printcap entries for the stylewriter located in + + ${PREFIX}/share/examples/printcap + ${PREFIX}/share/examples/printcap.a4 + +=========================================================================== diff --git a/print/stylewriter/pkg/PLIST b/print/stylewriter/pkg/PLIST new file mode 100644 index 00000000000..56de1b0d861 --- /dev/null +++ b/print/stylewriter/pkg/PLIST @@ -0,0 +1,21 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/09/04 15:56:05 jlam Exp $ +sbin/lpstyl +libexec/stylewriter/direct_stylpbm +libexec/stylewriter/direct_stylps +libexec/stylewriter/stylascii +libexec/stylewriter/stylascii.a4 +libexec/stylewriter/stylps +libexec/stylewriter/stylps-color +libexec/stylewriter/stylps-color.a4 +libexec/stylewriter/stylps.a4 +share/doc/stylewriter/README +share/doc/stylewriter/README.protocol +share/doc/stylewriter/README.troubleshooting +share/examples/stylewriter/printcap +share/examples/stylewriter/printcap.a4 +share/examples/stylewriter/styl.ppd +@dirrm share/examples/stylewriter +@dirrm share/doc/stylewriter +@dirrm libexec/stylewriter +@exec mkdir -p /var/spool/lpd/stylps +@unexec rmdir /var/spool/lpd/stylps 2>/dev/null || true -- cgit v1.2.3