summaryrefslogtreecommitdiff
path: root/print/apsfilter/Makefile
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-06-11 21:57:23 +0000
committerzuntum <zuntum>2001-06-11 21:57:23 +0000
commit470b8eab07cf7273a6c68422a7ac82ea9705286d (patch)
tree8a11c8b2be9a732d8ab6e75a5361cf035166d7bf /print/apsfilter/Makefile
parentf9cfe1ea74f2cb5bef7d074f0f6fe7c923610013 (diff)
downloadpkgsrc-470b8eab07cf7273a6c68422a7ac82ea9705286d.tar.gz
Initial import of apsfilter-6.1.1
apsfilter is a magic printfilter, that allows you to print different document types "automagically" without having to convert them manually into something which is understood by your lineprinter. Apsfilter supports the following file and compression types: gzip, bzip, compress, freeze, pack, ASCII, BMP, Data (data,PCL,...), English, TeX DVI, FIG, GIF, Group 3 Fax, HTML, JPEG, Mail/News, PBM/PNM/PPM, PC Bitmap Data, PDF, Postscript(tm), raw, script (shell,..), Text, sunraster, tiff, roff (nroff, groff, troff).
Diffstat (limited to 'print/apsfilter/Makefile')
-rw-r--r--print/apsfilter/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/print/apsfilter/Makefile b/print/apsfilter/Makefile
new file mode 100644
index 00000000000..a9df4f2a434
--- /dev/null
+++ b/print/apsfilter/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/06/11 21:57:23 zuntum Exp $
+#
+
+DISTNAME= apsfilter-6.1.1
+CATEGORIES= print
+MASTER_SITES= http://www.apsfilter.org/download/
+
+MAINTAINER= zuntum@netbsd.org,jmcneill@invisible.yi.org
+HOMEPAGE= http://www.apsfilter.org/
+COMMENT= number one magic filter for printing under Unix environment
+
+DEPENDS= recode-*:../../converters/recode
+DEPENDS+= ghostscript>=6.01:../../print/ghostscript
+#DEPENDS+= html2ps-*:../../print/html2ps
+DEPENDS+= transfig-*:../../print/transfig
+DEPENDS+= jpeg-6b:../../graphics/jpeg
+DEPENDS+= netpbm-*:../../graphics/netpbm
+DEPENDS+= a2ps-*:../../print/a2ps
+DEPENDS+= psutils-*:../../print/psutils
+
+DEINSTALL_FILE= ${WRKDIR}/.DEINSTALL
+
+WRKSRC= ${WRKDIR}/apsfilter
+
+USE_BZIP2= YES
+
+post-patch:
+ for i in bin/apsfilter SETUP tools/prtmgmt; do \
+ ${SED} "s,/usr/local,${LOCALBASE},g" ${WRKSRC}/$$i \
+ > ${WRKSRC}/$$i.done; \
+ ${MV} ${WRKSRC}/$$i.done ${WRKSRC}/$$i; \
+ done
+
+ ${SED} "s,@LOCALBASE@,${LOCALBASE},g" ${PKGDIR}/DEINSTALL \
+ > ${DEINSTALL_FILE}
+
+.include "../../mk/bsd.pkg.mk"