summaryrefslogtreecommitdiff
path: root/print/magicfilter
diff options
context:
space:
mode:
authortron <tron>1998-06-23 21:35:55 +0000
committertron <tron>1998-06-23 21:35:55 +0000
commitfe4563b1ef2ffdbb90cd612e1336e924c33c6fb0 (patch)
tree0ab109d73975ffab45a2a0889d10da5e47ce26a2 /print/magicfilter
parentdecefd068ec92f5ad0a47d958d190308b9d85803 (diff)
downloadpkgsrc-fe4563b1ef2ffdbb90cd612e1336e924c33c6fb0.tar.gz
New "magicfilter-1.2" package:
customizable, extensible automatic printer filter.
Diffstat (limited to 'print/magicfilter')
-rw-r--r--print/magicfilter/Makefile29
-rw-r--r--print/magicfilter/files/md51
-rw-r--r--print/magicfilter/patches/patch-aa28
-rw-r--r--print/magicfilter/pkg/COMMENT1
-rw-r--r--print/magicfilter/pkg/DESCR12
-rw-r--r--print/magicfilter/pkg/PLIST3
6 files changed, 74 insertions, 0 deletions
diff --git a/print/magicfilter/Makefile b/print/magicfilter/Makefile
new file mode 100644
index 00000000000..57c888a1187
--- /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 00000000000..90731bf2944
--- /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 00000000000..95efd4655e3
--- /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 00000000000..78f7ce15e5a
--- /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 00000000000..9c346d336fc
--- /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
+ <hpa@zytor.com>
diff --git a/print/magicfilter/pkg/PLIST b/print/magicfilter/pkg/PLIST
new file mode 100644
index 00000000000..350dce0c51a
--- /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