aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1997-08-27 06:52:44 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1997-08-27 06:52:44 +0000
commit6895bfa18f07e13e9e226ef9b7c7f9662a83dde3 (patch)
tree8e8142f8bbfd42e9f032f67309cb3d3bd9850583 /print
parent2d39435104f9944b69db985ecab8ec9762189b07 (diff)
downloadports-6895bfa18f07e13e9e226ef9b7c7f9662a83dde3.tar.gz
ports-6895bfa18f07e13e9e226ef9b7c7f9662a83dde3.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript-afpl/Makefile19
-rw-r--r--print/ghostscript-afpl/distinfo1
-rw-r--r--print/ghostscript-afpl/scripts/configure2
-rw-r--r--print/ghostscript-gnu/Makefile19
-rw-r--r--print/ghostscript-gnu/distinfo1
-rw-r--r--print/ghostscript-gnu/scripts/configure2
-rw-r--r--print/ghostscript-gpl/Makefile19
-rw-r--r--print/ghostscript-gpl/distinfo1
-rw-r--r--print/ghostscript-gpl/scripts/configure2
-rw-r--r--print/ghostscript5/Makefile19
-rw-r--r--print/ghostscript5/distinfo1
-rw-r--r--print/ghostscript55/Makefile19
-rw-r--r--print/ghostscript55/distinfo1
-rw-r--r--print/ghostscript55/scripts/configure2
-rw-r--r--print/ghostscript6/Makefile19
-rw-r--r--print/ghostscript6/distinfo1
-rw-r--r--print/ghostscript6/scripts/configure2
-rw-r--r--print/ghostscript7/Makefile19
-rw-r--r--print/ghostscript7/distinfo1
-rw-r--r--print/ghostscript7/scripts/configure2
-rw-r--r--print/ghostscript8/Makefile19
-rw-r--r--print/ghostscript8/distinfo1
-rw-r--r--print/ghostscript8/scripts/configure2
23 files changed, 135 insertions, 39 deletions
diff --git a/print/ghostscript-afpl/Makefile b/print/ghostscript-afpl/Makefile
index c6463d08a23a..c83dfb84c240 100644
--- a/print/ghostscript-afpl/Makefile
+++ b/print/ghostscript-afpl/Makefile
@@ -3,18 +3,21 @@
# Date created: Tue Jun 10 21:58:54 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.5 1997/07/13 18:49:28 max Exp $
+# $Id: Makefile,v 1.6 1997/08/24 14:36:24 andreas Exp $
#
DISTNAME= ghostscript-5.03
CATEGORIES= print
-MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/
-DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER}
+MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/ \
+ ftp://bonk.ethz.ch/gs-driver-distrib/
+DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
+ ${HP850_DRV}
MAINTAINER= andreas@FreeBSD.org
BUILD_DEPENDS= /nonexistent:${PORTSDIR}/graphics/jpeg \
- /nonexistent:${PORTSDIR}/graphics/png
+ /nonexistent:${PORTSDIR}/graphics/png \
+ unzip:${PORTSDIR}/archiver/unzip
DEPENDS_TARGET= extract
MAKE_ENV= PORTSDIR=${PORTSDIR}
@@ -33,6 +36,9 @@ GS_SOURCES+= ghostscript-5.03gnu.tar.gz
GS_FONTS_STD= ghostscript-fonts-std-4.0.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-5.0.tar.gz
+# Additional driver HP 850, see http://bonk.ethz.ch/hp850/hp850.html
+HP850_DRV= hp850.zip
+
.if defined(A4)
CFLAGS+= -DA4
.endif
@@ -54,6 +60,11 @@ post-extract:
touch ${WRKSRC}/trees.o
ln -s ${PORTSDIR}/graphics/jpeg/work/jpeg-6a ${WRKSRC}/jpeg-6a
ln -s ${PORTSDIR}/graphics/png/work/libpng-0.96 ${WRKSRC}/libpng
+ cd ${WRKSRC} && unzip ${DISTDIR}/${HP850_DRV}
+.for file in gdevcd8.c gdevcd8.h
+# ( cd ${WRKSRC} && sed -e "s/\\\\,//" < ${file} | sed -e "s/\\ //" > ${file}.tmp && mv ${file}.tmp ${file} )
+ ( cd ${WRKSRC} && sed -e "s/ //" < ${file} > ${file}.tmp && mv ${file}.tmp ${file} )
+.endfor
do-configure:
.if defined(BATCH)
diff --git a/print/ghostscript-afpl/distinfo b/print/ghostscript-afpl/distinfo
index 1e59f0799ce8..70ccc8512cde 100644
--- a/print/ghostscript-afpl/distinfo
+++ b/print/ghostscript-afpl/distinfo
@@ -2,3 +2,4 @@ MD5 (ghostscript-5.03.tar.gz) = 43aadf534775dc47f3ca2c235023f909
MD5 (ghostscript-5.03gnu.tar.gz) = f33fa05bec91d96fef34fe902629f974
MD5 (ghostscript-fonts-std-4.0.tar.gz) = 1e0fe2149affd80deaaae144227049b9
MD5 (ghostscript-fonts-other-5.0.tar.gz) = 703bcc5592f4b4644cda454bcc45c7d6
+MD5 (hp850.zip) = 9d8d59eb8da9ec394d7aeb1560ca8d40
diff --git a/print/ghostscript-afpl/scripts/configure b/print/ghostscript-afpl/scripts/configure
index 91107e76a763..054d58e4726f 100644
--- a/print/ghostscript-afpl/scripts/configure
+++ b/print/ghostscript-afpl/scripts/configure
@@ -30,7 +30,7 @@ Have fun with this new configuration style ! -andreas \n\n\
"cdjmono" "HP DeskJet 500/510/520/540C b/w printing" ON \
"cdj500" "HP DeskJet 500C (same as cdjcolor)" ON \
"cdj550" "HP DeskJet 550C/560C" ON \
- "cdj850" "HP DeskJet 850/885/870/890" ON \
+ "cdj850" "HP DeskJet 850/855/870/890" ON \
"cp50" "Mitsubishi CP50 color" ON \
"declj250" "alternate DEC LJ250 driver" ON \
"deskjet" "HP DeskJet and DeskJet Plus" ON \
diff --git a/print/ghostscript-gnu/Makefile b/print/ghostscript-gnu/Makefile
index c6463d08a23a..c83dfb84c240 100644
--- a/print/ghostscript-gnu/Makefile
+++ b/print/ghostscript-gnu/Makefile
@@ -3,18 +3,21 @@
# Date created: Tue Jun 10 21:58:54 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.5 1997/07/13 18:49:28 max Exp $
+# $Id: Makefile,v 1.6 1997/08/24 14:36:24 andreas Exp $
#
DISTNAME= ghostscript-5.03
CATEGORIES= print
-MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/
-DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER}
+MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/ \
+ ftp://bonk.ethz.ch/gs-driver-distrib/
+DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
+ ${HP850_DRV}
MAINTAINER= andreas@FreeBSD.org
BUILD_DEPENDS= /nonexistent:${PORTSDIR}/graphics/jpeg \
- /nonexistent:${PORTSDIR}/graphics/png
+ /nonexistent:${PORTSDIR}/graphics/png \
+ unzip:${PORTSDIR}/archiver/unzip
DEPENDS_TARGET= extract
MAKE_ENV= PORTSDIR=${PORTSDIR}
@@ -33,6 +36,9 @@ GS_SOURCES+= ghostscript-5.03gnu.tar.gz
GS_FONTS_STD= ghostscript-fonts-std-4.0.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-5.0.tar.gz
+# Additional driver HP 850, see http://bonk.ethz.ch/hp850/hp850.html
+HP850_DRV= hp850.zip
+
.if defined(A4)
CFLAGS+= -DA4
.endif
@@ -54,6 +60,11 @@ post-extract:
touch ${WRKSRC}/trees.o
ln -s ${PORTSDIR}/graphics/jpeg/work/jpeg-6a ${WRKSRC}/jpeg-6a
ln -s ${PORTSDIR}/graphics/png/work/libpng-0.96 ${WRKSRC}/libpng
+ cd ${WRKSRC} && unzip ${DISTDIR}/${HP850_DRV}
+.for file in gdevcd8.c gdevcd8.h
+# ( cd ${WRKSRC} && sed -e "s/\\\\,//" < ${file} | sed -e "s/\\ //" > ${file}.tmp && mv ${file}.tmp ${file} )
+ ( cd ${WRKSRC} && sed -e "s/ //" < ${file} > ${file}.tmp && mv ${file}.tmp ${file} )
+.endfor
do-configure:
.if defined(BATCH)
diff --git a/print/ghostscript-gnu/distinfo b/print/ghostscript-gnu/distinfo
index 1e59f0799ce8..70ccc8512cde 100644
--- a/print/ghostscript-gnu/distinfo
+++ b/print/ghostscript-gnu/distinfo
@@ -2,3 +2,4 @@ MD5 (ghostscript-5.03.tar.gz) = 43aadf534775dc47f3ca2c235023f909
MD5 (ghostscript-5.03gnu.tar.gz) = f33fa05bec91d96fef34fe902629f974
MD5 (ghostscript-fonts-std-4.0.tar.gz) = 1e0fe2149affd80deaaae144227049b9
MD5 (ghostscript-fonts-other-5.0.tar.gz) = 703bcc5592f4b4644cda454bcc45c7d6
+MD5 (hp850.zip) = 9d8d59eb8da9ec394d7aeb1560ca8d40
diff --git a/print/ghostscript-gnu/scripts/configure b/print/ghostscript-gnu/scripts/configure
index 91107e76a763..054d58e4726f 100644
--- a/print/ghostscript-gnu/scripts/configure
+++ b/print/ghostscript-gnu/scripts/configure
@@ -30,7 +30,7 @@ Have fun with this new configuration style ! -andreas \n\n\
"cdjmono" "HP DeskJet 500/510/520/540C b/w printing" ON \
"cdj500" "HP DeskJet 500C (same as cdjcolor)" ON \
"cdj550" "HP DeskJet 550C/560C" ON \
- "cdj850" "HP DeskJet 850/885/870/890" ON \
+ "cdj850" "HP DeskJet 850/855/870/890" ON \
"cp50" "Mitsubishi CP50 color" ON \
"declj250" "alternate DEC LJ250 driver" ON \
"deskjet" "HP DeskJet and DeskJet Plus" ON \
diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile
index c6463d08a23a..c83dfb84c240 100644
--- a/print/ghostscript-gpl/Makefile
+++ b/print/ghostscript-gpl/Makefile
@@ -3,18 +3,21 @@
# Date created: Tue Jun 10 21:58:54 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.5 1997/07/13 18:49:28 max Exp $
+# $Id: Makefile,v 1.6 1997/08/24 14:36:24 andreas Exp $
#
DISTNAME= ghostscript-5.03
CATEGORIES= print
-MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/
-DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER}
+MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/ \
+ ftp://bonk.ethz.ch/gs-driver-distrib/
+DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
+ ${HP850_DRV}
MAINTAINER= andreas@FreeBSD.org
BUILD_DEPENDS= /nonexistent:${PORTSDIR}/graphics/jpeg \
- /nonexistent:${PORTSDIR}/graphics/png
+ /nonexistent:${PORTSDIR}/graphics/png \
+ unzip:${PORTSDIR}/archiver/unzip
DEPENDS_TARGET= extract
MAKE_ENV= PORTSDIR=${PORTSDIR}
@@ -33,6 +36,9 @@ GS_SOURCES+= ghostscript-5.03gnu.tar.gz
GS_FONTS_STD= ghostscript-fonts-std-4.0.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-5.0.tar.gz
+# Additional driver HP 850, see http://bonk.ethz.ch/hp850/hp850.html
+HP850_DRV= hp850.zip
+
.if defined(A4)
CFLAGS+= -DA4
.endif
@@ -54,6 +60,11 @@ post-extract:
touch ${WRKSRC}/trees.o
ln -s ${PORTSDIR}/graphics/jpeg/work/jpeg-6a ${WRKSRC}/jpeg-6a
ln -s ${PORTSDIR}/graphics/png/work/libpng-0.96 ${WRKSRC}/libpng
+ cd ${WRKSRC} && unzip ${DISTDIR}/${HP850_DRV}
+.for file in gdevcd8.c gdevcd8.h
+# ( cd ${WRKSRC} && sed -e "s/\\\\,//" < ${file} | sed -e "s/\\ //" > ${file}.tmp && mv ${file}.tmp ${file} )
+ ( cd ${WRKSRC} && sed -e "s/ //" < ${file} > ${file}.tmp && mv ${file}.tmp ${file} )
+.endfor
do-configure:
.if defined(BATCH)
diff --git a/print/ghostscript-gpl/distinfo b/print/ghostscript-gpl/distinfo
index 1e59f0799ce8..70ccc8512cde 100644
--- a/print/ghostscript-gpl/distinfo
+++ b/print/ghostscript-gpl/distinfo
@@ -2,3 +2,4 @@ MD5 (ghostscript-5.03.tar.gz) = 43aadf534775dc47f3ca2c235023f909
MD5 (ghostscript-5.03gnu.tar.gz) = f33fa05bec91d96fef34fe902629f974
MD5 (ghostscript-fonts-std-4.0.tar.gz) = 1e0fe2149affd80deaaae144227049b9
MD5 (ghostscript-fonts-other-5.0.tar.gz) = 703bcc5592f4b4644cda454bcc45c7d6
+MD5 (hp850.zip) = 9d8d59eb8da9ec394d7aeb1560ca8d40
diff --git a/print/ghostscript-gpl/scripts/configure b/print/ghostscript-gpl/scripts/configure
index 91107e76a763..054d58e4726f 100644
--- a/print/ghostscript-gpl/scripts/configure
+++ b/print/ghostscript-gpl/scripts/configure
@@ -30,7 +30,7 @@ Have fun with this new configuration style ! -andreas \n\n\
"cdjmono" "HP DeskJet 500/510/520/540C b/w printing" ON \
"cdj500" "HP DeskJet 500C (same as cdjcolor)" ON \
"cdj550" "HP DeskJet 550C/560C" ON \
- "cdj850" "HP DeskJet 850/885/870/890" ON \
+ "cdj850" "HP DeskJet 850/855/870/890" ON \
"cp50" "Mitsubishi CP50 color" ON \
"declj250" "alternate DEC LJ250 driver" ON \
"deskjet" "HP DeskJet and DeskJet Plus" ON \
diff --git a/print/ghostscript5/Makefile b/print/ghostscript5/Makefile
index c6463d08a23a..c83dfb84c240 100644
--- a/print/ghostscript5/Makefile
+++ b/print/ghostscript5/Makefile
@@ -3,18 +3,21 @@
# Date created: Tue Jun 10 21:58:54 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.5 1997/07/13 18:49:28 max Exp $
+# $Id: Makefile,v 1.6 1997/08/24 14:36:24 andreas Exp $
#
DISTNAME= ghostscript-5.03
CATEGORIES= print
-MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/
-DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER}
+MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/ \
+ ftp://bonk.ethz.ch/gs-driver-distrib/
+DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
+ ${HP850_DRV}
MAINTAINER= andreas@FreeBSD.org
BUILD_DEPENDS= /nonexistent:${PORTSDIR}/graphics/jpeg \
- /nonexistent:${PORTSDIR}/graphics/png
+ /nonexistent:${PORTSDIR}/graphics/png \
+ unzip:${PORTSDIR}/archiver/unzip
DEPENDS_TARGET= extract
MAKE_ENV= PORTSDIR=${PORTSDIR}
@@ -33,6 +36,9 @@ GS_SOURCES+= ghostscript-5.03gnu.tar.gz
GS_FONTS_STD= ghostscript-fonts-std-4.0.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-5.0.tar.gz
+# Additional driver HP 850, see http://bonk.ethz.ch/hp850/hp850.html
+HP850_DRV= hp850.zip
+
.if defined(A4)
CFLAGS+= -DA4
.endif
@@ -54,6 +60,11 @@ post-extract:
touch ${WRKSRC}/trees.o
ln -s ${PORTSDIR}/graphics/jpeg/work/jpeg-6a ${WRKSRC}/jpeg-6a
ln -s ${PORTSDIR}/graphics/png/work/libpng-0.96 ${WRKSRC}/libpng
+ cd ${WRKSRC} && unzip ${DISTDIR}/${HP850_DRV}
+.for file in gdevcd8.c gdevcd8.h
+# ( cd ${WRKSRC} && sed -e "s/\\\\,//" < ${file} | sed -e "s/\\ //" > ${file}.tmp && mv ${file}.tmp ${file} )
+ ( cd ${WRKSRC} && sed -e "s/ //" < ${file} > ${file}.tmp && mv ${file}.tmp ${file} )
+.endfor
do-configure:
.if defined(BATCH)
diff --git a/print/ghostscript5/distinfo b/print/ghostscript5/distinfo
index 1e59f0799ce8..70ccc8512cde 100644
--- a/print/ghostscript5/distinfo
+++ b/print/ghostscript5/distinfo
@@ -2,3 +2,4 @@ MD5 (ghostscript-5.03.tar.gz) = 43aadf534775dc47f3ca2c235023f909
MD5 (ghostscript-5.03gnu.tar.gz) = f33fa05bec91d96fef34fe902629f974
MD5 (ghostscript-fonts-std-4.0.tar.gz) = 1e0fe2149affd80deaaae144227049b9
MD5 (ghostscript-fonts-other-5.0.tar.gz) = 703bcc5592f4b4644cda454bcc45c7d6
+MD5 (hp850.zip) = 9d8d59eb8da9ec394d7aeb1560ca8d40
diff --git a/print/ghostscript55/Makefile b/print/ghostscript55/Makefile
index c6463d08a23a..c83dfb84c240 100644
--- a/print/ghostscript55/Makefile
+++ b/print/ghostscript55/Makefile
@@ -3,18 +3,21 @@
# Date created: Tue Jun 10 21:58:54 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.5 1997/07/13 18:49:28 max Exp $
+# $Id: Makefile,v 1.6 1997/08/24 14:36:24 andreas Exp $
#
DISTNAME= ghostscript-5.03
CATEGORIES= print
-MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/
-DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER}
+MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/ \
+ ftp://bonk.ethz.ch/gs-driver-distrib/
+DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
+ ${HP850_DRV}
MAINTAINER= andreas@FreeBSD.org
BUILD_DEPENDS= /nonexistent:${PORTSDIR}/graphics/jpeg \
- /nonexistent:${PORTSDIR}/graphics/png
+ /nonexistent:${PORTSDIR}/graphics/png \
+ unzip:${PORTSDIR}/archiver/unzip
DEPENDS_TARGET= extract
MAKE_ENV= PORTSDIR=${PORTSDIR}
@@ -33,6 +36,9 @@ GS_SOURCES+= ghostscript-5.03gnu.tar.gz
GS_FONTS_STD= ghostscript-fonts-std-4.0.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-5.0.tar.gz
+# Additional driver HP 850, see http://bonk.ethz.ch/hp850/hp850.html
+HP850_DRV= hp850.zip
+
.if defined(A4)
CFLAGS+= -DA4
.endif
@@ -54,6 +60,11 @@ post-extract:
touch ${WRKSRC}/trees.o
ln -s ${PORTSDIR}/graphics/jpeg/work/jpeg-6a ${WRKSRC}/jpeg-6a
ln -s ${PORTSDIR}/graphics/png/work/libpng-0.96 ${WRKSRC}/libpng
+ cd ${WRKSRC} && unzip ${DISTDIR}/${HP850_DRV}
+.for file in gdevcd8.c gdevcd8.h
+# ( cd ${WRKSRC} && sed -e "s/\\\\,//" < ${file} | sed -e "s/\\ //" > ${file}.tmp && mv ${file}.tmp ${file} )
+ ( cd ${WRKSRC} && sed -e "s/ //" < ${file} > ${file}.tmp && mv ${file}.tmp ${file} )
+.endfor
do-configure:
.if defined(BATCH)
diff --git a/print/ghostscript55/distinfo b/print/ghostscript55/distinfo
index 1e59f0799ce8..70ccc8512cde 100644
--- a/print/ghostscript55/distinfo
+++ b/print/ghostscript55/distinfo
@@ -2,3 +2,4 @@ MD5 (ghostscript-5.03.tar.gz) = 43aadf534775dc47f3ca2c235023f909
MD5 (ghostscript-5.03gnu.tar.gz) = f33fa05bec91d96fef34fe902629f974
MD5 (ghostscript-fonts-std-4.0.tar.gz) = 1e0fe2149affd80deaaae144227049b9
MD5 (ghostscript-fonts-other-5.0.tar.gz) = 703bcc5592f4b4644cda454bcc45c7d6
+MD5 (hp850.zip) = 9d8d59eb8da9ec394d7aeb1560ca8d40
diff --git a/print/ghostscript55/scripts/configure b/print/ghostscript55/scripts/configure
index 91107e76a763..054d58e4726f 100644
--- a/print/ghostscript55/scripts/configure
+++ b/print/ghostscript55/scripts/configure
@@ -30,7 +30,7 @@ Have fun with this new configuration style ! -andreas \n\n\
"cdjmono" "HP DeskJet 500/510/520/540C b/w printing" ON \
"cdj500" "HP DeskJet 500C (same as cdjcolor)" ON \
"cdj550" "HP DeskJet 550C/560C" ON \
- "cdj850" "HP DeskJet 850/885/870/890" ON \
+ "cdj850" "HP DeskJet 850/855/870/890" ON \
"cp50" "Mitsubishi CP50 color" ON \
"declj250" "alternate DEC LJ250 driver" ON \
"deskjet" "HP DeskJet and DeskJet Plus" ON \
diff --git a/print/ghostscript6/Makefile b/print/ghostscript6/Makefile
index c6463d08a23a..c83dfb84c240 100644
--- a/print/ghostscript6/Makefile
+++ b/print/ghostscript6/Makefile
@@ -3,18 +3,21 @@
# Date created: Tue Jun 10 21:58:54 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.5 1997/07/13 18:49:28 max Exp $
+# $Id: Makefile,v 1.6 1997/08/24 14:36:24 andreas Exp $
#
DISTNAME= ghostscript-5.03
CATEGORIES= print
-MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/
-DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER}
+MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/ \
+ ftp://bonk.ethz.ch/gs-driver-distrib/
+DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
+ ${HP850_DRV}
MAINTAINER= andreas@FreeBSD.org
BUILD_DEPENDS= /nonexistent:${PORTSDIR}/graphics/jpeg \
- /nonexistent:${PORTSDIR}/graphics/png
+ /nonexistent:${PORTSDIR}/graphics/png \
+ unzip:${PORTSDIR}/archiver/unzip
DEPENDS_TARGET= extract
MAKE_ENV= PORTSDIR=${PORTSDIR}
@@ -33,6 +36,9 @@ GS_SOURCES+= ghostscript-5.03gnu.tar.gz
GS_FONTS_STD= ghostscript-fonts-std-4.0.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-5.0.tar.gz
+# Additional driver HP 850, see http://bonk.ethz.ch/hp850/hp850.html
+HP850_DRV= hp850.zip
+
.if defined(A4)
CFLAGS+= -DA4
.endif
@@ -54,6 +60,11 @@ post-extract:
touch ${WRKSRC}/trees.o
ln -s ${PORTSDIR}/graphics/jpeg/work/jpeg-6a ${WRKSRC}/jpeg-6a
ln -s ${PORTSDIR}/graphics/png/work/libpng-0.96 ${WRKSRC}/libpng
+ cd ${WRKSRC} && unzip ${DISTDIR}/${HP850_DRV}
+.for file in gdevcd8.c gdevcd8.h
+# ( cd ${WRKSRC} && sed -e "s/\\\\,//" < ${file} | sed -e "s/\\ //" > ${file}.tmp && mv ${file}.tmp ${file} )
+ ( cd ${WRKSRC} && sed -e "s/ //" < ${file} > ${file}.tmp && mv ${file}.tmp ${file} )
+.endfor
do-configure:
.if defined(BATCH)
diff --git a/print/ghostscript6/distinfo b/print/ghostscript6/distinfo
index 1e59f0799ce8..70ccc8512cde 100644
--- a/print/ghostscript6/distinfo
+++ b/print/ghostscript6/distinfo
@@ -2,3 +2,4 @@ MD5 (ghostscript-5.03.tar.gz) = 43aadf534775dc47f3ca2c235023f909
MD5 (ghostscript-5.03gnu.tar.gz) = f33fa05bec91d96fef34fe902629f974
MD5 (ghostscript-fonts-std-4.0.tar.gz) = 1e0fe2149affd80deaaae144227049b9
MD5 (ghostscript-fonts-other-5.0.tar.gz) = 703bcc5592f4b4644cda454bcc45c7d6
+MD5 (hp850.zip) = 9d8d59eb8da9ec394d7aeb1560ca8d40
diff --git a/print/ghostscript6/scripts/configure b/print/ghostscript6/scripts/configure
index 91107e76a763..054d58e4726f 100644
--- a/print/ghostscript6/scripts/configure
+++ b/print/ghostscript6/scripts/configure
@@ -30,7 +30,7 @@ Have fun with this new configuration style ! -andreas \n\n\
"cdjmono" "HP DeskJet 500/510/520/540C b/w printing" ON \
"cdj500" "HP DeskJet 500C (same as cdjcolor)" ON \
"cdj550" "HP DeskJet 550C/560C" ON \
- "cdj850" "HP DeskJet 850/885/870/890" ON \
+ "cdj850" "HP DeskJet 850/855/870/890" ON \
"cp50" "Mitsubishi CP50 color" ON \
"declj250" "alternate DEC LJ250 driver" ON \
"deskjet" "HP DeskJet and DeskJet Plus" ON \
diff --git a/print/ghostscript7/Makefile b/print/ghostscript7/Makefile
index c6463d08a23a..c83dfb84c240 100644
--- a/print/ghostscript7/Makefile
+++ b/print/ghostscript7/Makefile
@@ -3,18 +3,21 @@
# Date created: Tue Jun 10 21:58:54 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.5 1997/07/13 18:49:28 max Exp $
+# $Id: Makefile,v 1.6 1997/08/24 14:36:24 andreas Exp $
#
DISTNAME= ghostscript-5.03
CATEGORIES= print
-MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/
-DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER}
+MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/ \
+ ftp://bonk.ethz.ch/gs-driver-distrib/
+DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
+ ${HP850_DRV}
MAINTAINER= andreas@FreeBSD.org
BUILD_DEPENDS= /nonexistent:${PORTSDIR}/graphics/jpeg \
- /nonexistent:${PORTSDIR}/graphics/png
+ /nonexistent:${PORTSDIR}/graphics/png \
+ unzip:${PORTSDIR}/archiver/unzip
DEPENDS_TARGET= extract
MAKE_ENV= PORTSDIR=${PORTSDIR}
@@ -33,6 +36,9 @@ GS_SOURCES+= ghostscript-5.03gnu.tar.gz
GS_FONTS_STD= ghostscript-fonts-std-4.0.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-5.0.tar.gz
+# Additional driver HP 850, see http://bonk.ethz.ch/hp850/hp850.html
+HP850_DRV= hp850.zip
+
.if defined(A4)
CFLAGS+= -DA4
.endif
@@ -54,6 +60,11 @@ post-extract:
touch ${WRKSRC}/trees.o
ln -s ${PORTSDIR}/graphics/jpeg/work/jpeg-6a ${WRKSRC}/jpeg-6a
ln -s ${PORTSDIR}/graphics/png/work/libpng-0.96 ${WRKSRC}/libpng
+ cd ${WRKSRC} && unzip ${DISTDIR}/${HP850_DRV}
+.for file in gdevcd8.c gdevcd8.h
+# ( cd ${WRKSRC} && sed -e "s/\\\\,//" < ${file} | sed -e "s/\\ //" > ${file}.tmp && mv ${file}.tmp ${file} )
+ ( cd ${WRKSRC} && sed -e "s/ //" < ${file} > ${file}.tmp && mv ${file}.tmp ${file} )
+.endfor
do-configure:
.if defined(BATCH)
diff --git a/print/ghostscript7/distinfo b/print/ghostscript7/distinfo
index 1e59f0799ce8..70ccc8512cde 100644
--- a/print/ghostscript7/distinfo
+++ b/print/ghostscript7/distinfo
@@ -2,3 +2,4 @@ MD5 (ghostscript-5.03.tar.gz) = 43aadf534775dc47f3ca2c235023f909
MD5 (ghostscript-5.03gnu.tar.gz) = f33fa05bec91d96fef34fe902629f974
MD5 (ghostscript-fonts-std-4.0.tar.gz) = 1e0fe2149affd80deaaae144227049b9
MD5 (ghostscript-fonts-other-5.0.tar.gz) = 703bcc5592f4b4644cda454bcc45c7d6
+MD5 (hp850.zip) = 9d8d59eb8da9ec394d7aeb1560ca8d40
diff --git a/print/ghostscript7/scripts/configure b/print/ghostscript7/scripts/configure
index 91107e76a763..054d58e4726f 100644
--- a/print/ghostscript7/scripts/configure
+++ b/print/ghostscript7/scripts/configure
@@ -30,7 +30,7 @@ Have fun with this new configuration style ! -andreas \n\n\
"cdjmono" "HP DeskJet 500/510/520/540C b/w printing" ON \
"cdj500" "HP DeskJet 500C (same as cdjcolor)" ON \
"cdj550" "HP DeskJet 550C/560C" ON \
- "cdj850" "HP DeskJet 850/885/870/890" ON \
+ "cdj850" "HP DeskJet 850/855/870/890" ON \
"cp50" "Mitsubishi CP50 color" ON \
"declj250" "alternate DEC LJ250 driver" ON \
"deskjet" "HP DeskJet and DeskJet Plus" ON \
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile
index c6463d08a23a..c83dfb84c240 100644
--- a/print/ghostscript8/Makefile
+++ b/print/ghostscript8/Makefile
@@ -3,18 +3,21 @@
# Date created: Tue Jun 10 21:58:54 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.5 1997/07/13 18:49:28 max Exp $
+# $Id: Makefile,v 1.6 1997/08/24 14:36:24 andreas Exp $
#
DISTNAME= ghostscript-5.03
CATEGORIES= print
-MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/
-DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER}
+MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/ \
+ ftp://bonk.ethz.ch/gs-driver-distrib/
+DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
+ ${HP850_DRV}
MAINTAINER= andreas@FreeBSD.org
BUILD_DEPENDS= /nonexistent:${PORTSDIR}/graphics/jpeg \
- /nonexistent:${PORTSDIR}/graphics/png
+ /nonexistent:${PORTSDIR}/graphics/png \
+ unzip:${PORTSDIR}/archiver/unzip
DEPENDS_TARGET= extract
MAKE_ENV= PORTSDIR=${PORTSDIR}
@@ -33,6 +36,9 @@ GS_SOURCES+= ghostscript-5.03gnu.tar.gz
GS_FONTS_STD= ghostscript-fonts-std-4.0.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-5.0.tar.gz
+# Additional driver HP 850, see http://bonk.ethz.ch/hp850/hp850.html
+HP850_DRV= hp850.zip
+
.if defined(A4)
CFLAGS+= -DA4
.endif
@@ -54,6 +60,11 @@ post-extract:
touch ${WRKSRC}/trees.o
ln -s ${PORTSDIR}/graphics/jpeg/work/jpeg-6a ${WRKSRC}/jpeg-6a
ln -s ${PORTSDIR}/graphics/png/work/libpng-0.96 ${WRKSRC}/libpng
+ cd ${WRKSRC} && unzip ${DISTDIR}/${HP850_DRV}
+.for file in gdevcd8.c gdevcd8.h
+# ( cd ${WRKSRC} && sed -e "s/\\\\,//" < ${file} | sed -e "s/\\ //" > ${file}.tmp && mv ${file}.tmp ${file} )
+ ( cd ${WRKSRC} && sed -e "s/ //" < ${file} > ${file}.tmp && mv ${file}.tmp ${file} )
+.endfor
do-configure:
.if defined(BATCH)
diff --git a/print/ghostscript8/distinfo b/print/ghostscript8/distinfo
index 1e59f0799ce8..70ccc8512cde 100644
--- a/print/ghostscript8/distinfo
+++ b/print/ghostscript8/distinfo
@@ -2,3 +2,4 @@ MD5 (ghostscript-5.03.tar.gz) = 43aadf534775dc47f3ca2c235023f909
MD5 (ghostscript-5.03gnu.tar.gz) = f33fa05bec91d96fef34fe902629f974
MD5 (ghostscript-fonts-std-4.0.tar.gz) = 1e0fe2149affd80deaaae144227049b9
MD5 (ghostscript-fonts-other-5.0.tar.gz) = 703bcc5592f4b4644cda454bcc45c7d6
+MD5 (hp850.zip) = 9d8d59eb8da9ec394d7aeb1560ca8d40
diff --git a/print/ghostscript8/scripts/configure b/print/ghostscript8/scripts/configure
index 91107e76a763..054d58e4726f 100644
--- a/print/ghostscript8/scripts/configure
+++ b/print/ghostscript8/scripts/configure
@@ -30,7 +30,7 @@ Have fun with this new configuration style ! -andreas \n\n\
"cdjmono" "HP DeskJet 500/510/520/540C b/w printing" ON \
"cdj500" "HP DeskJet 500C (same as cdjcolor)" ON \
"cdj550" "HP DeskJet 550C/560C" ON \
- "cdj850" "HP DeskJet 850/885/870/890" ON \
+ "cdj850" "HP DeskJet 850/855/870/890" ON \
"cp50" "Mitsubishi CP50 color" ON \
"declj250" "alternate DEC LJ250 driver" ON \
"deskjet" "HP DeskJet and DeskJet Plus" ON \