Subject: pkg/9998: new pkg: ja-vfghostscript-6.01
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itohy@netbsd.org>
List: netbsd-bugs
Date: 04/28/2000 09:32:01
>Number:         9998
>Category:       pkg
>Synopsis:       new pkg: ja-vfghostscript-6.01
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 27 17:33:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     ITOH Yasufumi
>Release:        1.4X
>Organization:
>Environment:
System: NetBSD pino.my.domain 1.4X NetBSD 1.4X (PINO) #198: Tue Mar 28 23:58:32 JST 2000 itohy@pino.my.domain:/usr/src/sys/arch/i386/compile/PINO i386


>Description:
	ja-vfghostscript-6.01 package.
	I'm not sure this is compatible to the current structure
	of Ghostscript packages, and I don't commit this by myself. :-)

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	japanese/vfghostscript6
#	japanese/vfghostscript6/Makefile
#	japanese/vfghostscript6/files
#	japanese/vfghostscript6/files/md5
#	japanese/vfghostscript6/files/mjc.dev.patch
#	japanese/vfghostscript6/files/patch-sum
#	japanese/vfghostscript6/files/gdevmjc.c.patch
#	japanese/vfghostscript6/patches
#	japanese/vfghostscript6/patches/patch-aa
#	japanese/vfghostscript6/patches/patch-ab
#	japanese/vfghostscript6/patches/patch-ac
#	japanese/vfghostscript6/patches/patch-ad
#	japanese/vfghostscript6/patches/patch-da
#	japanese/vfghostscript6/patches/patch-db
#	japanese/vfghostscript6/patches/patch-dc
#	japanese/vfghostscript6/patches/patch-dd
#	japanese/vfghostscript6/patches/patch-de
#	japanese/vfghostscript6/patches/patch-df
#	japanese/vfghostscript6/patches/patch-ja
#	japanese/vfghostscript6/patches/patch-jb
#	japanese/vfghostscript6/patches/patch-bug-workaround
#	japanese/vfghostscript6/pkg
#	japanese/vfghostscript6/pkg/PLIST
#	japanese/vfghostscript6/pkg/DESCR
#	japanese/vfghostscript6/pkg/COMMENT
#	print/ghostscript-fonts6
#	print/ghostscript-fonts6/Makefile
#	print/ghostscript-fonts6/pkg
#	print/ghostscript-fonts6/pkg/COMMENT
#	print/ghostscript-fonts6/pkg/DESCR
#	print/ghostscript-fonts6/pkg/PLIST
#	print/ghostscript-fonts6/files
#	print/ghostscript-fonts6/files/md5
#
echo c - japanese/vfghostscript6
mkdir -p japanese/vfghostscript6 > /dev/null 2>&1
echo x - japanese/vfghostscript6/Makefile
sed 's/^X//' >japanese/vfghostscript6/Makefile << 'END-of-japanese/vfghostscript6/Makefile'
X# $NetBSD$
X
XDISTNAME=	ja-vfghostscript-6.01
XCATEGORIES=	japanese print
X
XMAINTAINER=	packages@netbsd.org
XHOMEPAGE=	http://www.cs.wisc.edu/~ghost/
X
XBUILD_DEPENDS=	${BUILD_ROOT}/graphics/jpeg/${WRKDIR:T}/jpeg-6b:../../graphics/jpeg:extract
XBUILD_DEPENDS+=	unzip:../../archivers/unzip
XDEPENDS=	png>=1.0.3:../../graphics/png
XDEPENDS+=	ja-vflib-2.*:../../japanese/vflib
XDEPENDS+=	ghostscript-fonts-6.0:../../print/ghostscript-fonts6
X
XDIST_SUBDIR=	ghostscript
X
X# Too many sites....
XMASTER_SITES+=	${MASTER_SITE_LOCAL}
X
X# Aladdin Ghostscript source archive
XMASTER_SITES+=	ftp://ftp.cs.wisc.edu/ghost/aladdin/gs601/ \
X		http://download.sourceforge.net/ghostscript/
XDISTFILES+=	ghostscript-6.01.tar.gz
XEXTRACT_ONLY+=	ghostscript-6.01.tar.gz
X
X# VFlib & Japanese PDF patch
XPATCH_SITES=	http://www.sat.t.u-tokyo.ac.jp/~hideyuki/Ghostscript/
XPATCHFILES=	gs6.01-jpdf-exp.patch.gz
XPATCH_DIST_STRIP=	-p1
X
X# PDF decryption
XMASTER_SITES+=	http://www.ozemail.com.au/~geoffk/pdfencrypt/
XPDF_SEC=	pdf_sec.ps
XDISTFILES+=	${PDF_SEC}
X
X# -------- additional device drivers --------
X
X# Additional driver HP 850, see http://www.erdw.ethz.ch/~bonk/hp850/hp850.html
XMASTER_SITES+=	http://www.erdw.ethz.ch/~bonk/ftp/gs-driver-distrib/
XHP850_DRV=	hp8xxs13.zip
XDISTFILES+=	${HP850_DRV}
XGS_DEVS+=	cdj850.dev cdj670.dev cdj890.dev cdj1600.dev
X
X# I don't know the primary destribution sites of these drivers....
XMASTER_SITES+=	ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/
X
X# updates bonk's HP850 driver and adds cdj880 support
XDISTFILES+=	gdevcd8.tar.gz
XEXTRACT_ONLY+=	gdevcd8.tar.gz
XGS_DEVS+=	cdj880.dev
X
XDISTFILES+=	dmprt-2.01.tar.gz
XEXTRACT_ONLY+=	dmprt-2.01.tar.gz
XGS_DEVS+=	dmprt.dev
X
XDISTFILES+=	gdev10v.tar.gz
XEXTRACT_ONLY+=	gdev10v.tar.gz
XGS_DEVS+=	bj10v.dev bj10vh.dev
X
XDISTFILES+=	gdevmjc-0.8.tar.gz
XEXTRACT_ONLY+=	gdevmjc-0.8.tar.gz
XGS_DEVS+=	mjc180.dev mjc360.dev mjc720.dev mj500c.dev
X
X# Alps MD5000 printer 600dpi monochrome mode
XDISTFILES+=	gdevalps-0.2.tar.gz
XEXTRACT_ONLY+=	gdevalps-0.2.tar.gz
XGS_DEVS+=	md50Mono.dev md50Eco.dev md1xMono.dev
X
X# Alps MD-2000/2010/4000/1300/1500/5000
XMASTER_SITES+=	http://plaza26.mbn.or.jp/~higamasa/gdevmd2k/
XDISTFILES+=	gdevmd2k-0.2a.tar.gz
XEXTRACT_ONLY+=	gdevmd2k-0.2a.tar.gz
XGS_DEVS+=	md2k.dev md5k.dev
X
X# Canon LIPS II+, III, IV; EPSON ESC/Page; NEC NPDL drivers
XMASTER_SITES+=	http://www.bukka.p.chiba-u.ac.jp/~ohmori/gs/
XDISTFILES+=	gdevlips-2.3.6.tar.gz
XEXTRACT_ONLY+=	gdevlips-2.3.6.tar.gz
XGS_DEVS+=	lips2p.dev lips3.dev lips4.dev bjc880j.dev lp2000.dev \
X		escpage.dev npdl.dev lips4v.dev
X
X# Ricoh RPDL
XMASTER_SITES+=	http://home.jp.FreeBSD.org/~mita/LOCAL_PORTS/
XDISTFILES+=	gdevrpdl.tar.gz
XEXTRACT_ONLY+=	gdevrpdl.tar.gz
XGS_DEVS+=	rpdlA3.dev rpdlA4.dev rpdlB4.dev rpdlB5.dev
X
X# Kyocera Prescribe
XDISTFILES+=	gdevprsc-0.2.tar.gz
XEXTRACT_ONLY+=	gdevprsc-0.2.tar.gz
XGS_DEVS+=	prescr.dev prescr2.dev prescrt.dev
X
X# -------- end additional device drivers --------
X
X.include "../../mk/bsd.prefs.mk"
X
XWRKSRC=		${WRKDIR}/gs6.01
XMAKEFILE=	src/unix-gcc.mak
XALL_TARGET=	std
XMAKE_ENV+=	MAKEOBJDIR=.
X
X.if !defined(PAPERSIZE) || (${PAPERSIZE} != "Letter" && ${PAPERSIZE} != "letter")
XPAPERSIZE_DEF=	-DA4
X.endif
X
X.if ${OPSYS} == "SunOS"
XMAKE_FLAGS=	prefix=${PREFIX} CFLAGS="${CFLAGS} ${PAPERSIZE_DEF}" XLDFLAGS="-Wl,-R${LOCALBASE}/lib -Wl,-R${X11BASE}/lib -Wl,-R${LOCALBASE}/bsd/lib -L${LOCALBASE}/bsd/lib"
X.else
XMAKE_FLAGS=	prefix=${PREFIX} CFLAGS="${CFLAGS} ${PAPERSIZE_DEF}" XLDFLAGS="-Wl,-R${LOCALBASE}/lib -Wl,-R${X11BASE}/lib"
X.endif
X
XGS_CONFIG_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11cmyk2.dev x11cmyk4.dev \
X	x11cmyk8.dev x11gray2.dev x11gray4.dev x11mono.dev x11rg16x.dev \
X	x11rg32x.dev \
X	cljet5.dev deskjet.dev djet500.dev fs600.dev laserjet.dev ljet2p.dev \
X	ljet3.dev ljet3d.dev ljet4.dev ljet4d.dev ljetplus.dev lj5mono.dev \
X	lj5gray.dev lp2563.dev oce9050.dev pxlmono.dev pxlcolor.dev \
X	faxg3.dev faxg32d.dev faxg4.dev \
X	tiffcrle.dev tiffg3.dev tiffg32d.dev tiffg4.dev \
X	epswrite.dev pdfwrite.dev pswrite.dev pxlmono.dev pxlcolor.dev \
X	bit.dev bitrgb.dev bitcmyk.dev bmpmono.dev bmpgray.dev bmpsep1.dev \
X	bmpsep8.dev bmp16.dev bmp256.dev bmp16m.dev bmp32b.dev \
X	cgmmono.dev cgm8.dev cgm24.dev jpeg.dev jpeggray.dev miff24.dev \
X	pcxmono.dev pcxgray.dev pcx16.dev pcx256.dev pcx24b.dev pcxcmyk.dev \
X	pbm.dev pbmraw.dev pgm.dev pgmraw.dev pgnm.dev pgnmraw.dev pnm.dev \
X	pnmraw.dev ppm.dev ppmraw.dev pkm.dev pkmraw.dev pksm.dev pksmraw.dev \
X	plan9bm.dev pngmono.dev pnggray.dev png16.dev png256.dev png16m.dev \
X	psmono.dev psgray.dev psrgb.dev \
X	tiff12nc.dev tiff24nc.dev tifflzw.dev tiffpack.dev \
X	${GS_DEVS}
X
XGSINST_DIR=	${PREFIX}/share/ghostscript/6.01vflib
XDOC_DIR=	${GSINST_DIR}/doc
XLIB_DIR=	${GSINST_DIR}/lib
X
Xpost-extract:
X	${LN} -s ${BUILD_ROOT}/graphics/jpeg/${WRKDIR:T}/jpeg-6b ${WRKSRC}/jpeg
X	cd ${WRKSRC}/src && unzip -uLa ${DISTDIR}/${DIST_SUBDIR}/${HP850_DRV}
X	${RM} -f ${WRKSRC}/src/gdevcd8.c
X	${CP} ${WRKDIR}/gdevcd8.c ${WRKSRC}/src
X	${CP} ${DISTDIR}/${DIST_SUBDIR}/${PDF_SEC} ${WRKSRC}/lib
X
Xpre-patch:
X	cd ${WRKDIR}/gdevmjc-0.8; ${PATCH} -s -p0 < ${FILESDIR}/gdevmjc.c.patch
X	cd ${WRKDIR}/gdevmjc-0.8; ${PATCH} -s -p0 < ${FILESDIR}/mjc.dev.patch
X
Xpost-patch:
X	if [ ! -f ${WRKDIR}/dmp_site.ps.bak ]; then \
X		${MV} ${WRKDIR}/dmp_site.ps ${WRKDIR}/dmp_site.ps.bak; \
X	fi
X	${SED} -e 's#epsimage\.src#${GSINST_DIR}/lib/escp_24.src#g' \
X		${WRKDIR}/dmp_site.ps.bak >${WRKDIR}/dmp_site.ps
X
Xdo-configure:
X	: copy device drivers
X	${CP} ${WRKDIR}/gdevlips-2.3.6/*		${WRKSRC}/src
X	${CP} ${WRKDIR}/gdev10v/gdev10v.c		${WRKSRC}/src
X	${CP} ${WRKDIR}/gdevmjc-0.8/*.[ch]		${WRKSRC}/src
X	${CP} ${WRKDIR}/gdevrpdl/gdevrpdl.c		${WRKSRC}/src
X	${CP} ${WRKDIR}/gdevdmpr.c			${WRKSRC}/src
X	${CP} ${WRKDIR}/dviprlib.*			${WRKSRC}/src
X	${CP} ${WRKDIR}/gdevalps-0.2/gdevalps.c		${WRKSRC}/src
X	${CP} ${WRKDIR}/gdevmd2k-0.2a/gdevmd2k.c	${WRKSRC}/src
X	${CP} ${WRKDIR}/gdevprsc-0.2/gdevprsc.c		${WRKSRC}/src
X	:
X	: Adding devices
X	${ECHO} DEVICE_DEVS= ${GS_CONFIG_DEVS} | ${SED} 's/ / $$(DD)/g' >${WRKSRC}/src/unix-gcc.mak.new
X	: vflib patch
X	${SED}	-e 's/^VFINCLUDE=/VFINCLUDE=-I$${prefix}\/include/g'	\
X		-e 's/^VFLIBDIRS=/VFLIBDIRS=-L$${prefix}\/lib/g'	\
X		${WRKSRC}/src/unix-gcc.mak >>${WRKSRC}/src/unix-gcc.mak.new
X	: create new Makefile
X	${MV} ${WRKSRC}/src/unix-gcc.mak.new ${WRKSRC}/src/unix-gcc.mak
X	: create one new contrib.mak
X	${CP} ${WRKSRC}/src/contrib.mak ${WRKSRC}/src/contrib.mak.new
X	${CAT}	${WRKDIR}/gdevlips-2.3.6/gdevlips.mak	\
X		${WRKDIR}/gdev10v/gdev10v.mak		\
X		${WRKDIR}/gdevmjc-0.8/gdevmjc.mak	\
X		${WRKDIR}/gdevrpdl/gdevrpdl.mak		\
X		${WRKDIR}/gdevdmpr.mak			\
X		${WRKDIR}/gdevalps-0.2/gdevalps.mak-5.50	\
X		${WRKDIR}/gdevmd2k-0.2a/gdevmd2k.mak-5.8x	\
X		${WRKDIR}/gdevprsc-0.2/gdevprsc.mak	|	\
X	${SED} -e 's/^[A-Za-z0-9][A-Za-z0-9]*.dev *:/$$(DD)&/'		\
X	    -e 's/^\(	\$$.SETP*DEV2*.  *\)\([A-Za-z]\)/\1$$(DD)\2/'	\
X	    -e 's/^\(	\$$.ADDMOD.  *\)\([A-Za-z]\)/\1$$(DD)\2/'	\
X	    -e 's/ page\.dev/ $$(DD)page.dev/'  -e 's/ vector/ $$(DD)vector/' \
X			>> ${WRKSRC}/src/contrib.mak.new
X	${MV} ${WRKSRC}/src/contrib.mak.new ${WRKSRC}/src/contrib.mak
X
Xdo-build:
X	cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} \
X		${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${ALL_TARGET}
X
Xpost-install:
X	strip ${PREFIX}/bin/vfgs
X	:
X	${CP} ${WRKDIR}/gdevlips-2.3.6/Gdevlips.htm ${DOC_DIR}
X	${CP} ${WRKDIR}/gdev10v/gdev10v.jis ${DOC_DIR}
X	${MKDIR} ${DOC_DIR}/gdevmjc-0.8
X	${CP} ${WRKDIR}/gdevmjc-0.8/README.mjc ${DOC_DIR}/gdevmjc-0.8/
X	${CP} ${WRKDIR}/gdevmjc-0.8/README.noz ${DOC_DIR}/gdevmjc-0.8/
X	${CP} ${WRKDIR}/gdevmjc-0.8/README.mje ${DOC_DIR}/gdevmjc-0.8/
X	${CP} ${WRKDIR}/gdevmjc-0.8/cpem.doc ${DOC_DIR}/gdevmjc-0.8/
X	${CP} ${WRKDIR}/gdevmjc-0.8/MJ700V2C.FAQ ${DOC_DIR}/gdevmjc-0.8/
X	${CP} ${WRKDIR}/gdevdmpr.sj ${DOC_DIR}
X	${CP} ${WRKDIR}/dmp_init.ps ${LIB_DIR}
X	${CP} ${WRKDIR}/dmp_site.ps ${LIB_DIR}
X	${CP} ${WRKDIR}/escp_24.src ${LIB_DIR}
X	${CP} ${WRKDIR}/testpage.ps ${LIB_DIR}
X	${CP} ${WRKDIR}/gdevprsc-0.2/gdevprsc.?? ${DOC_DIR}
X
Xpre-clean:
X	@cd ../../graphics/jpeg && ${MAKE} clean
X
X.include "../../mk/bsd.pkg.mk"
END-of-japanese/vfghostscript6/Makefile
echo c - japanese/vfghostscript6/files
mkdir -p japanese/vfghostscript6/files > /dev/null 2>&1
echo x - japanese/vfghostscript6/files/md5
sed 's/^X//' >japanese/vfghostscript6/files/md5 << 'END-of-japanese/vfghostscript6/files/md5'
X$NetBSD$
X
XMD5 (ghostscript/ghostscript-6.01.tar.gz) = abad620560b79ff40162f648506ae448
XMD5 (ghostscript/pdf_sec.ps) = 92cd6af5b4d7219e91e61b8351f0f7c4
XMD5 (ghostscript/hp8xxs13.zip) = e46bcac0aed0c511c8cc88a1093cc586
XMD5 (ghostscript/gdevcd8.tar.gz) = 6ff0db0cb9f1190a1587ad6c335581cf
XMD5 (ghostscript/dmprt-2.01.tar.gz) = c7a9fb127fde5d888a798bf5e1822b88
XMD5 (ghostscript/gdev10v.tar.gz) = 1486bb54c214ce215044a6c606280d73
XMD5 (ghostscript/gdevmjc-0.8.tar.gz) = 228f41c3cccce22c8f477c7a9407527c
XMD5 (ghostscript/gdevalps-0.2.tar.gz) = 8690b96eeb79fe770983a86beae84a11
XMD5 (ghostscript/gdevmd2k-0.2a.tar.gz) = 5ed2b4218b8f77cb411f3d2e4509ed24
XMD5 (ghostscript/gdevlips-2.3.6.tar.gz) = 94d7cfa745e632a8338e47c88feb31f8
XMD5 (ghostscript/gdevrpdl.tar.gz) = 9606f3cca1a8f85be76944fa4eda09b7
XMD5 (ghostscript/gdevprsc-0.2.tar.gz) = 717190d113196ae7d0f3ea28ce381e0b
XMD5 (ghostscript/gs6.01-jpdf-exp.patch.gz) = 63868cf3e6ccf93c31c79c66d7fea025
END-of-japanese/vfghostscript6/files/md5
echo x - japanese/vfghostscript6/files/mjc.dev.patch
sed 's/^X//' >japanese/vfghostscript6/files/mjc.dev.patch << 'END-of-japanese/vfghostscript6/files/mjc.dev.patch'
X+++ gdevmjc.mak	Fri Jun  4 01:53:04 1999
X@@ -10,19 +10,25 @@
X ##
X MJCSRC = gdevmjc.c mjmtx2.c mjbksep.c mjhtocmy.c mjvtbl.c \
X 	mjgrnsp.c mjgrnsp2.c mjespdtc.c mjespdtm.c mjespdty.c mjbarrie.c
X+MJCSRC2 = ${MJCSRC:S/^/$(GLOBJ)/g}
X 
X-mj700v2c_=gdevmjc.$(OBJ) $(HPPCL)
X+all:
X+	echo $(MJCSRC2)
X+	echo $(SETPDEV) mjc180 $(mj700v2c_)
X 
X-# To make A4 paper the default, change the second line below this to
X-	$(CCC) -DA4 gdevmjc.c
X+mj700v2c_=$(GLOBJ)gdevmjc.$(OBJ) $(HPPCL)
X 
X-	$(SHP)gssetdev mjc180 $(mj700v2c_)
X-	$(SHP)gssetdev mjc360 $(mj700v2c_)
X-	$(SHP)gssetdev mjc720 $(mj700v2c_)
X-	$(SHP)gssetdev mj500c $(mj700v2c_)
X+# To make A4 paper the default, change the second line below this to
X+#	$(CC) -DA4 -o gdevmjc.o gdevmjc.c
X+$(GLOBJ)gdevmjc.$(OBJ): $(GLSRC)gdevmjc.c $(PDEVH) $(gdevpcl_h)
X+	$(GLCC) $(GLO_)gdevmjc.$(OBJ) $(C_) $(GLSRC)gdevmjc.c
X+	
X 
X+mjc180.dev: $(mj700v2c_) page.dev
X+	$(SETPDEV) mjc180 $(mj700v2c_)
X+mjc360.dev: $(mj700v2c_) page.dev
X+	$(SETPDEV) mjc360 $(mj700v2c_)
X+mjc720.dev: $(mj700v2c_) page.dev
X+	$(SETPDEV) mjc720 $(mj700v2c_)
X+mj500c.dev: $(mj700v2c_) page.dev
X+	$(SETPDEV) mj500c $(mj700v2c_)
END-of-japanese/vfghostscript6/files/mjc.dev.patch
echo x - japanese/vfghostscript6/files/patch-sum
sed 's/^X//' >japanese/vfghostscript6/files/patch-sum << 'END-of-japanese/vfghostscript6/files/patch-sum'
X$NetBSD$
X
XMD5 (patch-aa) = ee7655177e9045f42b7f1a8b261ab4c5
XMD5 (patch-ab) = ecfdb4cd2b36b16ea46c8e017a09e8e6
XMD5 (patch-ac) = 6b86805d07de70c5f286548722690fa0
XMD5 (patch-ad) = 34db7bbb00c518fbf8714d8c642d363e
XMD5 (patch-bug-workaround) = 709891b6690b2957868daba5fb536f95
XMD5 (patch-da) = 95eaf57f9ec4ad25984ed9c514941987
XMD5 (patch-db) = 23e8403763d5358a0e1173c30afccca7
XMD5 (patch-dc) = 8f725b9793c0f8910fa52af172f740ed
XMD5 (patch-dd) = 0538740af5b7b1f85958cda54a3179f3
XMD5 (patch-de) = 1bf2d85a225d34b02a920035acee7bf8
XMD5 (patch-df) = 263c67568994e0d36617dcb3bf99bad4
XMD5 (patch-ja) = 43ca0741a131e0af9e7e1c6f0e8654b9
XMD5 (patch-jb) = 39e72116c897b382c60e9d4a1e06c77e
END-of-japanese/vfghostscript6/files/patch-sum
echo x - japanese/vfghostscript6/files/gdevmjc.c.patch
sed 's/^X//' >japanese/vfghostscript6/files/gdevmjc.c.patch << 'END-of-japanese/vfghostscript6/files/gdevmjc.c.patch'
XThis is gdevmjc.c-0.8 patch for ghostscript 5.50 by kurosawa
Xwith mj_put_params() fix by Inagaki Kentaro.
X
XNO WARRANTY
X
X-- Toshihiro Kanda <candy@ops.dti.ne.jp>
X
X
X>>>>>>>>>>>>>>> original (0.7) patch preamble >>>>>>>>>>>>>>
XFrom root Fri Nov 22 01:20:20 1996
XReceived: from theta.iis.u-tokyo.ac.jp by daikon.fujita3.iis.u-tokyo.ac.jp (AIX 3.2/UCB 5.64/3.4W2)
X	id AA18127; Fri, 22 Nov 1996 01:20:20 +0900
XReceived: from contura.sail.t.u-tokyo.ac.jp by theta.iis.u-tokyo.ac.jp (8.7.5+2.6Wbeta6/3.4W4) with ESMTP id BAA07053; Fri, 22 Nov 1996 01:20:12 +0900 (JST)
XReceived: (from kurosawa@localhost) by contura.sail.t.u-tokyo.ac.jp (8.7.6/3.4Wbeta6/Sail961016) id BAA11954; Fri, 22 Nov 1996 01:19:56 +0900 (JST)
XDate: Fri, 22 Nov 1996 01:19:56 +0900 (JST)
XMessage-Id: <199611211619.BAA11954@contura.sail.t.u-tokyo.ac.jp>
XTo: mita@iis.u-tokyo.ac.jp
XSubject: mjc-patch
XFrom: kurosawa@sail.t.u-tokyo.ac.jp (KUROSAWA Takahiro)
XX-Mailer: mnews [version 1.19PL2] 1996-01/26(Fri)
X
X$B9uBt$G$9(B. 
X
X$B$h$&$d$/$G$-$^$7$?(B, $B$?$V$s(B. $B$?$@$G$5$(F,$,2u$l$.$_$@$H8@$o$l$F$$$k$N$K(B
X$B$5$i$K$A$g$C$H:#F|(B($B:rF|$+(B)$B$O$D$+$l$F$F(B, $BF,$,AjEvJQ$@$C$?$_$?$$$G$9(B. 
X$B:rF|J,$N%a!<%k$OL5;k$7$A$c$C$F$/$@$5$$(B.
X
X# $B$5$C$-=P$7$?!V%(%i!<$,$G$k$h!A!W%a!<%k$N860x$G$9$1$I!$C1$K%U%)%s%H$r%$(B
X# $B%s%9%H!<%k$7$F$J$+$C$?$s$G$9(B. $B$4$a$s$J$5$$(B....
X
X$B!V=PNO%U%!%$%k$K=P$J$$!W$N7o$G$9$1$I(B, $B$A$g$C$H$7$?%1%"%l%9%_%9$H$$$&$+(B, 
X$B9uBt$,$h$/(B gs $B$NFbIt9=B$$rM}2r$7$F$J$$$N$,860x$G$7$?(B. $B<B$O$"$N>u67$G$O(B 
X/tmp $B$K%U%!%$%k$,$G$-$F$$$?$N$G$9(B.
X
X$B$3$l$G?'$H$+%9%1!<%k$N<:GT$,$J$1$l$P$$$$$N$G$9$,(B, $B$"$^$j$=$&$&$^$/$O$$(B
X$B$+$J$$$H$*$b$$$^$9(B. $B%9%1!<%k$NJ}$OLdBj$J$$$+$b$7$l$^$;$s$,(B, $B?'?t$r8:$i(B
X$B$7$?$i$I$&$J$k$+$A$g$C$H?4G[$G$9(B.
X
X$B$F$J$o$1$G(B, $B$*$?$a$7$/$@$5$$(B. $B%*%j%8%J%k$+$i$N%Q%C%A$G$9(B.
X# $B%*%j%8%J%k$+$i$N%Q%C%A$K$7$?$O$:$G$9$1$I(B, $B:#F|$N>u67$@$H$A$g$C$H<+?.(B
X# $B$r;}$F$J$$(B(^^;)
X
X<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
X
X+++ gdevmjc.c	Fri Jun  4 01:06:06 1999
X@@ -43,7 +43,8 @@
X #include <limits.h>
X #include "gdevprn.h"
X #include "gdevpcl.h"
X-#include "gsprops.h"
X+#include "gsparam.h"
X+#include "gsstate.h"
X 
X #include "mjmtx2.c"
X #include "mjbksep.c"
X@@ -150,7 +151,9 @@
X 
X /* Undefined macros expected to be defined in gdevpcl.h */
X #define PAPER_SIZE_A3_NOBI 28
X+#ifndef PAPER_SIZE_A2
X #define PAPER_SIZE_A2 29
X+#endif
X #define PAPER_SIZE_B4 30
X #define PAPER_SIZE_B5 31
X 
X@@ -190,14 +193,12 @@
X private dev_proc_print_page(mjc720_print_page);
X private dev_proc_print_page(mj500c_print_page);
X 
X-private dev_proc_get_props(mj_get_props);
X-private dev_proc_put_props(mj_put_props);
X+private dev_proc_get_params(mj_get_params);
X+private dev_proc_put_params(mj_put_params);
X 
X private void expand_line(P4(word*, int, int, int));
X-private int put_prop_float(P5(gs_prop_item *, float *, float, float, int));
X-private int put_prop_int(P5(gs_prop_item *, int *, int, int, int));
X-
X-private void set_bpp(P2(gx_device *, int));
X+private int mj_put_param_int(P6(gs_param_list *, gs_param_name, int *, int, int, int));
X+private void mj_set_bpp(P2(gx_device *, int));
X 
X private uint gdev_prn_rasterwidth(P2(const gx_device_printer *, int ));
X 
X@@ -224,7 +225,7 @@
X #define mj    ((gx_device_mj *) pdev)
X 
X #define prn_hp_colour_device(procs, dev_name, x_dpi, y_dpi, bpp, print_page)\
X-    prn_device_body(gx_device_printer, procs, dev_name,\
X+    prn_device_body(gx_device_mj, procs, dev_name,\
X     WIDTH_10THS, HEIGHT_10THS, x_dpi, y_dpi, 0, 0, 0, 0, 0,\
X     bpp, 0, 0, 0, 0, print_page)
X 
X@@ -235,9 +236,9 @@
X }
X 
X 
X-#define mj_colour_procs(proc_colour_open, proc_get_props, proc_put_props) {\
X+#define mj_colour_procs(proc_colour_open, proc_get_params, proc_put_params) {\
X 	proc_colour_open,\
X-	gdev_pcl_get_initial_matrix,\
X+	gx_default_get_initial_matrix,\
X 	gx_default_sync_output,\
X 	gdev_prn_output_page,\
X 	gdev_prn_close,\
X@@ -249,15 +250,15 @@
X 	NULL,	/* copy_color */\
X 	NULL,	/* draw_line */\
X 	gx_default_get_bits,\
X-	proc_get_props,\
X-	proc_put_props\
X+	proc_get_params,\
X+	proc_put_params\
X }
X 
X private int mjc_open(P1(gx_device *));
X private int mj_colour_open(P1(gx_device *));
X 
X private gx_device_procs mj_procs =
X-mj_colour_procs(mjc_open, mj_get_props, mj_put_props);
X+mj_colour_procs(mjc_open, mj_get_params, mj_put_params);
X 
X gx_device_mj far_data gs_mjc180_device =
X mj_device(mj_procs, "mjc180", 180, 180, BITSPERPIXEL,
X@@ -313,7 +314,7 @@
X 
X   /* Set up colour params if put_props has not already done so */
X   if (pdev->color_info.num_components == 0)
X-    set_bpp(pdev, pdev->color_info.depth);
X+    mj_set_bpp(pdev, pdev->color_info.depth);
X 
X   paper_size = gdev_mjc_paper_size(pdev);
X   if (paper_size == PAPER_SIZE_A2 ) {
X@@ -332,10 +333,7 @@
X     m = mj_letter;
X   }
X 
X-  pdev->l_margin = m[0];
X-  pdev->b_margin = m[1];
X-  pdev->r_margin = m[2];
X-  pdev->t_margin = m[3];
X+  gx_device_set_margins(pdev, m, true);
X 
X   switch (mj->colorcomp) {
X   case 1:
X@@ -360,80 +358,74 @@
X  * and control over the bits-per-pixel used in output rendering */
X /* Added properties for DeskJet 5xxC */
X 
X-private const gs_prop_item props_mj[] = {
X-  /* Read-write properties. */
X-  prop_def("Density", prt_int),
X-  prop_def("Cyan", prt_int),
X-  prop_def("Magenta", prt_int),
X-  prop_def("Yellow", prt_int),
X-  prop_def("Black", prt_int),
X-  prop_def("Dither", prt_int),
X-  prop_def("ColorComponent", prt_int),
X-  prop_def("Direction", prt_int),
X-  prop_def("MicroWeave", prt_int),
X-  prop_def("DotSize", prt_int),
X-};
X-
X private int
X-mj_get_props(gx_device *pdev, gs_prop_item *plist)
X-{	int start = gdev_prn_get_props(pdev, plist);
X-	if ( plist != 0 ) {
X-		register gs_prop_item *pi = plist + start;
X-		memcpy(pi, props_mj, sizeof(props_mj));
X-		pi[0].value.i = mj->density;
X-		pi[1].value.i = mj->cyan;
X-		pi[2].value.i = mj->magenta;
X-		pi[3].value.i = mj->yellow;
X-		pi[4].value.i = mj->black;
X-		pi[5].value.i = mj->dither;
X- 		pi[6].value.i = mj->colorcomp;
X-		pi[7].value.i = mj->direction;
X-		pi[8].value.i = mj->microweave;
X-		pi[9].value.i = mj->dotsize;
X-	}
X-	return start + sizeof(props_mj) / sizeof(gs_prop_item);
X+mj_get_params(gx_device *pdev, gs_param_list *plist)
X+{	int code = gdev_prn_get_params(pdev, plist);
X+	if ( code < 0 ||
X+	    (code = param_write_int(plist, "Density", &mj->density)) < 0 ||
X+	    (code = param_write_int(plist, "Cyan", &mj->cyan)) < 0 ||
X+	    (code = param_write_int(plist, "Magenta", &mj->magenta)) < 0 ||
X+	    (code = param_write_int(plist, "Yellow", &mj->yellow)) < 0 ||
X+	    (code = param_write_int(plist, "Black", &mj->black)) < 0 ||
X+	    (code = param_write_int(plist, "Dither", &mj->dither)) < 0 ||
X+	    (code = param_write_int(plist, "ColorComponent", &mj->colorcomp)) < 0 ||
X+	    (code = param_write_int(plist, "Direction", &mj->direction)) < 0 ||
X+	    (code = param_write_int(plist, "MicroWeave", &mj->microweave)) < 0 ||
X+	    (code = param_write_int(plist, "DotSize", &mj->dotsize)) < 0
X+	   )
X+	  return code;
X+	return code;
X }
X 
X /* Put properties. */
X private int
X-mj_put_props(gx_device *pdev,  gs_prop_item *plist,  int count)
X+mj_put_params(gx_device *pdev, gs_param_list *plist)
X {
X-	static const argn = 10;
X-/* 	gs_prop_item *known[argn]; */
X- 	gs_prop_item *known[10];
X 	int old_bpp = mj->color_info.depth;
X 	int bpp = 0;
X 	int code = 0;
X-
X-	props_extract(plist, count, props_mj, argn, known, 0);
X-	code = gdev_prn_put_props(pdev, plist, count);
X-	if ( code < 0 ) return code;
X-
X-	code = put_prop_int(known[0], &mj->density, 0, INT_MAX, code);
X-	code = put_prop_int(known[1], &mj->cyan, 0, INT_MAX, code);
X-	code = put_prop_int(known[2], &mj->magenta, 0, INT_MAX, code);
X-	code = put_prop_int(known[3], &mj->yellow, 0, INT_MAX, code);
X-	code = put_prop_int(known[4], &mj->black, 0, INT_MAX, code);
X-	code = put_prop_int(known[5], &mj->dither, 0, 1, code);
X- 	code = put_prop_int(known[6], &mj->colorcomp, 1, 4, code);
X-	code = put_prop_int(known[7], &mj->direction, 1, 2, code);
X-	code = put_prop_int(known[8], &mj->microweave, 0, 1, code);
X-	code = put_prop_int(known[9], &mj->dotsize, 0, 1, code);
X-
X+	int density = mj->density;
X+	int cyan = mj->cyan;
X+	int magenta = mj->magenta;
X+	int yellow = mj->yellow;
X+	int black = mj->black;
X+	int dither = mj->dither;
X+	int colorcomp = mj->colorcomp;
X+	int direction = mj->direction;
X+	int microweave = mj->microweave;
X+	int dotsize = mj->dotsize;
X+	code = mj_put_param_int(plist, "Density", &density, 0, INT_MAX, code);
X+	code = mj_put_param_int(plist, "Cyan", &cyan, 0, INT_MAX, code);
X+	code = mj_put_param_int(plist, "Magenta", &magenta, 0, INT_MAX, code);
X+	code = mj_put_param_int(plist, "Yellow", &yellow, 0, INT_MAX, code);
X+	code = mj_put_param_int(plist, "Black", &black, 0, INT_MAX, code);
X+	code = mj_put_param_int(plist, "Dither", &dither, 0, 1, code);
X+	code = mj_put_param_int(plist, "ColorComponent", &colorcomp, 1, 4, code);
X+	code = mj_put_param_int(plist, "Direction", &direction, 1, 2, code);
X+	code = mj_put_param_int(plist, "MicroWeave", &microweave, 0, 1, code);
X+	code = mj_put_param_int(plist, "DotSize", &dotsize, 0, 1, code);
X+	code = mj_put_param_int(plist, "BitsPerPixel", &bpp, 1, 32, code);
X 	if ( code < 0 )
X-	  return_error(code);
X-
X-	if (bpp != 0) {
X-	  set_bpp(pdev, bpp);
X-	  
X-	  /* Close the device; gs_putdeviceprops will reopen it. */
X+	  return code;
X+	mj->density = density;
X+	mj->cyan = cyan;
X+	mj->magenta = magenta;
X+	mj->yellow = yellow;
X+	mj->black = black;
X+	mj->dither = dither;
X+	mj->colorcomp = colorcomp;
X+	mj->direction = direction;
X+	mj->microweave = microweave;
X+	mj->dotsize = dotsize;
X+	if ( bpp != 0 ) {
X+	  mj_set_bpp(pdev, bpp);
X+	  gdev_prn_put_params(pdev, plist);
X 	  if ( bpp != old_bpp && pdev->is_open )
X-	    { int ccode = gs_closedevice(pdev);
X-	      if ( ccode < 0 ) return ccode;
X-	    }
X+	    return gs_closedevice(pdev);
X+	  return 0;
X 	}
X-
X-	return code;
X+	else
X+	  return gdev_prn_put_params(pdev, plist);
X }
X 
X /* ------ Internal routines ------ */
X@@ -1163,7 +1155,8 @@
X 
X   /* Send each scan line in turn */
X   {
X-    long int lend = pdev->height - (pdev->t_margin + pdev->b_margin) * y_dpi;
X+    long int lend = pdev->height - 
X+	(dev_t_margin_points(pdev) + dev_b_margin_points(pdev));
X     int cErr, mErr, yErr, kErr;
X     int this_pass, i;
X     long int lnum;
X@@ -1685,39 +1678,25 @@
X }
X 
X private int
X-put_prop_int(gs_prop_item *pi, int *property, int minval, int maxval, int code)
X-{
X-  if ( pi == 0 )
X-    return (code);
X-  
X-  if ( pi->value.i < minval || pi->value.i > maxval )
X-    { pi->status = pv_rangecheck;
X-      return (gs_error_rangecheck);
X-    }
X-  else
X-    { *property = pi->value.i;
X-    }
X-}	
X-
X-private int
X-put_prop_float(gs_prop_item *pi, float *property, float minval, float maxval, int code)
X-{
X-  if ( pi == 0 )
X-    return (code);
X-  
X-  if ( pi->value.f < minval || pi->value.f > maxval )
X-    { pi->status = pv_rangecheck;
X-      return (gs_error_rangecheck);
X-    }
X-  else
X-    { *property = pi->value.f;
X-    }
X+mj_put_param_int(gs_param_list *plist, gs_param_name pname, int *pvalue,
X+  int minval, int maxval, int ecode)
X+{	int code, value;
X+	switch ( code = param_read_int(plist, pname, &value) )
X+	{
X+	default:
X+		return code;
X+	case 1:
X+		return ecode;
X+	case 0:
X+		if ( value < minval || value > maxval )
X+		   param_signal_error(plist, pname, gs_error_rangecheck);
X+		*pvalue = value;
X+		return (ecode < 0 ? ecode : 1);
X+	}
X }	
X 
X private void
X-set_bpp(gx_device *pdev, int bits_per_pixel)
X+mj_set_bpp(gx_device *pdev, int bits_per_pixel)
X { gx_device_color_info *ci = &pdev->color_info;
X   /* Only valid bits-per-pixel are 1, 3, 8, 16, 24, 32 */
X   int bpp = bits_per_pixel < 3 ? 1 : bits_per_pixel < 8 ? 3 : 
X@@ -1725,9 +1704,9 @@
X   ci->num_components = ((bpp == 1) || (bpp == 8) ? 1 : 3);
X   ci->depth = ((bpp > 1) && (bpp < 8) ? 8 : bpp);
X   ci->max_gray = (bpp >= 8 ? 255 : 1);
X+  ci->max_color = (bpp >= 8 ? 255 : bpp > 1 ? 1 : 0);
X+  ci->dither_grays = (bpp >= 8 ? 5 : 2);
X+  ci->dither_colors = (bpp >= 8 ? 5 : bpp > 1 ? 2 : 0);
X }
X 
X /* This returns either the number of pixels in a scan line, or the number
X@@ -1736,7 +1715,7 @@
X gdev_prn_rasterwidth(const gx_device_printer *pdev, int pixelcount)
X {
X   word raster_width =
X-    pdev->width - pdev->x_pixels_per_inch * (pdev->l_margin + pdev->r_margin);
X+    pdev->width - (pdev->HWMargins[0] + pdev->HWMargins[2]);
X   return (pixelcount ?
X           (uint)raster_width :
X           (uint)((raster_width * pdev->color_info.depth + 7) >> 3));
END-of-japanese/vfghostscript6/files/gdevmjc.c.patch
echo c - japanese/vfghostscript6/patches
mkdir -p japanese/vfghostscript6/patches > /dev/null 2>&1
echo x - japanese/vfghostscript6/patches/patch-aa
sed 's/^X//' >japanese/vfghostscript6/patches/patch-aa << 'END-of-japanese/vfghostscript6/patches/patch-aa'
X$NetBSD$
X
X+++ src/unix-gcc.mak	Mon Mar 27 10:20:50 2000
X@@ -156,7 +156,7 @@
X # what its name is.
X # See gs.mak and Make.htm for more information.
X 
X-SHARE_LIBPNG=0
X+SHARE_LIBPNG=1
X LIBPNG_NAME=png
X 
X # Define the directory where the zlib sources are stored.
X@@ -168,7 +168,7 @@
X # what its name is (usually libz, but sometimes libgz).
X # See gs.mak and Make.htm for more information.
X 
X-SHARE_ZLIB=0
X+SHARE_ZLIB=1
X #ZLIB_NAME=gz
X ZLIB_NAME=z
X 
X@@ -236,7 +236,7 @@
X # Solaris may need -lnsl -lsocket -lposix4.
X # (Libraries required by individual drivers are handled automatically.)
X 
X-EXTRALIBS=
X+EXTRALIBS=-L${PREFIX}/lib
X 
X # Define the standard libraries to search at the end of linking.
X # Most platforms require -lpthread for the POSIX threads library;
X@@ -245,7 +245,7 @@
X # All reasonable platforms require -lm, but Rhapsody and perhaps one or
X # two others fold libm into libc and don't require any additional library.
X 
X-STDLIBS=-lpthread -lm
X+STDLIBS=-lm
X 
X # Define the include switch(es) for the X11 header files.
X # This can be null if handled in some other way (e.g., the files are
X@@ -255,7 +255,7 @@
X # Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
X # not in $(XINCLUDE).
X 
X-XINCLUDE=-I/usr/local/X/include
X+XINCLUDE=-I${X11BASE}/include
X 
X # Define the directory/ies and library names for the X11 library files.
X # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
X@@ -267,12 +267,12 @@
X # Solaris and other SVR4 systems with dynamic linking probably want
X #XLIBDIRS=-L/usr/openwin/lib -R/usr/openwin/lib
X # X11R6 (on any platform) may need
X-#XLIBS=Xt SM ICE Xext X11
X+XLIBS=Xt SM ICE Xext X11
X 
X #XLIBDIRS=-L/usr/local/X/lib
X-XLIBDIRS=-L/usr/X11/lib
X+XLIBDIRS=-L${X11BASE}/lib
X XLIBDIR=
X-XLIBS=Xt Xext X11
X+#XLIBS=Xt Xext X11
X 
X # Define the directory/ies for the VFlib files.
X # If you use FreeType, Add ttf to VFLIBS
X@@ -297,7 +297,7 @@
X # Define the .dev module that implements thread and synchronization
X # primitives for this platform.
X 
X-SYNC=posync
X+SYNC=nosync
X 
X # ------ Devices and features ------ #
X 
X@@ -339,7 +339,7 @@
X # Choose the device(s) to include.  See devs.mak for details,
X # devs.mak and contrib.mak for the list of available devices.
X 
X-DEVICE_DEVS=$(DD)x11.dev $(DD)x11alpha.dev $(DD)x11cmyk.dev $(DD)x11gray2.dev $(DD)x11gray4.dev $(DD)x11mono.dev
X+#DEVICE_DEVS=$(DD)x11.dev $(DD)x11alpha.dev $(DD)x11cmyk.dev $(DD)x11gray2.dev $(DD)x11gray4.dev $(DD)x11mono.dev
X 
X #DEVICE_DEVS1=
X #DEVICE_DEVS2=
X@@ -357,27 +357,27 @@
X #DEVICE_DEVS14=
X #DEVICE_DEVS15=
X 
X-DEVICE_DEVS1=$(DD)bmpmono.dev $(DD)bmpgray.dev $(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)bmp16.dev $(DD)bmp256.dev $(DD)bmp16m.dev $(DD)bmp32b.dev
X-DEVICE_DEVS2=$(DD)bmpamono.dev $(DD)bmpasep1.dev $(DD)bmpasep8.dev $(DD)bmpa16.dev $(DD)bmpa256.dev $(DD)bmpa16m.dev $(DD)bmpa32b.dev
X-DEVICE_DEVS3=$(DD)deskjet.dev $(DD)djet500.dev $(DD)laserjet.dev $(DD)ljetplus.dev $(DD)ljet2p.dev $(DD)ljet3.dev $(DD)ljet3d.dev $(DD)ljet4.dev $(DD)ljet4d.dev $(DD)lj5mono.dev $(DD)lj5gray.dev
X-DEVICE_DEVS4=$(DD)cdeskjet.dev $(DD)cdjcolor.dev $(DD)cdjmono.dev $(DD)cdj550.dev $(DD)pj.dev $(DD)pjxl.dev $(DD)pjxl300.dev
X-DEVICE_DEVS5=$(DD)uniprint.dev
X-DEVICE_DEVS6=$(DD)bj10e.dev $(DD)bj200.dev $(DD)bjc600.dev $(DD)bjc800.dev
X-DEVICE_DEVS7=$(DD)faxg3.dev $(DD)faxg32d.dev $(DD)faxg4.dev
X-DEVICE_DEVS8=$(DD)pcxmono.dev $(DD)pcxgray.dev $(DD)pcx16.dev $(DD)pcx256.dev $(DD)pcx24b.dev $(DD)pcxcmyk.dev
X-DEVICE_DEVS9=$(DD)pbm.dev $(DD)pbmraw.dev $(DD)pgm.dev $(DD)pgmraw.dev $(DD)pgnm.dev $(DD)pgnmraw.dev $(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev $(DD)ppmraw.dev $(DD)pkm.dev $(DD)pkmraw.dev $(DD)pksm.dev $(DD)pksmraw.dev
X-DEVICE_DEVS10=$(DD)tiffcrle.dev $(DD)tiffg3.dev $(DD)tiffg32d.dev $(DD)tiffg4.dev $(DD)tifflzw.dev $(DD)tiffpack.dev
X-DEVICE_DEVS11=$(DD)tiff12nc.dev $(DD)tiff24nc.dev
X-DEVICE_DEVS12=$(DD)psmono.dev $(DD)psgray.dev $(DD)psrgb.dev $(DD)bit.dev $(DD)bitrgb.dev $(DD)bitcmyk.dev
X-DEVICE_DEVS13=$(DD)pngmono.dev $(DD)pnggray.dev $(DD)png16.dev $(DD)png256.dev $(DD)png16m.dev
X-DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev
X-DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)pswrite.dev $(DD)epswrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
X-
X-DEVICE_DEVS16=
X-DEVICE_DEVS17=
X-DEVICE_DEVS18=
X-DEVICE_DEVS19=
X-DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev
X+#DEVICE_DEVS1=$(DD)bmpmono.dev $(DD)bmpgray.dev $(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)bmp16.dev $(DD)bmp256.dev $(DD)bmp16m.dev $(DD)bmp32b.dev
X+#DEVICE_DEVS2=$(DD)bmpamono.dev $(DD)bmpasep1.dev $(DD)bmpasep8.dev $(DD)bmpa16.dev $(DD)bmpa256.dev $(DD)bmpa16m.dev $(DD)bmpa32b.dev
X+#DEVICE_DEVS3=$(DD)deskjet.dev $(DD)djet500.dev $(DD)laserjet.dev $(DD)ljetplus.dev $(DD)ljet2p.dev $(DD)ljet3.dev $(DD)ljet3d.dev $(DD)ljet4.dev $(DD)ljet4d.dev $(DD)lj5mono.dev $(DD)lj5gray.dev
X+#DEVICE_DEVS4=$(DD)cdeskjet.dev $(DD)cdjcolor.dev $(DD)cdjmono.dev $(DD)cdj550.dev $(DD)pj.dev $(DD)pjxl.dev $(DD)pjxl300.dev
X+#DEVICE_DEVS5=$(DD)uniprint.dev
X+#DEVICE_DEVS6=$(DD)bj10e.dev $(DD)bj200.dev $(DD)bjc600.dev $(DD)bjc800.dev
X+#DEVICE_DEVS7=$(DD)faxg3.dev $(DD)faxg32d.dev $(DD)faxg4.dev
X+#DEVICE_DEVS8=$(DD)pcxmono.dev $(DD)pcxgray.dev $(DD)pcx16.dev $(DD)pcx256.dev $(DD)pcx24b.dev $(DD)pcxcmyk.dev
X+#DEVICE_DEVS9=$(DD)pbm.dev $(DD)pbmraw.dev $(DD)pgm.dev $(DD)pgmraw.dev $(DD)pgnm.dev $(DD)pgnmraw.dev $(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev $(DD)ppmraw.dev $(DD)pkm.dev $(DD)pkmraw.dev $(DD)pksm.dev $(DD)pksmraw.dev
X+#DEVICE_DEVS10=$(DD)tiffcrle.dev $(DD)tiffg3.dev $(DD)tiffg32d.dev $(DD)tiffg4.dev $(DD)tifflzw.dev $(DD)tiffpack.dev
X+#DEVICE_DEVS11=$(DD)tiff12nc.dev $(DD)tiff24nc.dev
X+#DEVICE_DEVS12=$(DD)psmono.dev $(DD)psgray.dev $(DD)psrgb.dev $(DD)bit.dev $(DD)bitrgb.dev $(DD)bitcmyk.dev
X+#DEVICE_DEVS13=$(DD)pngmono.dev $(DD)pnggray.dev $(DD)png16.dev $(DD)png256.dev $(DD)png16m.dev
X+#DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev
X+#DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)pswrite.dev $(DD)epswrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
X+
X+#DEVICE_DEVS16=
X+#DEVICE_DEVS17=
X+#DEVICE_DEVS18=
X+#DEVICE_DEVS19=
X+#DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev
X 
X # ---------------------------- End of options --------------------------- #
X 
END-of-japanese/vfghostscript6/patches/patch-aa
echo x - japanese/vfghostscript6/patches/patch-ab
sed 's/^X//' >japanese/vfghostscript6/patches/patch-ab << 'END-of-japanese/vfghostscript6/patches/patch-ab'
X$NetBSD$
X
X+++ src/genarch.c	Sun Mar 26 23:56:56 2000
X@@ -194,6 +194,9 @@
X 	clock_t t = 0;
X 	clock_t t_eps;
X 
X+#if 0	/* This doesn't work on multi-user environment
X+	 * or on small-cache (< 1KB) machines.
X+	 */
X 	/*
X 	 * Increase the number of repetitions until the time is
X 	 * long enough to exceed the likely uncertainty.
X@@ -220,7 +223,11 @@
X 	    if (nreps == 0)
X 		nreps = 1, t <<= 1;
X 	}
X+#else
X+	bsize = 512;
X+#endif
X 	define_int(f, "ARCH_CACHE1_SIZE", bsize >> 1);
X+#if 0	/* Same as above. */
X 	/*
X 	 * Do the same thing a second time for the secondary cache.
X 	 */
X@@ -238,6 +245,7 @@
X 	    if (nreps == 0)
X 		nreps = 1, t <<= 1;
X 	}
X+#endif
X 	define_int(f, "ARCH_CACHE2_SIZE", bsize >> 1);
X     }
X 
END-of-japanese/vfghostscript6/patches/patch-ab
echo x - japanese/vfghostscript6/patches/patch-ac
sed 's/^X//' >japanese/vfghostscript6/patches/patch-ac << 'END-of-japanese/vfghostscript6/patches/patch-ac'
X$NetBSD$
X
X+++ src/unixinst.mak	Tue Apr 25 00:09:57 2000
X@@ -36,7 +36,7 @@
X 	-mkdir $(gsdir)
X 	-mkdir $(gsdatadir)
X 	-mkdir $(bindir)
X-	$(INSTALL_PROGRAM) $(GS_XE) $(bindir)/$(GS)
X+	$(INSTALL_PROGRAM) $(GS_XE) $(bindir)/vfgs
X 
X install-scripts: $(PSLIBDIR)/gsnd
X 	-mkdir $(datadir)
X@@ -49,7 +49,7 @@
X pdf2dsc pdf2ps pf2afm pfbtopfa printafm \
X ps2ascii ps2epsi ps2pdf ps2pdf12 ps2pdf13 ps2pdfwr ps2ps wftopfa \
X fixmswrd.pl lprsetup.sh pj-gs.sh pv.sh sysvlp.sh unix-lpr.sh ;\
X-	do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_PROGRAM) $(PSLIBDIR)/$$f $(scriptdir); fi;\
X+	do if ( test -f $(PSLIBDIR)/$$f ); then sed -e "s/\([ 	]\)gs /\1vfgs /g" -e "s/^gs /vfgs /" $(PSLIBDIR)/$$f > $(PSLIBDIR)/vf$$f; $(INSTALL_PROGRAM) $(PSLIBDIR)/vf$$f $(scriptdir); fi;\
X 	done'
X 
X PSDOCDIR=$(PSLIBDIR)/../doc
X@@ -68,13 +68,13 @@
X 	-mkdir $(mandir)
X 	-mkdir $(man1dir)
X 	$(SH) -c 'for f in $(MAN1_PAGES) ;\
X-	do if ( test -f $(PSMANDIR)/$$f.1 ); then $(INSTALL_DATA) $(PSMANDIR)/$$f.1 $(man1dir)/$$f.$(man1ext); fi;\
X+	do if ( test -f $(PSMANDIR)/$$f.1 ); then $(INSTALL_DATA) $(PSMANDIR)/$$f.1 $(man1dir)/vf$$f.$(man1ext); fi;\
X 	done'
X 	$(SH) -c 'for f in $(MAN1_PS2PDF_LINKS) ;\
X-	do rm -f $(man1dir)/$$f.$(man1ext); ln -s ps2pdf.1 $(man1dir)/$$f.$(man1ext);\
X+	do rm -f $(man1dir)/$$f.$(man1ext); ln -s vfps2pdf.1 $(man1dir)/vf$$f.$(man1ext);\
X 	done'
X 	$(SH) -c 'for f in $(MAN1_GSLP_LINKS) ;\
X-	do rm -f $(man1dir)/$$f.$(man1ext); ln -s gslp.1 $(man1dir)/$$f.$(man1ext);\
X+	do rm -f $(man1dir)/$$f.$(man1ext); ln -s vfgslp.1 $(man1dir)/vf$$f.$(man1ext);\
X 	done'
X 	-mkdir $(datadir)
X 	-mkdir $(gsdir)
END-of-japanese/vfghostscript6/patches/patch-ac
echo x - japanese/vfghostscript6/patches/patch-ad
sed 's/^X//' >japanese/vfghostscript6/patches/patch-ad << 'END-of-japanese/vfghostscript6/patches/patch-ad'
X$NetBSD$
X
X+++ lib/gs_init.ps	Mon Apr 17 15:32:49 2000
X@@ -1704,3 +1704,7 @@
X (END GC) VMDEBUG
X 
X % The interpreter will run the initial procedure (start).
X+
X+% unofficial patch:
X+% make it possible to print from within acroread pdf viewer
X+/Default currenthalftone /Halftone defineresource pop
END-of-japanese/vfghostscript6/patches/patch-ad
echo x - japanese/vfghostscript6/patches/patch-da
sed 's/^X//' >japanese/vfghostscript6/patches/patch-da << 'END-of-japanese/vfghostscript6/patches/patch-da'
X$NetBSD$
X
X+++ src/devs.mak	Sun Apr 16 18:28:08 2000
X@@ -521,6 +521,27 @@
X $(DD)ljetplus.dev : $(DEVS_MAK) $(HPMONO) $(GLD)page.dev
X 	$(SETPDEV2) $(DD)ljetplus $(HPMONO)
X 
X+### -------------- cdj850 - HP 850c Driver under development ------------- ###
X+### Since this driver is in the development-phase it is not distributed    ###
X+### with ghostscript, but it is available via anonymous ftp from:          ###
X+###                        ftp://bonk.ethz.ch                              ###
X+### For questions about this driver, please contact:                       ###
X+###       Uli Wortmann (E-Mail address inside the driver-package)          ###
X+   
X+cdeskjet8_=$(GLOBJ)gdevcd8.$(OBJ) $(HPPCL)
X+
X+$(DD)cdj850.dev: $(cdeskjet8_) $(GLD)page.dev
X+	$(SETPDEV2) $(DD)cdj850 $(cdeskjet8_)
X+
X+$(DD)cdj670.dev: $(cdeskjet8_) $(GLD)page.dev
X+	$(SETPDEV2) $(DD)cdj670 $(cdeskjet8_)
X+
X+$(DD)cdj890.dev: $(cdeskjet8_) $(GLD)page.dev
X+	$(SETPDEV2) $(DD)cdj890 $(cdeskjet8_)
X+
X+$(DD)cdj1600.dev: $(cdeskjet8_) $(GLD)page.dev
X+	$(SETPDEV2) $(DD)cdj1600 $(cdeskjet8_)
X+
X ### Selecting ljet2p provides TIFF (mode 2) compression on LaserJet III,
X ### IIIp, IIId, IIIsi, IId, and IIp. 
X 
X@@ -1094,8 +1115,8 @@
X png_i_=-include $(PNGGENDIR)$(D)libpng
X 
X $(GLOBJ)gdevpng.$(OBJ) : $(GLSRC)gdevpng.c\
X- $(gdevprn_h) $(gdevpccm_h) $(gscdefs_h) $(png__h)
X-	$(CC_) $(I_)$(GLI_) $(II)$(PI_)$(_I) $(PCF_) $(GLF_) $(GLO_)gdevpng.$(OBJ) $(C_) $(GLSRC)gdevpng.c
X+ $(gdevprn_h) $(gdevpccm_h) $(gscdefs_h)
X+	$(CC_) $(I_)$(PREFIX)/include $(I_)$(GLI_) $(II)$(PI_)$(_I) $(PCF_) $(GLF_) $(GLO_)gdevpng.$(OBJ) $(C_) $(GLSRC)gdevpng.c
X 
X $(DD)pngmono.dev : $(DEVS_MAK) $(libpng_dev) $(png_) $(GLD)page.dev
X 	$(SETPDEV2) $(DD)pngmono $(png_)
END-of-japanese/vfghostscript6/patches/patch-da
echo x - japanese/vfghostscript6/patches/patch-db
sed 's/^X//' >japanese/vfghostscript6/patches/patch-db << 'END-of-japanese/vfghostscript6/patches/patch-db'
X$NetBSD$
X
X+++ src/contrib.mak	Sun Mar 26 21:57:36 2000
X@@ -454,6 +454,9 @@
X 
X cdeskjet8_=$(GLOBJ)gdevcd8.$(OBJ) $(HPPCL)
X 
X+$(GLOBJ)gdevcd8.$(OBJ): $(GLSRC)gdevcd8.c $(PDEVH) $(gdevpcl_h)
X+	$(GLCC) $(GLO_)gdevcd8.$(OBJ) $(C_) $(GLSRC)gdevcd8.c
X+
X $(DD)cdj850.dev : $(cdeskjet8_) $(DD)page.dev
X 	$(SETPDEV2) $(DD)cdj850 $(cdeskjet8_)
X 
X@@ -551,17 +554,17 @@
X ### Note: these drivers were contributed by users.                       ###
X ### For questions about these drivers, please contact                    ###
X ###       Lauri Paatero, lauri.paatero@paatero.pp.fi                     ###
X-
X-lbp8_=$(GLOBJ)gdevlbp8.$(OBJ)
X-	$(SETPDEV) $(DD)lbp8 $(lbp8_)
X-
X-	$(SETPDEV) $(DD)lips3 $(lbp8_)
X-
X-	$(GLCC) $(GLO_)gdevlbp8.$(OBJ) $(C_) $(GLSRC)gdevlbp8.c
X-
X+#
X+#lbp8_=$(GLOBJ)gdevlbp8.$(OBJ)
X+#$(DD)lbp8.dev : $(lbp8_) $(DD)page.dev
X+#	$(SETPDEV) $(DD)lbp8 $(lbp8_)
X+#
X+#$(DD)lips3.dev : $(lbp8_) $(DD)page.dev
X+#	$(SETPDEV) $(DD)lips3 $(lbp8_)
X+#
X+#$(GLOBJ)gdevlbp8.$(OBJ) : $(GLSRC)gdevlbp8.c $(PDEVH)
X+#	$(GLCC) $(GLO_)gdevlbp8.$(OBJ) $(C_) $(GLSRC)gdevlbp8.c
X+#
X ### -------------- The Epson LP-8000 laser printer device -------------- ###
X ### Note: this driver was contributed by a user: please contact Oleg     ###
X ###       Oleg Fat'yanov <faty1@rlem.titech.ac.jp> if you have questions.###
END-of-japanese/vfghostscript6/patches/patch-db
echo x - japanese/vfghostscript6/patches/patch-dc
sed 's/^X//' >japanese/vfghostscript6/patches/patch-dc << 'END-of-japanese/vfghostscript6/patches/patch-dc'
X$NetBSD$
X
X*** ../gdev10v/gdev10v.mak.orig	Sun Nov 15 23:30:39 1998
X***************
X*** 1,12 ****
X  ### ----------------- The Canon BubbleJet BJ10v device ----------------- ###
X  
X! bj10v_=gdev10v.$(OBJ) gdevprn.$(OBJ)
X! bj10v.dev: $(bj10v_)
X! 	$(SHP)gssetdev bj10v $(bj10v_)
X! bj10vh.dev: $(bj10v_)
X! 	$(SHP)gssetdev bj10vh $(bj10v_)
X  
X  # Uncomment the following line if you are using MS-DOS on PC9801 series.
X  
X! gdev10v.$(OBJ): gdevbj10.c $(PDEVH)
X  #	$(CCC) -DPC9801 gdev10v.c
X--- 1,13 ----
X  ### ----------------- The Canon BubbleJet BJ10v device ----------------- ###
X  
X! bj10v_=$(GLOBJ)gdev10v.$(OBJ) $(GLOBJ)gdevprn.$(OBJ)
X! bj10v.dev: $(bj10v_) page.dev
X! 	$(SETPDEV) bj10v $(bj10v_)
X! bj10vh.dev: $(bj10v_) page.dev
X! 	$(SETPDEV) bj10vh $(bj10v_)
X  
X  # Uncomment the following line if you are using MS-DOS on PC9801 series.
X  
X! $(GLOBJ)gdev10v.$(OBJ): $(GLSRC)gdevbj10.c $(PDEVH)
X! 	$(GLCC) $(GLO_)gdev10v.$(OBJ) $(C_) $(GLSRC)gdev10v.c
X  #	$(CCC) -DPC9801 gdev10v.c
END-of-japanese/vfghostscript6/patches/patch-dc
echo x - japanese/vfghostscript6/patches/patch-dd
sed 's/^X//' >japanese/vfghostscript6/patches/patch-dd << 'END-of-japanese/vfghostscript6/patches/patch-dd'
X$NetBSD$
X
X*** ../gdevdmpr.mak.orig	Sun Nov 15 23:30:39 1998
X***************
X*** 1,8 ****
X  ### ---------------- Dot matrix printer device ---------------- ###
X! dmprt_=gdevdmpr.$(OBJ) dviprlib.$(OBJ) gdevprn.$(OBJ)
X  
X  dmprt.dev: $(dmprt_)
X  	$(SETDEV) dmprt $(dmprt_)
X  	$(ADDMOD) dmprt -ps dmp_init
X! gdevdmpr.$(OBJ): gdevdmpr.c dviprlib.h $(PDEVH)
X! dviprlib.$(OBJ): dviprlib.c dviprlib.h
X--- 1,10 ----
X  ### ---------------- Dot matrix printer device ---------------- ###
X! dmprt_=$(GLOBJ)gdevdmpr.$(OBJ) $(GLOBJ)dviprlib.$(OBJ) $(GLOBJ)gdevprn.$(OBJ)
X  
X  dmprt.dev: $(dmprt_)
X  	$(SETDEV) dmprt $(dmprt_)
X  	$(ADDMOD) dmprt -ps dmp_init
X! $(GLOBJ)gdevdmpr.$(OBJ): $(GLSRC)gdevdmpr.c $(GLSRC)dviprlib.h $(PDEVH)
X! 	$(GLCC) $(GLO_)gdevdmpr.$(OBJ) $(C_) $(GLSRC)gdevdmpr.c
X! $(GLOBJ)dviprlib.$(OBJ): $(GLSRC)dviprlib.c $(GLSRC)dviprlib.h
X! 	$(GLCC) $(GLO_)dviprlib.$(OBJ) $(C_) $(GLSRC)dviprlib.c
END-of-japanese/vfghostscript6/patches/patch-dd
echo x - japanese/vfghostscript6/patches/patch-de
sed 's/^X//' >japanese/vfghostscript6/patches/patch-de << 'END-of-japanese/vfghostscript6/patches/patch-de'
X$NetBSD$
X
X+++ ../gdevmjc-0.8/gdevmjc.c	Mon Mar 27 10:10:48 2000
X@@ -307,7 +307,7 @@
X   static const float mj_b4[4] = { MJ700V2C_MARGINS_B4 };
X   static const float mj_b5[4] = { MJ700V2C_MARGINS_B5 };
X   static const float mj_letter[4] = { MJ700V2C_MARGINS_LETTER };
X-  const float _ds *m;
X+  const float *m;
X   int psize;
X 
X   int paper_size;
END-of-japanese/vfghostscript6/patches/patch-de
echo x - japanese/vfghostscript6/patches/patch-df
sed 's/^X//' >japanese/vfghostscript6/patches/patch-df << 'END-of-japanese/vfghostscript6/patches/patch-df'
X$NetBSD$
X
X*** ../gdevrpdl/gdevrpdl.mak.orig	Sun Nov 15 23:30:40 1998
X***************
X*** 1,5 ****
X  ### ---------- RICOH RPDL IV(600dpi) printer devices ---------- ###
X! rpdl_=gdevrpdl.$(OBJ)
X  
X  rpdlA3.dev: $(rpdl_) page.dev
X  	$(SETPDEV) rpdlA3 $(rpdl_)
X--- 1,7 ----
X  ### ---------- RICOH RPDL IV(600dpi) printer devices ---------- ###
X! rpdl_=$(GLOBJ)gdevrpdl.$(OBJ)
X! $(GLOBJ)gdevrpdl.$(OBJ): $(GLSRC)gdevrpdl.c $(PDEVH)
X! 	$(GLCC) $(GLO_)gdevrpdl.$(OBJ) $(C_) $(GLSRC)gdevrpdl.c
X  
X  rpdlA3.dev: $(rpdl_) page.dev
X  	$(SETPDEV) rpdlA3 $(rpdl_)
END-of-japanese/vfghostscript6/patches/patch-df
echo x - japanese/vfghostscript6/patches/patch-ja
sed 's/^X//' >japanese/vfghostscript6/patches/patch-ja << 'END-of-japanese/vfghostscript6/patches/patch-ja'
X$NetBSD$
X
XUse JIS paper size.
X
X+++ lib/gs_statd.ps	Fri Mar 31 00:02:50 2000
X@@ -70,19 +70,12 @@
X  /a10 {74 105 //.setpagesize exec} bind def
X % ISO and JIS B sizes are different....
X  /isob0 {2836 4008 //.setpagesize exec} bind def
X- /b0 /isob0 load def
X  /isob1 {2004 2836 //.setpagesize exec} bind def
X- /b1 /isob1 load def
X  /isob2 {1418 2004 //.setpagesize exec} bind def
X- /b2 /isob2 load def
X  /isob3 {1002 1418 //.setpagesize exec} bind def
X- /b3 /isob3 load def
X  /isob4 {709 1002 //.setpagesize exec} bind def
X- /b4 /isob4 load def
X  /isob5 {501 709 //.setpagesize exec} bind def
X- /b5 /isob5 load def
X  /isob6 {354 501 //.setpagesize exec} bind def
X- /b6 /isob6 load def
X  /jisb0 {2916 4128 //.setpagesize exec} bind def
X  /jisb1 {2064 2916 //.setpagesize exec} bind def
X  /jisb2 {1458 2064 //.setpagesize exec} bind def
X@@ -90,6 +83,13 @@
X  /jisb4 {729 1032 //.setpagesize exec} bind def
X  /jisb5 {516 729 //.setpagesize exec} bind def
X  /jisb6 {363 516 //.setpagesize exec} bind def
X+ /b0 /jisb0 load def
X+ /b1 /jisb1 load def
X+ /b2 /jisb2 load def
X+ /b3 /jisb3 load def
X+ /b4 /jisb4 load def
X+ /b5 /jisb5 load def
X+ /b6 /jisb6 load def
X  /c0 {2600 3677 //.setpagesize exec} bind def
X  /c1 {1837 2600 //.setpagesize exec} bind def
X  /c2 {1298 1837 //.setpagesize exec} bind def
X@@ -111,6 +111,8 @@
X % /csheet {1224 1584 //.setpagesize exec} bind def % ANSI C 17x22
X % /dsheet {1584 2448 //.setpagesize exec} bind def % ANSI D 22x34
X % /esheet {2448 3168 //.setpagesize exec} bind def % ANSI E 34x44
X+/envyou4 {298 666 //.setpagesize exec} bind def  % Japanese Envelope
X+/postcard {284 419 //.setpagesize exec} bind def  % Japanese Postcard
X %END SIZES
X end
X currentdict /.setpagesize .undef
X@@ -124,6 +126,7 @@
X    /a0 /a1 /a2 /a3 /a4 /a5 /a6 /a7 /a8 /a9 /a10
X    /b0 /b1 /b2 /b3 /b4 /b5 /b6 /archE /archD /archC /archB /archA
X    /flsa /flse /halfletter /11x17 /ledger
X+   /envyou4 /postcard
X  } cvlit readonly def
X 
X %%%%%% The following items were suggested by a user as useful.
END-of-japanese/vfghostscript6/patches/patch-ja
echo x - japanese/vfghostscript6/patches/patch-jb
sed 's/^X//' >japanese/vfghostscript6/patches/patch-jb << 'END-of-japanese/vfghostscript6/patches/patch-jb'
X$NetBSD$
X
XUse JIS paper size.
X
X+++ src/gdevps.c	Sat Apr 15 22:24:05 2000
X@@ -599,7 +599,11 @@
X 		{"/11x17", 792, 1224},
X 		{"/a3", 842, 1190},
X 		{"/a4", 595, 842},
X+#if 0	/* ISO B5 */
X 		{"/b5", 501, 709},
X+#else	/* JIS B5 */
X+		{"/b5", 516, 729},
X+#endif
X 		{"/ledger", 1224, 792},
X 		{"/legal", 612, 1008},
X 		{"/letter", 612, 792},
END-of-japanese/vfghostscript6/patches/patch-jb
echo x - japanese/vfghostscript6/patches/patch-bug-workaround
sed 's/^X//' >japanese/vfghostscript6/patches/patch-bug-workaround << 'END-of-japanese/vfghostscript6/patches/patch-bug-workaround'
X$NetBSD$
X
XI haven't found out the cause of the trouble of
X
X	Unrecoverable error: invalidaccess in put
X
X... and this is only a workaround.
XPlease fix the problem and remove this patch.
X
X+++ lib/gs_dps.ps	Tue Mar 28 12:13:16 2000
X@@ -53,7 +53,10 @@
X     } {
X       dup type /dicttype eq {
X 		% Save a copy of this dictionary in global VM.
X-	dup maxlength dict .copydict readonly
X+	dup maxlength dict
X+	% same as .copydict, but uses .forceput
X+	dup 3 -1 roll { .forceput dup } forall pop
X+	readonly
X       } {
X 	pop pop
X       } ifelse
END-of-japanese/vfghostscript6/patches/patch-bug-workaround
echo c - japanese/vfghostscript6/pkg
mkdir -p japanese/vfghostscript6/pkg > /dev/null 2>&1
echo x - japanese/vfghostscript6/pkg/PLIST
sed 's/^X//' >japanese/vfghostscript6/pkg/PLIST << 'END-of-japanese/vfghostscript6/pkg/PLIST'
X@comment $NetBSD$
Xbin/vfbdftops
Xbin/vfdvipdf
Xbin/vfeps2eps
Xbin/vffixmswrd.pl
Xbin/vffont2c
Xbin/vfgs
Xbin/vfgsbj
Xbin/vfgsdj
Xbin/vfgsdj500
Xbin/vfgslj
Xbin/vfgslp
Xbin/vfgsnd
Xbin/vflprsetup.sh
Xbin/vfpdf2dsc
Xbin/vfpdf2ps
Xbin/vfpf2afm
Xbin/vfpfbtopfa
Xbin/vfpj-gs.sh
Xbin/vfprintafm
Xbin/vfps2ascii
Xbin/vfps2epsi
Xbin/vfps2pdf
Xbin/vfps2pdf12
Xbin/vfps2pdf13
Xbin/vfps2pdfwr
Xbin/vfps2ps
Xbin/vfpv.sh
Xbin/vfsysvlp.sh
Xbin/vfunix-lpr.sh
Xbin/vfwftopfa
Xman/man1/vfdvipdf.1
Xman/man1/vfeps2eps.1
Xman/man1/vffont2c.1
Xman/man1/vfgs.1
Xman/man1/vfgsbj.1
Xman/man1/vfgsdj.1
Xman/man1/vfgsdj500.1
Xman/man1/vfgslj.1
Xman/man1/vfgslp.1
Xman/man1/vfgsnd.1
Xman/man1/vfpdf2dsc.1
Xman/man1/vfpdf2ps.1
Xman/man1/vfpf2afm.1
Xman/man1/vfpfbtopfa.1
Xman/man1/vfprintafm.1
Xman/man1/vfps2ascii.1
Xman/man1/vfps2epsi.1
Xman/man1/vfps2pdf.1
Xman/man1/vfps2pdf12.1
Xman/man1/vfps2pdf13.1
Xman/man1/vfps2pdfwr.1
Xman/man1/vfps2ps.1
Xman/man1/vfwftopfa.1
Xshare/ghostscript/6.01vflib/doc/Bug-form.htm
Xshare/ghostscript/6.01vflib/doc/C-style.htm
Xshare/ghostscript/6.01vflib/doc/Commprod.htm
Xshare/ghostscript/6.01vflib/doc/Copying.htm
Xshare/ghostscript/6.01vflib/doc/Current.htm
Xshare/ghostscript/6.01vflib/doc/DLL.htm
Xshare/ghostscript/6.01vflib/doc/Devices.htm
Xshare/ghostscript/6.01vflib/doc/Drivers.htm
Xshare/ghostscript/6.01vflib/doc/Fonts.htm
Xshare/ghostscript/6.01vflib/doc/Gdevlips.htm
Xshare/ghostscript/6.01vflib/doc/Helpers.htm
Xshare/ghostscript/6.01vflib/doc/Hershey.htm
Xshare/ghostscript/6.01vflib/doc/History1.htm
Xshare/ghostscript/6.01vflib/doc/History2.htm
Xshare/ghostscript/6.01vflib/doc/History3.htm
Xshare/ghostscript/6.01vflib/doc/History4.htm
Xshare/ghostscript/6.01vflib/doc/History5.htm
Xshare/ghostscript/6.01vflib/doc/History6.htm
Xshare/ghostscript/6.01vflib/doc/Htmstyle.htm
Xshare/ghostscript/6.01vflib/doc/Humor.htm
Xshare/ghostscript/6.01vflib/doc/Install.htm
Xshare/ghostscript/6.01vflib/doc/Language.htm
Xshare/ghostscript/6.01vflib/doc/Lib.htm
Xshare/ghostscript/6.01vflib/doc/Make.htm
Xshare/ghostscript/6.01vflib/doc/New-user.htm
Xshare/ghostscript/6.01vflib/doc/News.htm
Xshare/ghostscript/6.01vflib/doc/PUBLIC
Xshare/ghostscript/6.01vflib/doc/Ps2pdf.htm
Xshare/ghostscript/6.01vflib/doc/Psfiles.htm
Xshare/ghostscript/6.01vflib/doc/Public.htm
Xshare/ghostscript/6.01vflib/doc/README
Xshare/ghostscript/6.01vflib/doc/Readme.htm
Xshare/ghostscript/6.01vflib/doc/Release.htm
Xshare/ghostscript/6.01vflib/doc/Source.htm
Xshare/ghostscript/6.01vflib/doc/Tester.htm
Xshare/ghostscript/6.01vflib/doc/Unix-lpr.htm
Xshare/ghostscript/6.01vflib/doc/Use.htm
Xshare/ghostscript/6.01vflib/doc/Xfonts.htm
Xshare/ghostscript/6.01vflib/doc/gdev10v.jis
Xshare/ghostscript/6.01vflib/doc/gdevdmpr.sj
Xshare/ghostscript/6.01vflib/doc/gdevmjc-0.8/MJ700V2C.FAQ
Xshare/ghostscript/6.01vflib/doc/gdevmjc-0.8/README.mjc
Xshare/ghostscript/6.01vflib/doc/gdevmjc-0.8/README.mje
Xshare/ghostscript/6.01vflib/doc/gdevmjc-0.8/README.noz
Xshare/ghostscript/6.01vflib/doc/gdevmjc-0.8/cpem.doc
X@dirrm share/ghostscript/6.01vflib/doc/gdevmjc-0.8
Xshare/ghostscript/6.01vflib/doc/gdevprsc.en
Xshare/ghostscript/6.01vflib/doc/gdevprsc.ja
Xshare/ghostscript/6.01vflib/doc/ps2epsi.txt
X@dirrm share/ghostscript/6.01vflib/doc
Xshare/ghostscript/6.01vflib/examples/alphabet.ps
Xshare/ghostscript/6.01vflib/examples/cheq.ps
Xshare/ghostscript/6.01vflib/examples/chess.ps
Xshare/ghostscript/6.01vflib/examples/colorcir.ps
Xshare/ghostscript/6.01vflib/examples/doretree.ps
Xshare/ghostscript/6.01vflib/examples/escher.ps
Xshare/ghostscript/6.01vflib/examples/golfer.ps
Xshare/ghostscript/6.01vflib/examples/grayalph.ps
Xshare/ghostscript/6.01vflib/examples/ridt91.eps
Xshare/ghostscript/6.01vflib/examples/snowflak.ps
Xshare/ghostscript/6.01vflib/examples/tiger.ps
Xshare/ghostscript/6.01vflib/examples/vasarely.ps
Xshare/ghostscript/6.01vflib/examples/waterfal.ps
X@dirrm share/ghostscript/6.01vflib/examples
Xshare/ghostscript/6.01vflib/lib/Fontmap
Xshare/ghostscript/6.01vflib/lib/Fontmap.GS
Xshare/ghostscript/6.01vflib/lib/acctest.ps
Xshare/ghostscript/6.01vflib/lib/addxchar.ps
Xshare/ghostscript/6.01vflib/lib/align.ps
Xshare/ghostscript/6.01vflib/lib/bdftops.ps
Xshare/ghostscript/6.01vflib/lib/bjc610a0.upp
Xshare/ghostscript/6.01vflib/lib/bjc610a1.upp
Xshare/ghostscript/6.01vflib/lib/bjc610a2.upp
Xshare/ghostscript/6.01vflib/lib/bjc610a3.upp
Xshare/ghostscript/6.01vflib/lib/bjc610a4.upp
Xshare/ghostscript/6.01vflib/lib/bjc610a5.upp
Xshare/ghostscript/6.01vflib/lib/bjc610a6.upp
Xshare/ghostscript/6.01vflib/lib/bjc610a7.upp
Xshare/ghostscript/6.01vflib/lib/bjc610a8.upp
Xshare/ghostscript/6.01vflib/lib/bjc610b1.upp
Xshare/ghostscript/6.01vflib/lib/bjc610b2.upp
Xshare/ghostscript/6.01vflib/lib/bjc610b3.upp
Xshare/ghostscript/6.01vflib/lib/bjc610b4.upp
Xshare/ghostscript/6.01vflib/lib/bjc610b6.upp
Xshare/ghostscript/6.01vflib/lib/bjc610b7.upp
Xshare/ghostscript/6.01vflib/lib/bjc610b8.upp
Xshare/ghostscript/6.01vflib/lib/caption.ps
Xshare/ghostscript/6.01vflib/lib/cbjc600.ppd
Xshare/ghostscript/6.01vflib/lib/cbjc800.ppd
Xshare/ghostscript/6.01vflib/lib/cdj550.upp
Xshare/ghostscript/6.01vflib/lib/cdj690.upp
Xshare/ghostscript/6.01vflib/lib/cdj690ec.upp
Xshare/ghostscript/6.01vflib/lib/cid2code.ps
Xshare/ghostscript/6.01vflib/lib/decrypt.ps
Xshare/ghostscript/6.01vflib/lib/dmp_init.ps
Xshare/ghostscript/6.01vflib/lib/dmp_site.ps
Xshare/ghostscript/6.01vflib/lib/dnj750c.upp
Xshare/ghostscript/6.01vflib/lib/dnj750m.upp
Xshare/ghostscript/6.01vflib/lib/docie.ps
Xshare/ghostscript/6.01vflib/lib/errpage.ps
Xshare/ghostscript/6.01vflib/lib/escp_24.src
Xshare/ghostscript/6.01vflib/lib/font2c.ps
Xshare/ghostscript/6.01vflib/lib/font2pcl.ps
Xshare/ghostscript/6.01vflib/lib/gs_btokn.ps
Xshare/ghostscript/6.01vflib/lib/gs_ccfnt.ps
Xshare/ghostscript/6.01vflib/lib/gs_ce_e.ps
Xshare/ghostscript/6.01vflib/lib/gs_cff.ps
Xshare/ghostscript/6.01vflib/lib/gs_cidfn.ps
Xshare/ghostscript/6.01vflib/lib/gs_cmap.ps
Xshare/ghostscript/6.01vflib/lib/gs_cmdl.ps
Xshare/ghostscript/6.01vflib/lib/gs_dbt_e.ps
Xshare/ghostscript/6.01vflib/lib/gs_diskf.ps
Xshare/ghostscript/6.01vflib/lib/gs_dpnxt.ps
Xshare/ghostscript/6.01vflib/lib/gs_dps.ps
Xshare/ghostscript/6.01vflib/lib/gs_dps1.ps
Xshare/ghostscript/6.01vflib/lib/gs_dps2.ps
Xshare/ghostscript/6.01vflib/lib/gs_epsf.ps
Xshare/ghostscript/6.01vflib/lib/gs_fform.ps
Xshare/ghostscript/6.01vflib/lib/gs_fonts.ps
Xshare/ghostscript/6.01vflib/lib/gs_il1_e.ps
Xshare/ghostscript/6.01vflib/lib/gs_il2_e.ps
Xshare/ghostscript/6.01vflib/lib/gs_init.ps
Xshare/ghostscript/6.01vflib/lib/gs_kanji.ps
Xshare/ghostscript/6.01vflib/lib/gs_ksb_e.ps
Xshare/ghostscript/6.01vflib/lib/gs_l.xbm
Xshare/ghostscript/6.01vflib/lib/gs_l.xpm
Xshare/ghostscript/6.01vflib/lib/gs_l2img.ps
Xshare/ghostscript/6.01vflib/lib/gs_l_m.xbm
Xshare/ghostscript/6.01vflib/lib/gs_lev2.ps
Xshare/ghostscript/6.01vflib/lib/gs_lgo_e.ps
Xshare/ghostscript/6.01vflib/lib/gs_lgx_e.ps
Xshare/ghostscript/6.01vflib/lib/gs_ll3.ps
Xshare/ghostscript/6.01vflib/lib/gs_m.xbm
Xshare/ghostscript/6.01vflib/lib/gs_m.xpm
Xshare/ghostscript/6.01vflib/lib/gs_m_m.xbm
Xshare/ghostscript/6.01vflib/lib/gs_mex_e.ps
Xshare/ghostscript/6.01vflib/lib/gs_mgl_e.ps
Xshare/ghostscript/6.01vflib/lib/gs_mro_e.ps
Xshare/ghostscript/6.01vflib/lib/gs_pdf_e.ps
Xshare/ghostscript/6.01vflib/lib/gs_pdfwr.ps
Xshare/ghostscript/6.01vflib/lib/gs_pfile.ps
Xshare/ghostscript/6.01vflib/lib/gs_rdlin.ps
Xshare/ghostscript/6.01vflib/lib/gs_res.ps
Xshare/ghostscript/6.01vflib/lib/gs_s.xbm
Xshare/ghostscript/6.01vflib/lib/gs_s.xpm
Xshare/ghostscript/6.01vflib/lib/gs_s_m.xbm
Xshare/ghostscript/6.01vflib/lib/gs_setpd.ps
Xshare/ghostscript/6.01vflib/lib/gs_statd.ps
Xshare/ghostscript/6.01vflib/lib/gs_std_e.ps
Xshare/ghostscript/6.01vflib/lib/gs_sym_e.ps
Xshare/ghostscript/6.01vflib/lib/gs_t.xbm
Xshare/ghostscript/6.01vflib/lib/gs_t.xpm
Xshare/ghostscript/6.01vflib/lib/gs_t_m.xbm
Xshare/ghostscript/6.01vflib/lib/gs_trap.ps
Xshare/ghostscript/6.01vflib/lib/gs_ttf.ps
Xshare/ghostscript/6.01vflib/lib/gs_typ32.ps
Xshare/ghostscript/6.01vflib/lib/gs_typ42.ps
Xshare/ghostscript/6.01vflib/lib/gs_type1.ps
Xshare/ghostscript/6.01vflib/lib/gs_wan_e.ps
Xshare/ghostscript/6.01vflib/lib/gs_wl1_e.ps
Xshare/ghostscript/6.01vflib/lib/gs_wl2_e.ps
Xshare/ghostscript/6.01vflib/lib/gs_wl5_e.ps
Xshare/ghostscript/6.01vflib/lib/gslp.ps
Xshare/ghostscript/6.01vflib/lib/gsnup.ps
Xshare/ghostscript/6.01vflib/lib/ht_ccsto.ps
Xshare/ghostscript/6.01vflib/lib/image-qa.ps
Xshare/ghostscript/6.01vflib/lib/impath.ps
Xshare/ghostscript/6.01vflib/lib/jispaper.ps
Xshare/ghostscript/6.01vflib/lib/landscap.ps
Xshare/ghostscript/6.01vflib/lib/level1.ps
Xshare/ghostscript/6.01vflib/lib/lines.ps
Xshare/ghostscript/6.01vflib/lib/markhint.ps
Xshare/ghostscript/6.01vflib/lib/markpath.ps
Xshare/ghostscript/6.01vflib/lib/necp2x.upp
Xshare/ghostscript/6.01vflib/lib/necp2x6.upp
Xshare/ghostscript/6.01vflib/lib/packfile.ps
Xshare/ghostscript/6.01vflib/lib/pcharstr.ps
Xshare/ghostscript/6.01vflib/lib/pdf2dsc.ps
Xshare/ghostscript/6.01vflib/lib/pdf_base.ps
Xshare/ghostscript/6.01vflib/lib/pdf_draw.ps
Xshare/ghostscript/6.01vflib/lib/pdf_font.ps
Xshare/ghostscript/6.01vflib/lib/pdf_main.ps
Xshare/ghostscript/6.01vflib/lib/pdf_ops.ps
Xshare/ghostscript/6.01vflib/lib/pdf_sec.ps
Xshare/ghostscript/6.01vflib/lib/pdfeof.ps
Xshare/ghostscript/6.01vflib/lib/pf2afm.ps
Xshare/ghostscript/6.01vflib/lib/pfbtopfa.ps
Xshare/ghostscript/6.01vflib/lib/ppath.ps
Xshare/ghostscript/6.01vflib/lib/prfont.ps
Xshare/ghostscript/6.01vflib/lib/printafm.ps
Xshare/ghostscript/6.01vflib/lib/ps2ai.ps
Xshare/ghostscript/6.01vflib/lib/ps2ascii.ps
Xshare/ghostscript/6.01vflib/lib/ps2epsi.ps
Xshare/ghostscript/6.01vflib/lib/quit.ps
Xshare/ghostscript/6.01vflib/lib/ras1.upp
Xshare/ghostscript/6.01vflib/lib/ras24.upp
Xshare/ghostscript/6.01vflib/lib/ras3.upp
Xshare/ghostscript/6.01vflib/lib/ras32.upp
Xshare/ghostscript/6.01vflib/lib/ras4.upp
Xshare/ghostscript/6.01vflib/lib/ras8m.upp
Xshare/ghostscript/6.01vflib/lib/rollconv.ps
Xshare/ghostscript/6.01vflib/lib/showchar.ps
Xshare/ghostscript/6.01vflib/lib/showpage.ps
Xshare/ghostscript/6.01vflib/lib/stc.upp
Xshare/ghostscript/6.01vflib/lib/stc1520h.upp
Xshare/ghostscript/6.01vflib/lib/stc2.upp
Xshare/ghostscript/6.01vflib/lib/stc200_h.upp
Xshare/ghostscript/6.01vflib/lib/stc2_h.upp
Xshare/ghostscript/6.01vflib/lib/stc2s_h.upp
Xshare/ghostscript/6.01vflib/lib/stc500p.upp
Xshare/ghostscript/6.01vflib/lib/stc500ph.upp
Xshare/ghostscript/6.01vflib/lib/stc600ih.upp
Xshare/ghostscript/6.01vflib/lib/stc600p.upp
Xshare/ghostscript/6.01vflib/lib/stc600pl.upp
Xshare/ghostscript/6.01vflib/lib/stc640p.upp
Xshare/ghostscript/6.01vflib/lib/stc800ih.upp
Xshare/ghostscript/6.01vflib/lib/stc800p.upp
Xshare/ghostscript/6.01vflib/lib/stc800pl.upp
Xshare/ghostscript/6.01vflib/lib/stc_h.upp
Xshare/ghostscript/6.01vflib/lib/stc_l.upp
Xshare/ghostscript/6.01vflib/lib/stcany.upp
Xshare/ghostscript/6.01vflib/lib/stcany_h.upp
Xshare/ghostscript/6.01vflib/lib/stcinfo.ps
Xshare/ghostscript/6.01vflib/lib/stcolor.ps
Xshare/ghostscript/6.01vflib/lib/stocht.ps
Xshare/ghostscript/6.01vflib/lib/testpage.ps
Xshare/ghostscript/6.01vflib/lib/traceimg.ps
Xshare/ghostscript/6.01vflib/lib/traceop.ps
Xshare/ghostscript/6.01vflib/lib/type1enc.ps
Xshare/ghostscript/6.01vflib/lib/type1ops.ps
Xshare/ghostscript/6.01vflib/lib/uninfo.ps
Xshare/ghostscript/6.01vflib/lib/unprot.ps
Xshare/ghostscript/6.01vflib/lib/viewcmyk.ps
Xshare/ghostscript/6.01vflib/lib/viewgif.ps
Xshare/ghostscript/6.01vflib/lib/viewjpeg.ps
Xshare/ghostscript/6.01vflib/lib/viewmiff.ps
Xshare/ghostscript/6.01vflib/lib/viewpbm.ps
Xshare/ghostscript/6.01vflib/lib/viewpcx.ps
Xshare/ghostscript/6.01vflib/lib/viewps2a.ps
Xshare/ghostscript/6.01vflib/lib/wftopfa.ps
Xshare/ghostscript/6.01vflib/lib/winmaps.ps
Xshare/ghostscript/6.01vflib/lib/wrfont.ps
Xshare/ghostscript/6.01vflib/lib/zeroline.ps
X@dirrm share/ghostscript/6.01vflib/lib
Xshare/ghostscript/6.01vflib/vflib/allkanji.ps
Xshare/ghostscript/6.01vflib/vflib/article9.ps
Xshare/ghostscript/6.01vflib/vflib/fmaptype.ps
Xshare/ghostscript/6.01vflib/vflib/hankaku.ps
Xshare/ghostscript/6.01vflib/vflib/jcidcmap.ps
Xshare/ghostscript/6.01vflib/vflib/jcidemu.ps
Xshare/ghostscript/6.01vflib/vflib/jcidinit.ps
Xshare/ghostscript/6.01vflib/vflib/jcidjp1.ps
Xshare/ghostscript/6.01vflib/vflib/kbase.ps
Xshare/ghostscript/6.01vflib/vflib/kcomp.ps
Xshare/ghostscript/6.01vflib/vflib/kconfig.ps
Xshare/ghostscript/6.01vflib/vflib/kfcid.ps
Xshare/ghostscript/6.01vflib/vflib/kfvflib.ps
Xshare/ghostscript/6.01vflib/vflib/kinit.ps
Xshare/ghostscript/6.01vflib/vflib/kmapping.ps
Xshare/ghostscript/6.01vflib/vflib/koutline.ps
Xshare/ghostscript/6.01vflib/vflib/metrics2.ps
Xshare/ghostscript/6.01vflib/vflib/vchars.ps
X@dirrm share/ghostscript/6.01vflib/vflib
X@dirrm share/ghostscript/6.01vflib
END-of-japanese/vfghostscript6/pkg/PLIST
echo x - japanese/vfghostscript6/pkg/DESCR
sed 's/^X//' >japanese/vfghostscript6/pkg/DESCR << 'END-of-japanese/vfghostscript6/pkg/DESCR'
XThis is Aladdin Ghostscript 6.01 with vector font library,
Xnon-GPL version that comes with a licence different from the GPL. 
XRead the file PUBLIC in the work/gs6.01 directory or 
Xin /usr/pkg/share/ghostscript/6.01vflib/doc/PUBLIC 
Xafter installation for details.
X
XJust about every device ghostscript supports is compiled in, including
Xan additional driver for HP 850/650 series.
X
XSeveral japanese printer drivers are also supported.
X
XGhostscript is the well-known PostScript interpreter which is
Xavailable for all common and most esoteric platforms and supports
Xmany different printers and some displays.
X
XThomas Merz has written a Ghostscript manual which is available in
XPDF from this site (456k) and also from Thomas Merz's site in Germany.
X
X	http://www.cs.wisc.edu/~ghost/merz.html
X
XOn the german site the manual is also available in German language.
X
X	http://www.muc.de/~tm/free/free.html
END-of-japanese/vfghostscript6/pkg/DESCR
echo x - japanese/vfghostscript6/pkg/COMMENT
sed 's/^X//' >japanese/vfghostscript6/pkg/COMMENT << 'END-of-japanese/vfghostscript6/pkg/COMMENT'
XAladdin Postscript interpreter with Japanese vector font library
END-of-japanese/vfghostscript6/pkg/COMMENT
echo c - print/ghostscript-fonts6
mkdir -p print/ghostscript-fonts6 > /dev/null 2>&1
echo x - print/ghostscript-fonts6/Makefile
sed 's/^X//' >print/ghostscript-fonts6/Makefile << 'END-of-print/ghostscript-fonts6/Makefile'
X# $NetBSD$
X
XDISTNAME=	ghostscript-fonts-6.0
XCATEGORIES=	print
XMASTER_SITES=	ftp://ftp.cs.wisc.edu/ghost/aladdin/fonts/ \
X		http://download.sourceforge.net/gs-fonts/
XDISTFILES=	ghostscript-fonts-std-6.0.tar.gz \
X		ghostscript-fonts-other-6.0.tar.gz
X
XMAINTAINER=	packages@netbsd.org
XHOMEPAGE=	http://www.cs.wisc.edu/~ghost/
X
X# ghostscript-5* pkg have fonts
XCONFLICTS+=	ghostscript-5* ghostscript-x11-5*
X
XDIST_SUBDIR=	${DISTNAME:C/-.*$//}
XEXTRACT_ONLY=	# empty
XNO_PATCH=	yes
XNO_CONFIGURE=	yes
XNO_BUILD=	yes
X
Xdo-install:
X	${INSTALL_DATA_DIR} ${PREFIX}/share/ghostscript
X.for archive in ${DISTFILES}
X	cd ${PREFIX}/share/ghostscript && \
X		${GTAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${archive}
X.endfor
X	cd ${PREFIX}/share/ghostscript && \
X		${CHOWN} -R ${BINOWN}:${BINGRP} fonts
X
X.include "../../mk/bsd.pkg.mk"
END-of-print/ghostscript-fonts6/Makefile
echo c - print/ghostscript-fonts6/pkg
mkdir -p print/ghostscript-fonts6/pkg > /dev/null 2>&1
echo x - print/ghostscript-fonts6/pkg/COMMENT
sed 's/^X//' >print/ghostscript-fonts6/pkg/COMMENT << 'END-of-print/ghostscript-fonts6/pkg/COMMENT'
XGhostscript's free fonts
END-of-print/ghostscript-fonts6/pkg/COMMENT
echo x - print/ghostscript-fonts6/pkg/DESCR
sed 's/^X//' >print/ghostscript-fonts6/pkg/DESCR << 'END-of-print/ghostscript-fonts6/pkg/DESCR'
XGhostscript's free fonts.
X
X 1. Commercial-quality Type 1 basic PostScript fonts -- Times,
X    Helvetica, Courier, Symbol, etc. -- contributed by
X    URW++ Design and Development Incorporated, of Hamburg, Germany
X    (http://www.urwpp.de/).
X
X 2. A miscellaneous set fonts derived from the free Hershey
X    fonts, with improvements (such as adding accented characters)
X    by Thomas Wolff.
END-of-print/ghostscript-fonts6/pkg/DESCR
echo x - print/ghostscript-fonts6/pkg/PLIST
sed 's/^X//' >print/ghostscript-fonts6/pkg/PLIST << 'END-of-print/ghostscript-fonts6/pkg/PLIST'
X@comment $NetBSD$
Xshare/ghostscript/fonts/a010013l.afm
Xshare/ghostscript/fonts/a010013l.pfb
Xshare/ghostscript/fonts/a010013l.pfm
Xshare/ghostscript/fonts/a010015l.afm
Xshare/ghostscript/fonts/a010015l.pfb
Xshare/ghostscript/fonts/a010015l.pfm
Xshare/ghostscript/fonts/a010033l.afm
Xshare/ghostscript/fonts/a010033l.pfb
Xshare/ghostscript/fonts/a010033l.pfm
Xshare/ghostscript/fonts/a010035l.afm
Xshare/ghostscript/fonts/a010035l.pfb
Xshare/ghostscript/fonts/a010035l.pfm
Xshare/ghostscript/fonts/b018012l.afm
Xshare/ghostscript/fonts/b018012l.pfb
Xshare/ghostscript/fonts/b018012l.pfm
Xshare/ghostscript/fonts/b018015l.afm
Xshare/ghostscript/fonts/b018015l.pfb
Xshare/ghostscript/fonts/b018015l.pfm
Xshare/ghostscript/fonts/b018032l.afm
Xshare/ghostscript/fonts/b018032l.pfb
Xshare/ghostscript/fonts/b018032l.pfm
Xshare/ghostscript/fonts/b018035l.afm
Xshare/ghostscript/fonts/b018035l.pfb
Xshare/ghostscript/fonts/b018035l.pfm
Xshare/ghostscript/fonts/bchb.afm
Xshare/ghostscript/fonts/bchb.pfa
Xshare/ghostscript/fonts/bchbi.afm
Xshare/ghostscript/fonts/bchbi.pfa
Xshare/ghostscript/fonts/bchr.afm
Xshare/ghostscript/fonts/bchr.pfa
Xshare/ghostscript/fonts/bchri.afm
Xshare/ghostscript/fonts/bchri.pfa
Xshare/ghostscript/fonts/c059013l.afm
Xshare/ghostscript/fonts/c059013l.pfb
Xshare/ghostscript/fonts/c059013l.pfm
Xshare/ghostscript/fonts/c059016l.afm
Xshare/ghostscript/fonts/c059016l.pfb
Xshare/ghostscript/fonts/c059016l.pfm
Xshare/ghostscript/fonts/c059033l.afm
Xshare/ghostscript/fonts/c059033l.pfb
Xshare/ghostscript/fonts/c059033l.pfm
Xshare/ghostscript/fonts/c059036l.afm
Xshare/ghostscript/fonts/c059036l.pfb
Xshare/ghostscript/fonts/c059036l.pfm
Xshare/ghostscript/fonts/d050000l.afm
Xshare/ghostscript/fonts/d050000l.pfb
Xshare/ghostscript/fonts/d050000l.pfm
Xshare/ghostscript/fonts/fcyr.afm
Xshare/ghostscript/fonts/fcyr.gsf
Xshare/ghostscript/fonts/fcyri.afm
Xshare/ghostscript/fonts/fcyri.gsf
Xshare/ghostscript/fonts/fhirw.gsf
Xshare/ghostscript/fonts/fhirw.pfm
Xshare/ghostscript/fonts/fkarw.gsf
Xshare/ghostscript/fonts/fkarw.pfm
Xshare/ghostscript/fonts/fonts.dir
Xshare/ghostscript/fonts/fonts.scale
Xshare/ghostscript/fonts/hrger.pfa
Xshare/ghostscript/fonts/hrgerb.gsf
Xshare/ghostscript/fonts/hrgerd.gsf
Xshare/ghostscript/fonts/hrgero.gsf
Xshare/ghostscript/fonts/hrgkc.gsf
Xshare/ghostscript/fonts/hrgks.gsf
Xshare/ghostscript/fonts/hrgrr.pfa
Xshare/ghostscript/fonts/hrgrrb.gsf
Xshare/ghostscript/fonts/hrgrro.gsf
Xshare/ghostscript/fonts/hritr.pfa
Xshare/ghostscript/fonts/hritrb.gsf
Xshare/ghostscript/fonts/hritro.gsf
Xshare/ghostscript/fonts/hrpld.pfa
Xshare/ghostscript/fonts/hrpldb.gsf
Xshare/ghostscript/fonts/hrpldbi.gsf
Xshare/ghostscript/fonts/hrpldi.pfa
Xshare/ghostscript/fonts/hrplr.gsf
Xshare/ghostscript/fonts/hrplrb.gsf
Xshare/ghostscript/fonts/hrplrbo.gsf
Xshare/ghostscript/fonts/hrplro.gsf
Xshare/ghostscript/fonts/hrpls.gsf
Xshare/ghostscript/fonts/hrplsb.gsf
Xshare/ghostscript/fonts/hrplsbo.gsf
Xshare/ghostscript/fonts/hrplso.gsf
Xshare/ghostscript/fonts/hrplt.pfa
Xshare/ghostscript/fonts/hrpltb.gsf
Xshare/ghostscript/fonts/hrpltbi.gsf
Xshare/ghostscript/fonts/hrplti.pfa
Xshare/ghostscript/fonts/hrscc.pfa
Xshare/ghostscript/fonts/hrsccb.gsf
Xshare/ghostscript/fonts/hrscco.gsf
Xshare/ghostscript/fonts/hrscs.pfa
Xshare/ghostscript/fonts/hrscsb.gsf
Xshare/ghostscript/fonts/hrscso.gsf
Xshare/ghostscript/fonts/hrsyr.gsf
Xshare/ghostscript/fonts/n019003l.afm
Xshare/ghostscript/fonts/n019003l.pfb
Xshare/ghostscript/fonts/n019003l.pfm
Xshare/ghostscript/fonts/n019004l.afm
Xshare/ghostscript/fonts/n019004l.pfb
Xshare/ghostscript/fonts/n019004l.pfm
Xshare/ghostscript/fonts/n019023l.afm
Xshare/ghostscript/fonts/n019023l.pfb
Xshare/ghostscript/fonts/n019023l.pfm
Xshare/ghostscript/fonts/n019024l.afm
Xshare/ghostscript/fonts/n019024l.pfb
Xshare/ghostscript/fonts/n019024l.pfm
Xshare/ghostscript/fonts/n019043l.afm
Xshare/ghostscript/fonts/n019043l.pfb
Xshare/ghostscript/fonts/n019043l.pfm
Xshare/ghostscript/fonts/n019044l.afm
Xshare/ghostscript/fonts/n019044l.pfb
Xshare/ghostscript/fonts/n019044l.pfm
Xshare/ghostscript/fonts/n019063l.afm
Xshare/ghostscript/fonts/n019063l.pfb
Xshare/ghostscript/fonts/n019063l.pfm
Xshare/ghostscript/fonts/n019064l.afm
Xshare/ghostscript/fonts/n019064l.pfb
Xshare/ghostscript/fonts/n019064l.pfm
Xshare/ghostscript/fonts/n021003l.afm
Xshare/ghostscript/fonts/n021003l.pfb
Xshare/ghostscript/fonts/n021003l.pfm
Xshare/ghostscript/fonts/n021004l.afm
Xshare/ghostscript/fonts/n021004l.pfb
Xshare/ghostscript/fonts/n021004l.pfm
Xshare/ghostscript/fonts/n021023l.afm
Xshare/ghostscript/fonts/n021023l.pfb
Xshare/ghostscript/fonts/n021023l.pfm
Xshare/ghostscript/fonts/n021024l.afm
Xshare/ghostscript/fonts/n021024l.pfb
Xshare/ghostscript/fonts/n021024l.pfm
Xshare/ghostscript/fonts/n022003l.afm
Xshare/ghostscript/fonts/n022003l.pfb
Xshare/ghostscript/fonts/n022003l.pfm
Xshare/ghostscript/fonts/n022004l.afm
Xshare/ghostscript/fonts/n022004l.pfb
Xshare/ghostscript/fonts/n022004l.pfm
Xshare/ghostscript/fonts/n022023l.afm
Xshare/ghostscript/fonts/n022023l.pfb
Xshare/ghostscript/fonts/n022023l.pfm
Xshare/ghostscript/fonts/n022024l.afm
Xshare/ghostscript/fonts/n022024l.pfb
Xshare/ghostscript/fonts/n022024l.pfm
Xshare/ghostscript/fonts/p052003l.afm
Xshare/ghostscript/fonts/p052003l.pfb
Xshare/ghostscript/fonts/p052003l.pfm
Xshare/ghostscript/fonts/p052004l.afm
Xshare/ghostscript/fonts/p052004l.pfb
Xshare/ghostscript/fonts/p052004l.pfm
Xshare/ghostscript/fonts/p052023l.afm
Xshare/ghostscript/fonts/p052023l.pfb
Xshare/ghostscript/fonts/p052023l.pfm
Xshare/ghostscript/fonts/p052024l.afm
Xshare/ghostscript/fonts/p052024l.pfb
Xshare/ghostscript/fonts/p052024l.pfm
Xshare/ghostscript/fonts/putb.pfa
Xshare/ghostscript/fonts/putbi.pfa
Xshare/ghostscript/fonts/putr.pfa
Xshare/ghostscript/fonts/putri.pfa
Xshare/ghostscript/fonts/s050000l.afm
Xshare/ghostscript/fonts/s050000l.pfb
Xshare/ghostscript/fonts/s050000l.pfm
Xshare/ghostscript/fonts/u003043t.afm
Xshare/ghostscript/fonts/u003043t.gsf
Xshare/ghostscript/fonts/u003043t.pfm
Xshare/ghostscript/fonts/u004006t.afm
Xshare/ghostscript/fonts/u004006t.gsf
Xshare/ghostscript/fonts/u004006t.pfm
Xshare/ghostscript/fonts/z003034l.afm
Xshare/ghostscript/fonts/z003034l.pfb
Xshare/ghostscript/fonts/z003034l.pfm
X@dirrm share/ghostscript/fonts
X@dirrm share/ghostscript
END-of-print/ghostscript-fonts6/pkg/PLIST
echo c - print/ghostscript-fonts6/files
mkdir -p print/ghostscript-fonts6/files > /dev/null 2>&1
echo x - print/ghostscript-fonts6/files/md5
sed 's/^X//' >print/ghostscript-fonts6/files/md5 << 'END-of-print/ghostscript-fonts6/files/md5'
X$NetBSD$
X
XMD5 (ghostscript/ghostscript-fonts-std-6.0.tar.gz) = 8250132d6fcc6eb1419f505f06c7690b
XMD5 (ghostscript/ghostscript-fonts-other-6.0.tar.gz) = 1a643ae62ef166562e4d422b1a601272
END-of-print/ghostscript-fonts6/files/md5
exit

>Release-Note:
>Audit-Trail:
>Unformatted: