aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1999-05-24 00:16:30 +0800
committerandreas <andreas@FreeBSD.org>1999-05-24 00:16:30 +0800
commit679de7d24ee5a280bf1aba5283b241d4a98805d5 (patch)
treea6d93dea6518e51b2253e0279fe5caaf246ff076 /print
parent39e95b23330613878241b21342397923ba53e870 (diff)
downloadfreebsd-ports-gnome-679de7d24ee5a280bf1aba5283b241d4a98805d5.tar.gz
freebsd-ports-gnome-679de7d24ee5a280bf1aba5283b241d4a98805d5.tar.zst
freebsd-ports-gnome-679de7d24ee5a280bf1aba5283b241d4a98805d5.zip
New apsfilter 5.1.0 released
Port related changes: - apsfilter port isn't interactive anymore, we can now put it onto FreeBSD CD 1 - use bzip2 for apsfilter sources to save space on FreeBSD Disk 1 - new run dependency to recode and a2ps - when BATCH is defined set PAPERSIZE to a4, to avoid problems with a2ps port - updated DESCR (listed some of the new apsfilter features) - updated PLIST - new post-install target to inform people to run SETUP to complete installation Apsfilter related changes: - new supported file types (BMP, FAX G3, troff) - possible to print in different print resolutions (see example in INSTALL), i.e.: lpr -P{low,med,high} some_files... - ghostscript can make use of additional type1 fonts by setting the gs environment variable GS_FONTPATH. gs automatically recognizes /usr/X11R6/lib/X11/fonts/Type1 and /var/X11R6/lib/X11/fonts/Type1 if present. Other Paths can be configured global or printer type dependend by admin or user as usual. See precedence of apsfilterrc and .apsfilterrc files above. - printer driver type dependend config files in that order: - /etc/apsfilterrc - /etc/apsfilterrc.${PRINTER} and if defined INSECURE: - $HOME/.apsfilterrc - $HOME/.apsfilterrc.${PRINTER} - CRLF translation and perforation skip for more HP models - new environment variable USE_RECODE_NOT_A2PS, so you can use reecode as an alternative over a2ps - new environment variable RECODE_OPTS defaults to "-q latin1:ibmpc" - new environment variable PAGES_REVERSE_ORDER for forcing dvips to print in reverse order - detection of printer resolution revamped and more clear - Precedence of definition of print resolution: a) by name of filter script (symlink to apsfilter) b) by setting GS_RESOL in apsfilterrc config files c) autodetected by apsfilter (PS_xxx, printer driver name) d) otherwise defaults to 300dpi (for dvips commandline) - some dvips settings cleanup, use -Z only when resol >= 400dpi - when printing html use some sane defaults for HTML2PS_OPTS if not set in apsfilterrc files Contributions: - SUPPORT FOR NEW GNU a2ps 4.12, Hurray !!!! thanks to Debian Port maintainer, Matej Vela <mvela@public.srce.hr> - cool PS testpage (test.ps) Andreas Reuter <ar205@bonzo.geowiss.nat.tu-bs.de> - many thanks to the SuSE developement team especially Werner Fink <werner@suse.de> for many inspirations - and of course cosmetic and bugfixes ;-)
Diffstat (limited to 'print')
-rw-r--r--print/apsfilter/Makefile34
-rw-r--r--print/apsfilter/distinfo2
-rw-r--r--print/apsfilter/pkg-descr8
-rw-r--r--print/apsfilter/pkg-plist6
-rw-r--r--print/apsfilter6/Makefile34
-rw-r--r--print/apsfilter6/distinfo2
-rw-r--r--print/apsfilter6/pkg-descr8
-rw-r--r--print/apsfilter6/pkg-plist6
8 files changed, 70 insertions, 30 deletions
diff --git a/print/apsfilter/Makefile b/print/apsfilter/Makefile
index 3011bcaf9ed1..1b0b59791656 100644
--- a/print/apsfilter/Makefile
+++ b/print/apsfilter/Makefile
@@ -3,24 +3,46 @@
# Date created: Tue Nov 14 18:29:48 MET 1995
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.24 1999/02/28 15:32:05 andreas Exp $
+# $Id: Makefile,v 1.25 1999/03/01 16:17:38 andreas Exp $
#
-DISTNAME= apsfilter-5.0.1
+DISTNAME= apsfilter-5.1.0
CATEGORIES= print
MASTER_SITES= http://www.FreeBSD.ORG/~andreas/download/
MAINTAINER= andreas@FreeBSD.ORG
-RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript5 \
+RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript55 \
html2ps:${PORTSDIR}/print/html2ps \
transfig:${PORTSDIR}/print/transfig \
cjpeg:${PORTSDIR}/graphics/jpeg \
anytopnm:${PORTSDIR}/graphics/netpbm \
- bunzip2:${PORTSDIR}/archivers/bzip2
+ bunzip2:${PORTSDIR}/archivers/bzip2 \
+ recode:${PORTSDIR}/converters/recode \
+ a2ps:${PORTSDIR}/print/a2ps-letter
-NO_PACKAGE= "Too many questions"
-IS_INTERACTIVE= yes
+USE_BZIP2= yes
WRKSRC= ${WRKDIR}/apsfilter
+# make a2ps port happy in this early stage
+.if defined(BATCH)
+ @${SETENV} PAPERSIZE=a4
+.endif
+.if ${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj
+.BEGIN:
+ @${ECHO}
+ @${ECHO} "PAPERSIZE incorrect value: ${PAPERSIZE}."
+ @${ECHO}
+ @${ECHO} "Must specify PAPERSIZE as one of a4, letter, or letterdj."
+ @${ECHO} "letterdj allows a slightly larger margins for DeskJets."
+ @${FALSE}
+.endif
+
+post-install:
+ @${MKDIR} ${PREFIX}/apsfilter/filter
+ @touch ${PREFIX}/apsfilter/filter/.keep_me
+ @${ECHO} ">>>>> Post installation task: <<<<<"
+ @${ECHO} "Printer installation:"
+ @${ECHO} " cd ${PREFIX}/apsfilter; ./SETUP"
+
.include <bsd.port.mk>
diff --git a/print/apsfilter/distinfo b/print/apsfilter/distinfo
index c56e55da4e37..4c222aaaddea 100644
--- a/print/apsfilter/distinfo
+++ b/print/apsfilter/distinfo
@@ -1 +1 @@
-MD5 (apsfilter-5.0.1.tar.gz) = 2645c9868ee53428da6b0973749c3b79
+MD5 (apsfilter-5.1.0.tar.bz2) = b8f11794bd116f3e9ba187aa44a4f7ad
diff --git a/print/apsfilter/pkg-descr b/print/apsfilter/pkg-descr
index 0c6642fb7379..0cd68976ef02 100644
--- a/print/apsfilter/pkg-descr
+++ b/print/apsfilter/pkg-descr
@@ -1,7 +1,5 @@
Have fun using apsfilter by typing:
-
lpr ascii.Z test.gif picture.tiff TeX.dvi.gz webpage.html docu.pdf
-
That's what apsfilter is designed for ;-)
apsfilter is a magic printfilter, that saves you the work to a) look for
@@ -14,10 +12,12 @@ printcap entries and creates printcap entries for one or more of
your local printers.
New features:
+ - supports different printer resolutions (if manually configured), i.e.
+ lpr -P{low,med,high} test.ps
- supports LPRng as printer scheduler
- supports ghostscript5.x uniprint driver
- writes the first 8k of a print job to /tmp for file type
recognition, so file(1) doesn't need to be able to read from
a pipe (stdin) and rewindstadin isn't needed anymore for dvips.
-
-Have fun ! Andreas Klemm <andreas@klemm.gtn.com> Febr 1999
+Send me a postcard if you like it ! Have fun !
+ Andreas Klemm <andreas@klemm.gtn.com> Mai 1999
diff --git a/print/apsfilter/pkg-plist b/print/apsfilter/pkg-plist
index 37653359d456..3db161c588d0 100644
--- a/print/apsfilter/pkg-plist
+++ b/print/apsfilter/pkg-plist
@@ -1,16 +1,14 @@
apsfilter/SETUP
-apsfilter/SETUP.cfg
-apsfilter/bin/a2ps
apsfilter/bin/apsfilter
apsfilter/bin/setup_dvips.sh
+apsfilter/filter/.keep_me
apsfilter/global/GLOBAL.sh
-apsfilter/global/filters_found
apsfilter/setup/README
apsfilter/setup/compile
apsfilter/setup/devices.txt
apsfilter/setup/filtersetup
apsfilter/setup/mksymlinks
-apsfilter/setup/tiger.ps
+apsfilter/setup/test.ps
apsfilter/template/README
apsfilter/template/apsfilterrc
share/doc/apsfilter/FAQ
diff --git a/print/apsfilter6/Makefile b/print/apsfilter6/Makefile
index 3011bcaf9ed1..1b0b59791656 100644
--- a/print/apsfilter6/Makefile
+++ b/print/apsfilter6/Makefile
@@ -3,24 +3,46 @@
# Date created: Tue Nov 14 18:29:48 MET 1995
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.24 1999/02/28 15:32:05 andreas Exp $
+# $Id: Makefile,v 1.25 1999/03/01 16:17:38 andreas Exp $
#
-DISTNAME= apsfilter-5.0.1
+DISTNAME= apsfilter-5.1.0
CATEGORIES= print
MASTER_SITES= http://www.FreeBSD.ORG/~andreas/download/
MAINTAINER= andreas@FreeBSD.ORG
-RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript5 \
+RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript55 \
html2ps:${PORTSDIR}/print/html2ps \
transfig:${PORTSDIR}/print/transfig \
cjpeg:${PORTSDIR}/graphics/jpeg \
anytopnm:${PORTSDIR}/graphics/netpbm \
- bunzip2:${PORTSDIR}/archivers/bzip2
+ bunzip2:${PORTSDIR}/archivers/bzip2 \
+ recode:${PORTSDIR}/converters/recode \
+ a2ps:${PORTSDIR}/print/a2ps-letter
-NO_PACKAGE= "Too many questions"
-IS_INTERACTIVE= yes
+USE_BZIP2= yes
WRKSRC= ${WRKDIR}/apsfilter
+# make a2ps port happy in this early stage
+.if defined(BATCH)
+ @${SETENV} PAPERSIZE=a4
+.endif
+.if ${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj
+.BEGIN:
+ @${ECHO}
+ @${ECHO} "PAPERSIZE incorrect value: ${PAPERSIZE}."
+ @${ECHO}
+ @${ECHO} "Must specify PAPERSIZE as one of a4, letter, or letterdj."
+ @${ECHO} "letterdj allows a slightly larger margins for DeskJets."
+ @${FALSE}
+.endif
+
+post-install:
+ @${MKDIR} ${PREFIX}/apsfilter/filter
+ @touch ${PREFIX}/apsfilter/filter/.keep_me
+ @${ECHO} ">>>>> Post installation task: <<<<<"
+ @${ECHO} "Printer installation:"
+ @${ECHO} " cd ${PREFIX}/apsfilter; ./SETUP"
+
.include <bsd.port.mk>
diff --git a/print/apsfilter6/distinfo b/print/apsfilter6/distinfo
index c56e55da4e37..4c222aaaddea 100644
--- a/print/apsfilter6/distinfo
+++ b/print/apsfilter6/distinfo
@@ -1 +1 @@
-MD5 (apsfilter-5.0.1.tar.gz) = 2645c9868ee53428da6b0973749c3b79
+MD5 (apsfilter-5.1.0.tar.bz2) = b8f11794bd116f3e9ba187aa44a4f7ad
diff --git a/print/apsfilter6/pkg-descr b/print/apsfilter6/pkg-descr
index 0c6642fb7379..0cd68976ef02 100644
--- a/print/apsfilter6/pkg-descr
+++ b/print/apsfilter6/pkg-descr
@@ -1,7 +1,5 @@
Have fun using apsfilter by typing:
-
lpr ascii.Z test.gif picture.tiff TeX.dvi.gz webpage.html docu.pdf
-
That's what apsfilter is designed for ;-)
apsfilter is a magic printfilter, that saves you the work to a) look for
@@ -14,10 +12,12 @@ printcap entries and creates printcap entries for one or more of
your local printers.
New features:
+ - supports different printer resolutions (if manually configured), i.e.
+ lpr -P{low,med,high} test.ps
- supports LPRng as printer scheduler
- supports ghostscript5.x uniprint driver
- writes the first 8k of a print job to /tmp for file type
recognition, so file(1) doesn't need to be able to read from
a pipe (stdin) and rewindstadin isn't needed anymore for dvips.
-
-Have fun ! Andreas Klemm <andreas@klemm.gtn.com> Febr 1999
+Send me a postcard if you like it ! Have fun !
+ Andreas Klemm <andreas@klemm.gtn.com> Mai 1999
diff --git a/print/apsfilter6/pkg-plist b/print/apsfilter6/pkg-plist
index 37653359d456..3db161c588d0 100644
--- a/print/apsfilter6/pkg-plist
+++ b/print/apsfilter6/pkg-plist
@@ -1,16 +1,14 @@
apsfilter/SETUP
-apsfilter/SETUP.cfg
-apsfilter/bin/a2ps
apsfilter/bin/apsfilter
apsfilter/bin/setup_dvips.sh
+apsfilter/filter/.keep_me
apsfilter/global/GLOBAL.sh
-apsfilter/global/filters_found
apsfilter/setup/README
apsfilter/setup/compile
apsfilter/setup/devices.txt
apsfilter/setup/filtersetup
apsfilter/setup/mksymlinks
-apsfilter/setup/tiger.ps
+apsfilter/setup/test.ps
apsfilter/template/README
apsfilter/template/apsfilterrc
share/doc/apsfilter/FAQ