2002-12-23 17:24:59 +01:00
|
|
|
# $NetBSD: Makefile.common,v 1.42 2002/12/23 16:27:12 cjep Exp $
|
2000-05-07 04:04:33 +02:00
|
|
|
|
|
|
|
DISTNAME= ghostscript-${GS_VERS}
|
|
|
|
GS_VERS= 6.01
|
|
|
|
CATEGORIES= print
|
2001-12-20 23:31:09 +01:00
|
|
|
MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:=ghostscript/} \
|
|
|
|
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/aladdin/gs${GS_VERS:S/.//}/
|
2000-05-07 04:04:33 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= jlam@netbsd.org
|
|
|
|
HOMEPAGE= http://www.cs.wisc.edu/~ghost/index.html
|
|
|
|
|
2002-09-13 07:16:45 +02:00
|
|
|
CONFLICTS+= ghostscript{,-nox11}-[0-9]*
|
2002-12-23 17:24:59 +01:00
|
|
|
CONFLICTS+= ghostscript-esp{,-nox11}-[0-9]*
|
|
|
|
CONFLICTS+= ghostscript-gnu{,-nox11,-x11}-[0-9]*
|
2002-09-11 02:08:32 +02:00
|
|
|
CONFLICTS+= hpijs-[0-9]*
|
|
|
|
|
2001-04-03 16:47:15 +02:00
|
|
|
DEPENDS+= ghostscript-fonts-6.0:../../fonts/ghostscript-fonts
|
2000-05-24 12:30:24 +02:00
|
|
|
DEPENDS+= watanabe-vfont-19930318:../../fonts/watanabe_vfont
|
2000-05-07 04:04:33 +02:00
|
|
|
|
2002-09-13 07:16:45 +02:00
|
|
|
USE_BUILDLINK2= yes
|
Update print/ghostscript{,-nox11} to 6.0.1nb2. Changes from version
6.0.1nb1 include updating the hpijs driver to the latest released version
1.0.2. The new HPIJS device is "ijs" and replaces several older devices:
AP21xx DJ630 DJ6xx DJ6xxP DJ8xx DJ9xx DJ9xxVIP
So if you are using any of the above devices, you must use the new gs IJS
interface documented in:
${PREFIX}/share/doc/html/ghostscript/hpijs/hpijs_readme.html
This update is based on pkg/15470 by IWAMOTO Toshihiro <toshii@netbsd.org>.
Changes to the HPIJS driver include:
* Fixed a problem printing Photo Full Bleed on the Photosmart 100.
* Meet the Debian Free Software Guidelines (DFSG).
* Fixed a setpagedevice problem with the IJS client. PageSize can now
be set from postscript.
* Fixed a off-by-one error in IJS server.
* Added support for the following printers:
Deskjet 656 Photosmart 100 Apollo P-22
Deskjet 825/845 Photosmart 1115 Apollo P2500
Deskjet 920 Photosmart 1215 Apollo P2600
Deskjet 940/948 Photosmart 1315
Deskjet 995 CP 1160
Deskjet 1125 CP 1700
Deskjet 1220
Deskjet 2250
* Added support for the IJS interface.
* Added support for Duplex. When Duplex mode is set, top and bottom
margins are set to 1/2 inch.
* Added support for the following paper sizes:
Photo, Photo Full Bleed, A6, B4, B5, Oufuku-Hagaki, Hagaki
* The PrintMode command has been replaced with separate commands:
Quality, ColorMode, MediaType and PenSet.
* Changed top margin from 1/3 to 1/8 inch. Also, changed the bottom
margin to 1/2 inch. Note, on the 6xx series the maximum bottom
margin is .46 inch for black and .587 for color. This means for
the 6xx series, color printing to within 1/2 inch bottom margin is
not guaranteed.
2002-02-03 22:27:19 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2001-12-20 23:31:09 +01:00
|
|
|
|
|
|
|
GS_SRCS= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
WRKSRC= ${WRKDIR}/gs${GS_VERS}
|
|
|
|
DISTFILES+= ${GS_SRCS}
|
|
|
|
EXTRACT_ONLY= ${GS_SRCS}
|
2001-05-03 06:50:05 +02:00
|
|
|
|
2000-05-07 04:04:33 +02:00
|
|
|
# Adobe's JPEG implementation in their PDF/PS documents is non-standard,
|
|
|
|
# so we can't use an already installed libjpeg.so.
|
|
|
|
#
|
2001-12-20 23:31:09 +01:00
|
|
|
JPEG_SRCS= jpegsrc.v6b.tar.gz
|
|
|
|
JPEG_WRKSRC= ${WRKDIR}/jpeg-6b
|
2002-01-11 18:00:27 +01:00
|
|
|
SITES_${JPEG_SRCS}= ftp://ftp.uu.net/graphics/jpeg/
|
2001-12-20 23:31:09 +01:00
|
|
|
DISTFILES+= ${JPEG_SRCS}
|
|
|
|
EXTRACT_ONLY+= ${JPEG_SRCS}
|
2000-05-07 04:04:33 +02:00
|
|
|
|
|
|
|
# VFlib & Japanese PDF patch
|
|
|
|
PATCH_SITES= http://www.sat.t.u-tokyo.ac.jp/~hideyuki/Ghostscript/
|
|
|
|
PATCHFILES= gs${GS_VERS}-jpdf-exp.patch.gz
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
|
|
|
# PostScript source to decode encrypted PDF files
|
|
|
|
PDF_SEC= pdf_sec.ps
|
2002-01-06 23:12:56 +01:00
|
|
|
SITES_${PDF_SEC}= http://www.ozemail.com.au/~geoffk/pdfencrypt/
|
2000-05-07 04:04:33 +02:00
|
|
|
DISTFILES+= ${PDF_SEC}
|
|
|
|
|
2001-12-20 23:31:09 +01:00
|
|
|
# Gimp-print/STP drivers for photo-quality inkjet output
|
|
|
|
GIMPPRINT= gimp-print-4.2.0
|
|
|
|
GIMPPRINT_SRCS= ${GIMPPRINT}.tar.gz
|
|
|
|
GIMPPRINT_WRKSRC= ${WRKDIR}/${GIMPPRINT}
|
2002-01-06 23:12:56 +01:00
|
|
|
SITES_${GIMPPRINT_SRCS}= ${MASTER_SITE_SOURCEFORGE:=gimp-print/}
|
2001-12-20 23:31:09 +01:00
|
|
|
DISTFILES+= ${GIMPPRINT_SRCS}
|
|
|
|
EXTRACT_ONLY+= ${GIMPPRINT_SRCS}
|
Update print/ghostscript{,-nox11} to 6.0.1nb2. Changes from version
6.0.1nb1 include updating the hpijs driver to the latest released version
1.0.2. The new HPIJS device is "ijs" and replaces several older devices:
AP21xx DJ630 DJ6xx DJ6xxP DJ8xx DJ9xx DJ9xxVIP
So if you are using any of the above devices, you must use the new gs IJS
interface documented in:
${PREFIX}/share/doc/html/ghostscript/hpijs/hpijs_readme.html
This update is based on pkg/15470 by IWAMOTO Toshihiro <toshii@netbsd.org>.
Changes to the HPIJS driver include:
* Fixed a problem printing Photo Full Bleed on the Photosmart 100.
* Meet the Debian Free Software Guidelines (DFSG).
* Fixed a setpagedevice problem with the IJS client. PageSize can now
be set from postscript.
* Fixed a off-by-one error in IJS server.
* Added support for the following printers:
Deskjet 656 Photosmart 100 Apollo P-22
Deskjet 825/845 Photosmart 1115 Apollo P2500
Deskjet 920 Photosmart 1215 Apollo P2600
Deskjet 940/948 Photosmart 1315
Deskjet 995 CP 1160
Deskjet 1125 CP 1700
Deskjet 1220
Deskjet 2250
* Added support for the IJS interface.
* Added support for Duplex. When Duplex mode is set, top and bottom
margins are set to 1/2 inch.
* Added support for the following paper sizes:
Photo, Photo Full Bleed, A6, B4, B5, Oufuku-Hagaki, Hagaki
* The PrintMode command has been replaced with separate commands:
Quality, ColorMode, MediaType and PenSet.
* Changed top margin from 1/3 to 1/8 inch. Also, changed the bottom
margin to 1/2 inch. Note, on the 6xx series the maximum bottom
margin is .46 inch for black and .587 for color. This means for
the 6xx series, color printing to within 1/2 inch bottom margin is
not guaranteed.
2002-02-03 22:27:19 +01:00
|
|
|
GIMPPRINT_CONFIGURE_ARGS= ${CONFIGURE_ARGS} --without-gimp --with-ghost
|
2001-12-20 23:31:09 +01:00
|
|
|
|
|
|
|
# Drivers from the HP Inkjet Project (IJS/HPIJS)
|
Update print/ghostscript{,-nox11} to 6.0.1nb2. Changes from version
6.0.1nb1 include updating the hpijs driver to the latest released version
1.0.2. The new HPIJS device is "ijs" and replaces several older devices:
AP21xx DJ630 DJ6xx DJ6xxP DJ8xx DJ9xx DJ9xxVIP
So if you are using any of the above devices, you must use the new gs IJS
interface documented in:
${PREFIX}/share/doc/html/ghostscript/hpijs/hpijs_readme.html
This update is based on pkg/15470 by IWAMOTO Toshihiro <toshii@netbsd.org>.
Changes to the HPIJS driver include:
* Fixed a problem printing Photo Full Bleed on the Photosmart 100.
* Meet the Debian Free Software Guidelines (DFSG).
* Fixed a setpagedevice problem with the IJS client. PageSize can now
be set from postscript.
* Fixed a off-by-one error in IJS server.
* Added support for the following printers:
Deskjet 656 Photosmart 100 Apollo P-22
Deskjet 825/845 Photosmart 1115 Apollo P2500
Deskjet 920 Photosmart 1215 Apollo P2600
Deskjet 940/948 Photosmart 1315
Deskjet 995 CP 1160
Deskjet 1125 CP 1700
Deskjet 1220
Deskjet 2250
* Added support for the IJS interface.
* Added support for Duplex. When Duplex mode is set, top and bottom
margins are set to 1/2 inch.
* Added support for the following paper sizes:
Photo, Photo Full Bleed, A6, B4, B5, Oufuku-Hagaki, Hagaki
* The PrintMode command has been replaced with separate commands:
Quality, ColorMode, MediaType and PenSet.
* Changed top margin from 1/3 to 1/8 inch. Also, changed the bottom
margin to 1/2 inch. Note, on the 6xx series the maximum bottom
margin is .46 inch for black and .587 for color. This means for
the 6xx series, color printing to within 1/2 inch bottom margin is
not guaranteed.
2002-02-03 22:27:19 +01:00
|
|
|
HPIJS_DRV= hpijs-1.0.2
|
2001-12-20 23:31:09 +01:00
|
|
|
HPIJS_SRCS= ${HPIJS_DRV}.tar.gz
|
|
|
|
HPIJS_WRKSRC= ${WRKDIR}/${HPIJS_DRV}
|
Update print/ghostscript{,-nox11} to 6.0.1nb2. Changes from version
6.0.1nb1 include updating the hpijs driver to the latest released version
1.0.2. The new HPIJS device is "ijs" and replaces several older devices:
AP21xx DJ630 DJ6xx DJ6xxP DJ8xx DJ9xx DJ9xxVIP
So if you are using any of the above devices, you must use the new gs IJS
interface documented in:
${PREFIX}/share/doc/html/ghostscript/hpijs/hpijs_readme.html
This update is based on pkg/15470 by IWAMOTO Toshihiro <toshii@netbsd.org>.
Changes to the HPIJS driver include:
* Fixed a problem printing Photo Full Bleed on the Photosmart 100.
* Meet the Debian Free Software Guidelines (DFSG).
* Fixed a setpagedevice problem with the IJS client. PageSize can now
be set from postscript.
* Fixed a off-by-one error in IJS server.
* Added support for the following printers:
Deskjet 656 Photosmart 100 Apollo P-22
Deskjet 825/845 Photosmart 1115 Apollo P2500
Deskjet 920 Photosmart 1215 Apollo P2600
Deskjet 940/948 Photosmart 1315
Deskjet 995 CP 1160
Deskjet 1125 CP 1700
Deskjet 1220
Deskjet 2250
* Added support for the IJS interface.
* Added support for Duplex. When Duplex mode is set, top and bottom
margins are set to 1/2 inch.
* Added support for the following paper sizes:
Photo, Photo Full Bleed, A6, B4, B5, Oufuku-Hagaki, Hagaki
* The PrintMode command has been replaced with separate commands:
Quality, ColorMode, MediaType and PenSet.
* Changed top margin from 1/3 to 1/8 inch. Also, changed the bottom
margin to 1/2 inch. Note, on the 6xx series the maximum bottom
margin is .46 inch for black and .587 for color. This means for
the 6xx series, color printing to within 1/2 inch bottom margin is
not guaranteed.
2002-02-03 22:27:19 +01:00
|
|
|
HPIJS_GSFILES= gdevijs.c gdevijs.h
|
|
|
|
HPIJS_GSFILES+= ijs.c ijs.h ijs_client.c ijs_client.h ijs_exec_unix.c
|
|
|
|
HPIJS_GSFILES+= unistd_.h
|
2002-01-06 23:12:56 +01:00
|
|
|
SITES_${HPIJS_SRCS}= ${MASTER_SITE_SOURCEFORGE:=hpinkjet/}
|
2001-12-20 23:31:09 +01:00
|
|
|
DISTFILES+= ${HPIJS_SRCS}
|
|
|
|
EXTRACT_ONLY+= ${HPIJS_SRCS}
|
Update print/ghostscript{,-nox11} to 6.0.1nb2. Changes from version
6.0.1nb1 include updating the hpijs driver to the latest released version
1.0.2. The new HPIJS device is "ijs" and replaces several older devices:
AP21xx DJ630 DJ6xx DJ6xxP DJ8xx DJ9xx DJ9xxVIP
So if you are using any of the above devices, you must use the new gs IJS
interface documented in:
${PREFIX}/share/doc/html/ghostscript/hpijs/hpijs_readme.html
This update is based on pkg/15470 by IWAMOTO Toshihiro <toshii@netbsd.org>.
Changes to the HPIJS driver include:
* Fixed a problem printing Photo Full Bleed on the Photosmart 100.
* Meet the Debian Free Software Guidelines (DFSG).
* Fixed a setpagedevice problem with the IJS client. PageSize can now
be set from postscript.
* Fixed a off-by-one error in IJS server.
* Added support for the following printers:
Deskjet 656 Photosmart 100 Apollo P-22
Deskjet 825/845 Photosmart 1115 Apollo P2500
Deskjet 920 Photosmart 1215 Apollo P2600
Deskjet 940/948 Photosmart 1315
Deskjet 995 CP 1160
Deskjet 1125 CP 1700
Deskjet 1220
Deskjet 2250
* Added support for the IJS interface.
* Added support for Duplex. When Duplex mode is set, top and bottom
margins are set to 1/2 inch.
* Added support for the following paper sizes:
Photo, Photo Full Bleed, A6, B4, B5, Oufuku-Hagaki, Hagaki
* The PrintMode command has been replaced with separate commands:
Quality, ColorMode, MediaType and PenSet.
* Changed top margin from 1/3 to 1/8 inch. Also, changed the bottom
margin to 1/2 inch. Note, on the 6xx series the maximum bottom
margin is .46 inch for black and .587 for color. This means for
the 6xx series, color printing to within 1/2 inch bottom margin is
not guaranteed.
2002-02-03 22:27:19 +01:00
|
|
|
HPIJS_CONFIGURE_ARGS= ${CONFIGURE_ARGS}
|
2001-12-20 23:31:09 +01:00
|
|
|
|
2000-05-07 04:04:33 +02:00
|
|
|
# Additional driver for several HP deskjets
|
|
|
|
HPDJ_DRV= hpdj-2.6
|
2002-01-06 23:12:56 +01:00
|
|
|
SITES_${HPDJ_DRV}.tar.gz= ftp://ftp.sbs.de/pub/graphics/ghostscript/pcl3/
|
2000-05-07 04:04:33 +02:00
|
|
|
DISTFILES+= ${HPDJ_DRV}.tar.gz
|
2001-12-20 23:31:09 +01:00
|
|
|
EXTRACT_ONLY+= ${HPDJ_DRV}.tar.gz
|
2000-05-07 04:04:33 +02:00
|
|
|
|
|
|
|
# I don't know the primary destribution sites of these drivers....
|
|
|
|
DMPRT_DRV= dmprt-2.01
|
2002-01-06 23:12:56 +01:00
|
|
|
SITES_${DMPRT_DRV}.tar.gz= ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/
|
2000-05-07 04:04:33 +02:00
|
|
|
DISTFILES+= ${DMPRT_DRV}.tar.gz
|
2001-12-20 23:31:09 +01:00
|
|
|
EXTRACT_ONLY+= ${DMPRT_DRV}.tar.gz
|
2000-05-07 04:04:33 +02:00
|
|
|
|
|
|
|
BJ10V_DRV= gdev10v
|
|
|
|
DISTFILES+= ${BJ10V_DRV}.tar.gz
|
2001-12-20 23:31:09 +01:00
|
|
|
EXTRACT_ONLY+= ${BJ10V_DRV}.tar.gz
|
2000-05-07 04:04:33 +02:00
|
|
|
|
2001-05-02 19:05:23 +02:00
|
|
|
# EPSON MJ-700V2C
|
2000-05-07 04:04:33 +02:00
|
|
|
MJC_DRV= gdevmjc-0.8
|
|
|
|
DISTFILES+= ${MJC_DRV}.tar.gz
|
2001-12-20 23:31:09 +01:00
|
|
|
EXTRACT_ONLY+= ${MJC_DRV}.tar.gz
|
2000-05-07 04:04:33 +02:00
|
|
|
|
|
|
|
# Alps MD5000 printer 600dpi monochrome mode
|
|
|
|
MD5000_DRV= gdevalps-0.2
|
|
|
|
DISTFILES+= ${MD5000_DRV}.tar.gz
|
2001-12-20 23:31:09 +01:00
|
|
|
EXTRACT_ONLY+= ${MD5000_DRV}.tar.gz
|
2000-05-07 04:04:33 +02:00
|
|
|
|
|
|
|
# Alps MD-2000/2010/4000/1300/1500/5000
|
|
|
|
MD2000_DRV= gdevmd2k-0.2a
|
2002-01-06 23:12:56 +01:00
|
|
|
SITES_${MD2000_DRV}.tar.gz= http://plaza26.mbn.or.jp/~higamasa/gdevmd2k/
|
2000-05-07 04:04:33 +02:00
|
|
|
DISTFILES+= ${MD2000_DRV}.tar.gz
|
2001-12-20 23:31:09 +01:00
|
|
|
EXTRACT_ONLY+= ${MD2000_DRV}.tar.gz
|
2000-05-07 04:04:33 +02:00
|
|
|
|
|
|
|
# Canon LIPS II+, III, IV; EPSON ESC/Page; NEC NPDL drivers
|
|
|
|
LIPS_DRV= gdevlips-2.3.6
|
2002-01-06 23:12:56 +01:00
|
|
|
SITES_${LIPS_DRV}.tar.gz= http://www.bukka.p.chiba-u.ac.jp/~ohmori/gs/
|
2000-05-07 04:04:33 +02:00
|
|
|
DISTFILES+= ${LIPS_DRV}.tar.gz
|
2001-12-20 23:31:09 +01:00
|
|
|
EXTRACT_ONLY+= ${LIPS_DRV}.tar.gz
|
2000-05-07 04:04:33 +02:00
|
|
|
|
|
|
|
# Ricoh RPDL
|
|
|
|
RPDL_DRV= gdevrpdl
|
2002-01-06 23:12:56 +01:00
|
|
|
SITES_${RPDL_DRV}.tar.gz= http://home.jp.FreeBSD.org/~mita/LOCAL_PORTS/
|
2000-05-07 04:04:33 +02:00
|
|
|
DISTFILES+= ${RPDL_DRV}.tar.gz
|
2001-12-20 23:31:09 +01:00
|
|
|
EXTRACT_ONLY+= ${RPDL_DRV}.tar.gz
|
2000-05-07 04:04:33 +02:00
|
|
|
|
|
|
|
# Kyocera Prescribe
|
2002-03-15 06:04:05 +01:00
|
|
|
PRESCR_DRV= gdevprsc-0.4
|
2002-01-06 23:12:56 +01:00
|
|
|
SITES_${PRESCR_DRV}.tar.gz= ${MASTER_SITE_LOCAL}
|
2000-05-07 04:04:33 +02:00
|
|
|
DISTFILES+= ${PRESCR_DRV}.tar.gz
|
2001-12-20 23:31:09 +01:00
|
|
|
EXTRACT_ONLY+= ${PRESCR_DRV}.tar.gz
|
|
|
|
|
|
|
|
# Samsung SmartGDI laser printers
|
|
|
|
GDI_DRV= samsung-gdi-driver
|
2002-01-06 23:12:56 +01:00
|
|
|
SITES_${GDI_DRV}.tar.gz= http://www.linuxprinting.org/download/printing/
|
2001-12-20 23:31:09 +01:00
|
|
|
DISTFILES+= ${GDI_DRV}.tar.gz
|
|
|
|
EXTRACT_ONLY+= ${GDI_DRV}.tar.gz
|
2000-05-07 04:04:33 +02:00
|
|
|
|
2001-05-02 23:47:04 +02:00
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../print/ghostscript-nox11/distinfo
|
2000-05-07 04:04:33 +02:00
|
|
|
FILESDIR= ${.CURDIR}/../../print/ghostscript-nox11/files
|
|
|
|
PATCHDIR= ${.CURDIR}/../../print/ghostscript-nox11/patches
|
2001-11-01 10:41:13 +01:00
|
|
|
PLIST_SRC= ${.CURDIR}/../../print/ghostscript-nox11/PLIST
|
2000-05-07 04:04:33 +02:00
|
|
|
|
|
|
|
DIST_SUBDIR= ghostscript
|
|
|
|
MAKEFILE= src/unix-gcc.mak
|
|
|
|
ALL_TARGET= std
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2002-09-14 01:13:27 +02:00
|
|
|
.if ${OPSYS} == "SunOS"
|
2002-09-29 09:37:54 +02:00
|
|
|
. include "../../lang/gcc/buildlink2.mk"
|
2002-09-14 01:13:27 +02:00
|
|
|
.endif
|
|
|
|
.if defined(ZOULARISBASE)
|
|
|
|
LDFLAGS+= -L${ZOULARISBASE}/lib -Wl,-R${ZOULARISBASE}/lib
|
|
|
|
.endif
|
|
|
|
|
2000-05-07 04:04:33 +02:00
|
|
|
.if defined(PAPERSIZE) && (${PAPERSIZE} == "A4" || ${PAPERSIZE} == "a4")
|
|
|
|
CFLAGS+= -DA4
|
|
|
|
.endif
|
|
|
|
CFLAGS+= -DHAVE_MKSTEMP=1
|
|
|
|
|
2001-12-20 23:31:09 +01:00
|
|
|
XLIBS?= # empty
|
|
|
|
GS_DISPLAY_DEVICE?= # empty
|
|
|
|
|
|
|
|
MAKE_FLAGS+= CFLAGS="${CFLAGS}"
|
|
|
|
MAKE_FLAGS+= LDFLAGS="${LDFLAGS}"
|
|
|
|
MAKE_FLAGS+= GS_DISPLAY_DEVICE="${GS_DISPLAY_DEVICE}"
|
2002-09-21 01:56:30 +02:00
|
|
|
MAKE_FLAGS+= XINCLUDE= XLIBDIRS= XLIBS="${XLIBS}"
|
2001-12-20 23:31:09 +01:00
|
|
|
|
2000-05-07 04:04:33 +02:00
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/bsd/lib -Wl,-R${LOCALBASE}/bsd/lib
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# Define whether this platform has floating point hardware:
|
|
|
|
# FPU_TYPE=2 means floating point is faster than fixed point.
|
|
|
|
# (This is the case on some RISCs with multiple instruction dispatch.)
|
|
|
|
# FPU_TYPE=1 means floating point is at worst only slightly slower
|
|
|
|
# than fixed point.
|
|
|
|
# FPU_TYPE=0 means that floating point may be considerably slower.
|
|
|
|
# FPU_TYPE=-1 means that floating point is always much slower than
|
|
|
|
# fixed point.
|
|
|
|
#
|
2001-05-03 06:50:05 +02:00
|
|
|
FPU_TYPE?= 1
|
2001-12-20 23:31:09 +01:00
|
|
|
MAKE_FLAGS+= FPU_TYPE=${FPU_TYPE}
|
|
|
|
|
|
|
|
PLIST_SUBST+= GS_VERS=${GS_VERS}vflib
|
2000-05-07 04:04:33 +02:00
|
|
|
|
2001-12-20 23:31:09 +01:00
|
|
|
MAKEFRAGS= ${FILESDIR}/devs.nox11
|
|
|
|
REPLACE_PERL= lib/fixmswrd.pl
|
|
|
|
|
|
|
|
GSDATADIR= ${PREFIX}/share/ghostscript/${GS_VERS}vflib
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/ghostscript
|
|
|
|
HTMLDIR= ${PREFIX}/share/doc/html/ghostscript
|
|
|
|
LIBDIR= ${GSDATADIR}/lib
|
|
|
|
|
|
|
|
GS_CONF_PREREQ= # empty
|
|
|
|
|
|
|
|
contrib-drivers:
|
2000-05-07 04:04:33 +02:00
|
|
|
cd ${WRKSRC}/src; ${PAX} -rf ${WRKDIR}/${HPDJ_DRV}/hpdj.tar
|
|
|
|
${MV} ${WRKSRC}/src/gs-hpdj.1 ${WRKSRC}/man
|
|
|
|
cd ${WRKDIR}; ${CP} gdevdmpr.c gdevdmpr.mak ${WRKSRC}/src
|
|
|
|
cd ${WRKDIR}; ${CP} dviprlib.* ${WRKSRC}/src
|
|
|
|
cd ${WRKDIR}/${BJ10V_DRV}; ${CP} gdev10v.c gdev10v.mak ${WRKSRC}/src
|
|
|
|
cd ${WRKDIR}/${MJC_DRV}; ${CP} *.[ch] gdevmjc.mak ${WRKSRC}/src
|
|
|
|
cd ${WRKDIR}/${LIPS_DRV}; ${CP} * ${WRKSRC}/src
|
|
|
|
cd ${WRKDIR}/${RPDL_DRV}; ${CP} gdevrpdl.c gdevrpdl.mak ${WRKSRC}/src
|
|
|
|
cd ${WRKDIR}/${MD5000_DRV}; \
|
|
|
|
${CP} gdevalps.c gdevalps.mak-5.50 ${WRKSRC}/src
|
|
|
|
cd ${WRKDIR}/${MD2000_DRV}; \
|
|
|
|
${CP} gdevmd2k.c gdevmd2k.mak-5.8x ${WRKSRC}/src
|
|
|
|
cd ${WRKDIR}/${PRESCR_DRV}; \
|
|
|
|
${CP} gdevprsc.c gdevprsc.mak ${WRKSRC}/src
|
2001-12-20 23:31:09 +01:00
|
|
|
cd ${WRKDIR}; ${CP} gdevgdi.c ${WRKSRC}/src
|
2000-05-07 04:04:33 +02:00
|
|
|
|
2001-12-20 23:31:09 +01:00
|
|
|
post-extract: contrib-drivers
|
2000-05-07 04:04:33 +02:00
|
|
|
${RM} -f ${WRKSRC}/jpeg
|
2001-12-20 23:31:09 +01:00
|
|
|
${LN} -s ${JPEG_WRKSRC} ${WRKSRC}/jpeg
|
2000-05-07 04:04:33 +02:00
|
|
|
${RM} -f ${WRKSRC}/lib/${PDF_SEC}
|
|
|
|
${LN} -s ${_DISTDIR}/${PDF_SEC} ${WRKSRC}/lib/${PDF_SEC}
|
|
|
|
|
|
|
|
post-patch:
|
2001-05-03 07:13:20 +02:00
|
|
|
if [ ! -f ${WRKDIR}/dmp_site.ps.bak ]; then \
|
|
|
|
${MV} ${WRKDIR}/dmp_site.ps ${WRKDIR}/dmp_site.ps.bak; \
|
2000-05-07 04:04:33 +02:00
|
|
|
fi
|
2001-12-20 23:31:09 +01:00
|
|
|
${SED} -e "s|epsimage\.src|${GSDATADIR}/lib/escp_24.src|g" \
|
2001-05-03 07:13:20 +02:00
|
|
|
${WRKDIR}/dmp_site.ps.bak > ${WRKDIR}/dmp_site.ps
|
2000-05-07 04:04:33 +02:00
|
|
|
|
Update print/ghostscript{,-nox11} to 6.0.1nb2. Changes from version
6.0.1nb1 include updating the hpijs driver to the latest released version
1.0.2. The new HPIJS device is "ijs" and replaces several older devices:
AP21xx DJ630 DJ6xx DJ6xxP DJ8xx DJ9xx DJ9xxVIP
So if you are using any of the above devices, you must use the new gs IJS
interface documented in:
${PREFIX}/share/doc/html/ghostscript/hpijs/hpijs_readme.html
This update is based on pkg/15470 by IWAMOTO Toshihiro <toshii@netbsd.org>.
Changes to the HPIJS driver include:
* Fixed a problem printing Photo Full Bleed on the Photosmart 100.
* Meet the Debian Free Software Guidelines (DFSG).
* Fixed a setpagedevice problem with the IJS client. PageSize can now
be set from postscript.
* Fixed a off-by-one error in IJS server.
* Added support for the following printers:
Deskjet 656 Photosmart 100 Apollo P-22
Deskjet 825/845 Photosmart 1115 Apollo P2500
Deskjet 920 Photosmart 1215 Apollo P2600
Deskjet 940/948 Photosmart 1315
Deskjet 995 CP 1160
Deskjet 1125 CP 1700
Deskjet 1220
Deskjet 2250
* Added support for the IJS interface.
* Added support for Duplex. When Duplex mode is set, top and bottom
margins are set to 1/2 inch.
* Added support for the following paper sizes:
Photo, Photo Full Bleed, A6, B4, B5, Oufuku-Hagaki, Hagaki
* The PrintMode command has been replaced with separate commands:
Quality, ColorMode, MediaType and PenSet.
* Changed top margin from 1/3 to 1/8 inch. Also, changed the bottom
margin to 1/2 inch. Note, on the 6xx series the maximum bottom
margin is .46 inch for black and .587 for color. This means for
the 6xx series, color printing to within 1/2 inch bottom margin is
not guaranteed.
2002-02-03 22:27:19 +01:00
|
|
|
GS_CONF_PREREQ+= hpijs-configure
|
|
|
|
hpijs-configure:
|
2002-10-24 19:16:58 +02:00
|
|
|
cd ${HPIJS_WRKSRC} && \
|
Update print/ghostscript{,-nox11} to 6.0.1nb2. Changes from version
6.0.1nb1 include updating the hpijs driver to the latest released version
1.0.2. The new HPIJS device is "ijs" and replaces several older devices:
AP21xx DJ630 DJ6xx DJ6xxP DJ8xx DJ9xx DJ9xxVIP
So if you are using any of the above devices, you must use the new gs IJS
interface documented in:
${PREFIX}/share/doc/html/ghostscript/hpijs/hpijs_readme.html
This update is based on pkg/15470 by IWAMOTO Toshihiro <toshii@netbsd.org>.
Changes to the HPIJS driver include:
* Fixed a problem printing Photo Full Bleed on the Photosmart 100.
* Meet the Debian Free Software Guidelines (DFSG).
* Fixed a setpagedevice problem with the IJS client. PageSize can now
be set from postscript.
* Fixed a off-by-one error in IJS server.
* Added support for the following printers:
Deskjet 656 Photosmart 100 Apollo P-22
Deskjet 825/845 Photosmart 1115 Apollo P2500
Deskjet 920 Photosmart 1215 Apollo P2600
Deskjet 940/948 Photosmart 1315
Deskjet 995 CP 1160
Deskjet 1125 CP 1700
Deskjet 1220
Deskjet 2250
* Added support for the IJS interface.
* Added support for Duplex. When Duplex mode is set, top and bottom
margins are set to 1/2 inch.
* Added support for the following paper sizes:
Photo, Photo Full Bleed, A6, B4, B5, Oufuku-Hagaki, Hagaki
* The PrintMode command has been replaced with separate commands:
Quality, ColorMode, MediaType and PenSet.
* Changed top margin from 1/3 to 1/8 inch. Also, changed the bottom
margin to 1/2 inch. Note, on the 6xx series the maximum bottom
margin is .46 inch for black and .587 for color. This means for
the 6xx series, color printing to within 1/2 inch bottom margin is
not guaranteed.
2002-02-03 22:27:19 +01:00
|
|
|
${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \
|
|
|
|
${CONFIGURE_ENV} \
|
|
|
|
${CONFIGURE_SCRIPT} ${HPIJS_CONFIGURE_ARGS} && \
|
|
|
|
${CP} ${HPIJS_GSFILES} ${WRKSRC}/src && \
|
|
|
|
${HEAD} -518 contrib.mak | ${TAIL} -20 \
|
2001-12-20 23:31:09 +01:00
|
|
|
>> ${WRKSRC}/src/contrib.mak
|
|
|
|
|
Update print/ghostscript{,-nox11} to 6.0.1nb2. Changes from version
6.0.1nb1 include updating the hpijs driver to the latest released version
1.0.2. The new HPIJS device is "ijs" and replaces several older devices:
AP21xx DJ630 DJ6xx DJ6xxP DJ8xx DJ9xx DJ9xxVIP
So if you are using any of the above devices, you must use the new gs IJS
interface documented in:
${PREFIX}/share/doc/html/ghostscript/hpijs/hpijs_readme.html
This update is based on pkg/15470 by IWAMOTO Toshihiro <toshii@netbsd.org>.
Changes to the HPIJS driver include:
* Fixed a problem printing Photo Full Bleed on the Photosmart 100.
* Meet the Debian Free Software Guidelines (DFSG).
* Fixed a setpagedevice problem with the IJS client. PageSize can now
be set from postscript.
* Fixed a off-by-one error in IJS server.
* Added support for the following printers:
Deskjet 656 Photosmart 100 Apollo P-22
Deskjet 825/845 Photosmart 1115 Apollo P2500
Deskjet 920 Photosmart 1215 Apollo P2600
Deskjet 940/948 Photosmart 1315
Deskjet 995 CP 1160
Deskjet 1125 CP 1700
Deskjet 1220
Deskjet 2250
* Added support for the IJS interface.
* Added support for Duplex. When Duplex mode is set, top and bottom
margins are set to 1/2 inch.
* Added support for the following paper sizes:
Photo, Photo Full Bleed, A6, B4, B5, Oufuku-Hagaki, Hagaki
* The PrintMode command has been replaced with separate commands:
Quality, ColorMode, MediaType and PenSet.
* Changed top margin from 1/3 to 1/8 inch. Also, changed the bottom
margin to 1/2 inch. Note, on the 6xx series the maximum bottom
margin is .46 inch for black and .587 for color. This means for
the 6xx series, color printing to within 1/2 inch bottom margin is
not guaranteed.
2002-02-03 22:27:19 +01:00
|
|
|
GS_BUILD_PREREQ+= hpijs-build
|
|
|
|
hpijs-build:
|
2002-10-24 19:16:58 +02:00
|
|
|
cd ${HPIJS_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} all
|
Update print/ghostscript{,-nox11} to 6.0.1nb2. Changes from version
6.0.1nb1 include updating the hpijs driver to the latest released version
1.0.2. The new HPIJS device is "ijs" and replaces several older devices:
AP21xx DJ630 DJ6xx DJ6xxP DJ8xx DJ9xx DJ9xxVIP
So if you are using any of the above devices, you must use the new gs IJS
interface documented in:
${PREFIX}/share/doc/html/ghostscript/hpijs/hpijs_readme.html
This update is based on pkg/15470 by IWAMOTO Toshihiro <toshii@netbsd.org>.
Changes to the HPIJS driver include:
* Fixed a problem printing Photo Full Bleed on the Photosmart 100.
* Meet the Debian Free Software Guidelines (DFSG).
* Fixed a setpagedevice problem with the IJS client. PageSize can now
be set from postscript.
* Fixed a off-by-one error in IJS server.
* Added support for the following printers:
Deskjet 656 Photosmart 100 Apollo P-22
Deskjet 825/845 Photosmart 1115 Apollo P2500
Deskjet 920 Photosmart 1215 Apollo P2600
Deskjet 940/948 Photosmart 1315
Deskjet 995 CP 1160
Deskjet 1125 CP 1700
Deskjet 1220
Deskjet 2250
* Added support for the IJS interface.
* Added support for Duplex. When Duplex mode is set, top and bottom
margins are set to 1/2 inch.
* Added support for the following paper sizes:
Photo, Photo Full Bleed, A6, B4, B5, Oufuku-Hagaki, Hagaki
* The PrintMode command has been replaced with separate commands:
Quality, ColorMode, MediaType and PenSet.
* Changed top margin from 1/3 to 1/8 inch. Also, changed the bottom
margin to 1/2 inch. Note, on the 6xx series the maximum bottom
margin is .46 inch for black and .587 for color. This means for
the 6xx series, color printing to within 1/2 inch bottom margin is
not guaranteed.
2002-02-03 22:27:19 +01:00
|
|
|
|
|
|
|
GS_INSTALL_PREREQ+= hpijs-install
|
|
|
|
hpijs-install:
|
2002-10-24 19:16:58 +02:00
|
|
|
cd ${HPIJS_WRKSRC} && \
|
Update print/ghostscript{,-nox11} to 6.0.1nb2. Changes from version
6.0.1nb1 include updating the hpijs driver to the latest released version
1.0.2. The new HPIJS device is "ijs" and replaces several older devices:
AP21xx DJ630 DJ6xx DJ6xxP DJ8xx DJ9xx DJ9xxVIP
So if you are using any of the above devices, you must use the new gs IJS
interface documented in:
${PREFIX}/share/doc/html/ghostscript/hpijs/hpijs_readme.html
This update is based on pkg/15470 by IWAMOTO Toshihiro <toshii@netbsd.org>.
Changes to the HPIJS driver include:
* Fixed a problem printing Photo Full Bleed on the Photosmart 100.
* Meet the Debian Free Software Guidelines (DFSG).
* Fixed a setpagedevice problem with the IJS client. PageSize can now
be set from postscript.
* Fixed a off-by-one error in IJS server.
* Added support for the following printers:
Deskjet 656 Photosmart 100 Apollo P-22
Deskjet 825/845 Photosmart 1115 Apollo P2500
Deskjet 920 Photosmart 1215 Apollo P2600
Deskjet 940/948 Photosmart 1315
Deskjet 995 CP 1160
Deskjet 1125 CP 1700
Deskjet 1220
Deskjet 2250
* Added support for the IJS interface.
* Added support for Duplex. When Duplex mode is set, top and bottom
margins are set to 1/2 inch.
* Added support for the following paper sizes:
Photo, Photo Full Bleed, A6, B4, B5, Oufuku-Hagaki, Hagaki
* The PrintMode command has been replaced with separate commands:
Quality, ColorMode, MediaType and PenSet.
* Changed top margin from 1/3 to 1/8 inch. Also, changed the bottom
margin to 1/2 inch. Note, on the 6xx series the maximum bottom
margin is .46 inch for black and .587 for color. This means for
the 6xx series, color printing to within 1/2 inch bottom margin is
not guaranteed.
2002-02-03 22:27:19 +01:00
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install docdir=${HTMLDIR}/hpijs
|
2001-12-20 23:31:09 +01:00
|
|
|
|
Update print/ghostscript{,-nox11} to 6.0.1nb2. Changes from version
6.0.1nb1 include updating the hpijs driver to the latest released version
1.0.2. The new HPIJS device is "ijs" and replaces several older devices:
AP21xx DJ630 DJ6xx DJ6xxP DJ8xx DJ9xx DJ9xxVIP
So if you are using any of the above devices, you must use the new gs IJS
interface documented in:
${PREFIX}/share/doc/html/ghostscript/hpijs/hpijs_readme.html
This update is based on pkg/15470 by IWAMOTO Toshihiro <toshii@netbsd.org>.
Changes to the HPIJS driver include:
* Fixed a problem printing Photo Full Bleed on the Photosmart 100.
* Meet the Debian Free Software Guidelines (DFSG).
* Fixed a setpagedevice problem with the IJS client. PageSize can now
be set from postscript.
* Fixed a off-by-one error in IJS server.
* Added support for the following printers:
Deskjet 656 Photosmart 100 Apollo P-22
Deskjet 825/845 Photosmart 1115 Apollo P2500
Deskjet 920 Photosmart 1215 Apollo P2600
Deskjet 940/948 Photosmart 1315
Deskjet 995 CP 1160
Deskjet 1125 CP 1700
Deskjet 1220
Deskjet 2250
* Added support for the IJS interface.
* Added support for Duplex. When Duplex mode is set, top and bottom
margins are set to 1/2 inch.
* Added support for the following paper sizes:
Photo, Photo Full Bleed, A6, B4, B5, Oufuku-Hagaki, Hagaki
* The PrintMode command has been replaced with separate commands:
Quality, ColorMode, MediaType and PenSet.
* Changed top margin from 1/3 to 1/8 inch. Also, changed the bottom
margin to 1/2 inch. Note, on the 6xx series the maximum bottom
margin is .46 inch for black and .587 for color. This means for
the 6xx series, color printing to within 1/2 inch bottom margin is
not guaranteed.
2002-02-03 22:27:19 +01:00
|
|
|
GS_CONF_PREREQ+= gimpprint-configure
|
|
|
|
gimpprint-configure:
|
2002-10-24 19:16:58 +02:00
|
|
|
cd ${GIMPPRINT_WRKSRC} && \
|
2001-12-20 23:31:09 +01:00
|
|
|
${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \
|
Update print/ghostscript{,-nox11} to 6.0.1nb2. Changes from version
6.0.1nb1 include updating the hpijs driver to the latest released version
1.0.2. The new HPIJS device is "ijs" and replaces several older devices:
AP21xx DJ630 DJ6xx DJ6xxP DJ8xx DJ9xx DJ9xxVIP
So if you are using any of the above devices, you must use the new gs IJS
interface documented in:
${PREFIX}/share/doc/html/ghostscript/hpijs/hpijs_readme.html
This update is based on pkg/15470 by IWAMOTO Toshihiro <toshii@netbsd.org>.
Changes to the HPIJS driver include:
* Fixed a problem printing Photo Full Bleed on the Photosmart 100.
* Meet the Debian Free Software Guidelines (DFSG).
* Fixed a setpagedevice problem with the IJS client. PageSize can now
be set from postscript.
* Fixed a off-by-one error in IJS server.
* Added support for the following printers:
Deskjet 656 Photosmart 100 Apollo P-22
Deskjet 825/845 Photosmart 1115 Apollo P2500
Deskjet 920 Photosmart 1215 Apollo P2600
Deskjet 940/948 Photosmart 1315
Deskjet 995 CP 1160
Deskjet 1125 CP 1700
Deskjet 1220
Deskjet 2250
* Added support for the IJS interface.
* Added support for Duplex. When Duplex mode is set, top and bottom
margins are set to 1/2 inch.
* Added support for the following paper sizes:
Photo, Photo Full Bleed, A6, B4, B5, Oufuku-Hagaki, Hagaki
* The PrintMode command has been replaced with separate commands:
Quality, ColorMode, MediaType and PenSet.
* Changed top margin from 1/3 to 1/8 inch. Also, changed the bottom
margin to 1/2 inch. Note, on the 6xx series the maximum bottom
margin is .46 inch for black and .587 for color. This means for
the 6xx series, color printing to within 1/2 inch bottom margin is
not guaranteed.
2002-02-03 22:27:19 +01:00
|
|
|
${GIMPPRINT_CONFIGURE_ENV} \
|
2001-12-20 23:31:09 +01:00
|
|
|
${CONFIGURE_SCRIPT} ${GIMPPRINT_CONFIGURE_ARGS} && \
|
|
|
|
cd ${GIMPPRINT_WRKSRC}/src/ghost && \
|
2002-10-24 19:16:58 +02:00
|
|
|
${SETENV} ${MAKE_ENV} SED=${SED} ${MAKE_PROGRAM} all-local && \
|
2001-12-20 23:31:09 +01:00
|
|
|
( ${ECHO} '#ifndef GIMPPRINT_VERSION_FIX'; \
|
|
|
|
${ECHO} '#define GIMPPRINT_VERSION_FIX'; \
|
2002-09-14 01:13:27 +02:00
|
|
|
${EGREP} '#define (VERSION|RELEASE_DATE)' ../../config.h; \
|
2001-12-20 23:31:09 +01:00
|
|
|
${ECHO} '#endif /* GIMPPRINT_VERSION_FIX */'; \
|
|
|
|
) >> gdevstp-print.h; \
|
|
|
|
${CP} *.c *.h ${WRKSRC}/src && \
|
|
|
|
${CAT} contrib.mak.addon.old >> ${WRKSRC}/src/contrib.mak
|
2002-12-23 17:24:59 +01:00
|
|
|
|
2001-12-20 23:31:09 +01:00
|
|
|
do-configure: ${GS_CONF_PREREQ}
|
2000-05-07 04:04:33 +02:00
|
|
|
#
|
|
|
|
# Append build rules for extra drivers to contrib.mak
|
|
|
|
#
|
2001-05-03 07:13:20 +02:00
|
|
|
${CAT} ${WRKSRC}/src/contrib.mak-5.94.add \
|
|
|
|
${WRKSRC}/src/gdevlips.mak \
|
|
|
|
${WRKSRC}/src/gdev10v.mak \
|
|
|
|
${WRKSRC}/src/gdevmjc.mak \
|
|
|
|
${WRKSRC}/src/gdevrpdl.mak \
|
|
|
|
${WRKSRC}/src/gdevdmpr.mak \
|
|
|
|
${WRKSRC}/src/gdevalps.mak-5.50 \
|
|
|
|
${WRKSRC}/src/gdevmd2k.mak-5.8x \
|
|
|
|
${WRKSRC}/src/gdevprsc.mak \
|
2000-05-07 04:04:33 +02:00
|
|
|
>> ${WRKSRC}/src/contrib.mak
|
|
|
|
#
|
|
|
|
# Prepend device list to unix-gcc.mak
|
|
|
|
#
|
2001-12-20 23:31:09 +01:00
|
|
|
( if [ -n "${GS_DISPLAY_DEVICE:Q}" ]; then \
|
|
|
|
${ECHO} 'DEVICE_DEVS= $$(DD)${GS_DISPLAY_DEVICE}'; \
|
|
|
|
${ECHO} ''; \
|
|
|
|
fi; \
|
|
|
|
${CAT} ${MAKEFRAGS} ${WRKSRC}/src/unix-gcc.mak \
|
|
|
|
) > ${WRKDIR}/unix-gcc.mak
|
2000-05-07 04:04:33 +02:00
|
|
|
${MV} -f ${WRKDIR}/unix-gcc.mak ${WRKSRC}/src
|
|
|
|
|
Update print/ghostscript{,-nox11} to 6.0.1nb2. Changes from version
6.0.1nb1 include updating the hpijs driver to the latest released version
1.0.2. The new HPIJS device is "ijs" and replaces several older devices:
AP21xx DJ630 DJ6xx DJ6xxP DJ8xx DJ9xx DJ9xxVIP
So if you are using any of the above devices, you must use the new gs IJS
interface documented in:
${PREFIX}/share/doc/html/ghostscript/hpijs/hpijs_readme.html
This update is based on pkg/15470 by IWAMOTO Toshihiro <toshii@netbsd.org>.
Changes to the HPIJS driver include:
* Fixed a problem printing Photo Full Bleed on the Photosmart 100.
* Meet the Debian Free Software Guidelines (DFSG).
* Fixed a setpagedevice problem with the IJS client. PageSize can now
be set from postscript.
* Fixed a off-by-one error in IJS server.
* Added support for the following printers:
Deskjet 656 Photosmart 100 Apollo P-22
Deskjet 825/845 Photosmart 1115 Apollo P2500
Deskjet 920 Photosmart 1215 Apollo P2600
Deskjet 940/948 Photosmart 1315
Deskjet 995 CP 1160
Deskjet 1125 CP 1700
Deskjet 1220
Deskjet 2250
* Added support for the IJS interface.
* Added support for Duplex. When Duplex mode is set, top and bottom
margins are set to 1/2 inch.
* Added support for the following paper sizes:
Photo, Photo Full Bleed, A6, B4, B5, Oufuku-Hagaki, Hagaki
* The PrintMode command has been replaced with separate commands:
Quality, ColorMode, MediaType and PenSet.
* Changed top margin from 1/3 to 1/8 inch. Also, changed the bottom
margin to 1/2 inch. Note, on the 6xx series the maximum bottom
margin is .46 inch for black and .587 for color. This means for
the 6xx series, color printing to within 1/2 inch bottom margin is
not guaranteed.
2002-02-03 22:27:19 +01:00
|
|
|
post-build: ${GS_BUILD_PREREQ}
|
|
|
|
|
|
|
|
post-install: ${GS_INSTALL_PREREQ}
|
2000-05-07 04:04:33 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
strip ${PREFIX}/bin/gs
|
2001-12-20 23:31:09 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
2001-12-21 05:29:10 +01:00
|
|
|
${INSTALL_DATA} ${GIMPPRINT_WRKSRC}/src/ghost/README \
|
|
|
|
${DOCDIR}/README.stp
|
2001-12-20 23:31:09 +01:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/${LIPS_DRV}/Gdevlips.htm ${HTMLDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${BJ10V_DRV}/gdev10v.jis ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/gdevdmpr.sj ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/dmp_init.ps ${LIBDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/dmp_site.ps ${LIBDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/escp_24.src ${LIBDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/testpage.ps ${LIBDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${PRESCR_DRV}/gdevprsc.?? ${DOCDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}/${MJC_DRV}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${MJC_DRV}/README.mjc ${DOCDIR}/${MJC_DRV}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${MJC_DRV}/README.noz ${DOCDIR}/${MJC_DRV}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${MJC_DRV}/README.mje ${DOCDIR}/${MJC_DRV}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${MJC_DRV}/cpem.doc ${DOCDIR}/${MJC_DRV}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${MJC_DRV}/MJ700V2C.FAQ ${DOCDIR}/${MJC_DRV}
|
|
|
|
|
2002-08-25 23:48:57 +02:00
|
|
|
.include "../../graphics/png/buildlink2.mk"
|
|
|
|
.include "../../print/ja-vflib-lib/buildlink2.mk"
|
2002-09-13 07:16:45 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
|
|
|
|
# arm32 compiler has an optimizer problem
|
|
|
|
.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "arm32"
|
|
|
|
CFLAGS+= -O0
|
|
|
|
.endif
|