From 7a29d57b21606904350f66b6e1181109cbe2d29c Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 23 Jun 1998 21:35:55 +0000 Subject: [PATCH] New "magicfilter-1.2" package: customizable, extensible automatic printer filter. --- print/magicfilter/Makefile | 29 +++++++++++++++++++++++++++++ print/magicfilter/files/md5 | 1 + print/magicfilter/patches/patch-aa | 28 ++++++++++++++++++++++++++++ print/magicfilter/pkg/COMMENT | 1 + print/magicfilter/pkg/DESCR | 12 ++++++++++++ print/magicfilter/pkg/PLIST | 3 +++ 6 files changed, 74 insertions(+) create mode 100644 print/magicfilter/Makefile create mode 100644 print/magicfilter/files/md5 create mode 100644 print/magicfilter/patches/patch-aa create mode 100644 print/magicfilter/pkg/COMMENT create mode 100644 print/magicfilter/pkg/DESCR create mode 100644 print/magicfilter/pkg/PLIST diff --git a/print/magicfilter/Makefile b/print/magicfilter/Makefile new file mode 100644 index 000000000000..57c888a11879 --- /dev/null +++ b/print/magicfilter/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1 1998/06/23 21:35:55 tron Exp $ + +DISTNAME= magicfilter-1.2 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= system/printing + +MAINTAINER= tron@netbsd.org + +DEPENDS+= a2ps-${PAPERSIZE}-4.9.9:../../print/a2ps \ + ghostscript-5.10:../../print/ghostscript5 \ + netpbm-94.3.1:../../graphics/netpbm \ + teTeX-0.4p8:../../print/teTeX + +USE_GMAKE= yes +GNU_CONFIGURE= yes + +PLIST_SRC= ${WRKDIR}/PLIST + +post-install: + @${CP} ${PKGDIR}/PLIST ${PLIST_SRC} + @(cd ${WRKSRC}/filters; \ + for FILTER in *-filter; do \ + ${ECHO} ${INSTALL_SCRIPT} $$FILTER ${PREFIX}/libexec; \ + ${INSTALL_SCRIPT} $$FILTER ${PREFIX}/libexec; \ + ${ECHO} libexec/$$FILTER >>${PLIST_SRC}; \ + done) + +.include "../../mk/bsd.pkg.mk" diff --git a/print/magicfilter/files/md5 b/print/magicfilter/files/md5 new file mode 100644 index 000000000000..90731bf2944f --- /dev/null +++ b/print/magicfilter/files/md5 @@ -0,0 +1 @@ +MD5 (magicfilter-1.2.tar.gz) = dcece221e363ca5dbc79bdd84713c04e diff --git a/print/magicfilter/patches/patch-aa b/print/magicfilter/patches/patch-aa new file mode 100644 index 000000000000..95efd4655e39 --- /dev/null +++ b/print/magicfilter/patches/patch-aa @@ -0,0 +1,28 @@ +--- Makefile.in.orig Tue Mar 28 07:18:39 1995 ++++ Makefile.in Tue Jun 23 22:58:43 1998 +@@ -54,21 +54,21 @@ + all: magicfilter magicfilter.man filters + + filters: +- cd filters; make ++ cd filters; ${MAKE} + + install: magicfilter magicfilter.man + ${INSTALL_EXEC} magicfilter ${bindir}/magicfilter + ${INSTALL_DATA} magicfilter.man ${mandir}/magicfilter.${mansec} + + install_filters: +- cd filters; make install ++ cd filters; ${MAKE} install + + clean: +- -cd filters; make clean ++ -cd filters; ${MAKE} clean + -${RM} magicfilter magicfilter.man *.o + + distclean: clean +- -cd filters; make distclean ++ -cd filters; ${MAKE} distclean + -${RM} *~ Makefile config.cache config.log config.status config.h + + magicfilter: ${OBJS} diff --git a/print/magicfilter/pkg/COMMENT b/print/magicfilter/pkg/COMMENT new file mode 100644 index 000000000000..78f7ce15e5a3 --- /dev/null +++ b/print/magicfilter/pkg/COMMENT @@ -0,0 +1 @@ +customizable, extensible automatic printer filter. diff --git a/print/magicfilter/pkg/DESCR b/print/magicfilter/pkg/DESCR new file mode 100644 index 000000000000..9c346d336fc3 --- /dev/null +++ b/print/magicfilter/pkg/DESCR @@ -0,0 +1,12 @@ +MAGICFILTER is a customizable, extensible automatic printer filter. +Although written for Linux, it should work on any UNIX system which +has an ANSI C compiler. + +If you use MAGICFILTER and find it useful, I would appreciate an email +note from you. If you are using it on a type of printer that I do not +have, I would also appreciate a copy of your configuration file for +inclusion in future versions. If you have suggestions for +improvement, I would love to hear them as well. + + H. Peter Anvin + diff --git a/print/magicfilter/pkg/PLIST b/print/magicfilter/pkg/PLIST new file mode 100644 index 000000000000..350dce0c51aa --- /dev/null +++ b/print/magicfilter/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 1998/06/23 21:35:57 tron Exp $ +bin/magicfilter +man/man8/magicfilter.8