1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
PR:		ports/13493
Submitted by:	CHOI Junho <cjh@kr.FreeBSD.org>
This commit is contained in:
SADA Kenji 1999-09-03 17:52:40 +00:00
parent ccf1743f2e
commit a6c7eb2f44
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21221
15 changed files with 563 additions and 994 deletions

View File

@ -1,112 +1,75 @@
# New ports collection makefile for: freetype-ghostscript
# Version required: 5.10ft
# Date created: Fri Mar 27 10:32:46 KST 1998
# Date created: 27 Mar 1998
# Whom: CHOI Junho <cjh@kr.freebsd.org>
#
# $FreeBSD$
#
# based on print/ghostscript5 and japanese/vfghostscript5
# use Adobe's CID-keyed font sameple(korean) because there are no
# default korean font
# Based on print/ghostscript5 and japanese/vfghostscript5
# use Adobe's CID-keyed Korean font because there are no wide accepted
# default korean font yet
#
DISTNAME= ko-ftghostscript-5.10
DISTNAME= ko-ghostscript-ft-5.10
CATEGORIES= korean print
MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/gs510/ \
ftp://bonk.ethz.ch/gs-driver-distrib/ \
http://www.ozemail.com.au/~geoffk/pdfencrypt/ \
http://freefall.freebsd.org/~andreas/download/ \
MASTER_SITES= ftp://ftp.pdb.sni.de/pub/utilities/misc/ \
http://www.ozemail.com.au/~geoffk/pdfencrypt/ \
ftp://ftp.cs.wisc.edu/ghost/gnu/gs510/ \
$(MASTER_SITE_GNU) \
http://www.ldl.jaist.ac.jp/~akr/nonresearch/free-software/ghostscript/ \
http://itohws03.ee.noda.sut.ac.jp/~matsuda/VFlib-FT/ \
ftp://jazz.snu.ac.kr/pub/unix/gs-ko/ \
ftp://ftp.ora.com/pub/examples/nutshell/ujip/adobe/samples/ \
ftp://ftp.ora.com/pub/examples/nutshell/ujip/adobe/
DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
${HP850_DRV} ${DECRYPT_PDF} ${VFLIB_GS} ${KFFTYPE} \
${KFFTYPE_PATCH} ${HFFTYPE} ${GS_CID_PATCH} \
${CID_FONTS_KO} ${CID_CMAP_KO}
ftp://ftp.kr.freebsd.org/pub/users/cjh/gs-ko/ \
ftp://ftp.kr.freebsd.org/pub/users/cjh/gs-ko/misc/
MASTER_SITE_SUBDIR= ghostscript
DISTFILES= ${PCL3_DRV} ${DECRYPT_PDF} ${GS_SOURCES} \
${VFLIB_GS} ${KFFTYPE} ${KFFTYPE_PATCH} \
${HFFTYPE} ${GS_CID_PATCH}
MAINTAINER= cjh@kr.freebsd.org
BROKEN= fetch
MAINTAINER= cjh@kr.FreeBSD.org
RUN_DEPENDS= $(LOCALBASE)/share/ghostscript/fonts/CMap:${PORTSDIR}/korean/munhwafonts-cid \
$(LOCALBASE)/share/ghostscript/fonts:${PORTSDIR}/print/gsfonts
BUILD_DEPENDS= /nonexistent:${PORTSDIR}/graphics/jpeg:extract \
/nonexistent:${PORTSDIR}/graphics/png:extract \
unzip:${PORTSDIR}/archivers/unzip
LIB_DEPENDS= ttf.3:${PORTSDIR}/print/freetype
/nonexistent:${PORTSDIR}/graphics/png:extract
LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png \
ttf.3:${PORTSDIR}/print/freetype
MAKE_ENV= PORTSDIR=${PORTSDIR}
EXTRACT_ONLY= ${GS_SOURCES}
USE_XLIB= yes
EXTRACT_ONLY= ${GS_SOURCES} ${PCL3_DRV}
WRKSRC= ${WRKDIR}/gs5.10
MAKEFILE= unix-gcc.mak
MAKE_FLAGS= prefix=${PREFIX} zlibc_=-lz CFLAGS="${CFLAGS} -I${PREFIX}/include" -f
MAN1= gs.1 pdf2dsc.1 pdf2ps.1 ps2ascii.1 ps2epsi.1 ps2pdf.1
#MAKE_FLAGS= prefix=${PREFIX} CFLAGS="${CFLAGS}" -f
MAKE_FLAGS= prefix=${PREFIX} -f
MAN1= gs.1 pdf2dsc.1 pdf2ps.1 ps2ascii.1 ps2epsi.1 ps2pdf.1 gs-hpdj.1
GS_SOURCES= ghostscript-5.10.tar.gz
GS_SOURCES+= ghostscript-5.10gnu.tar.gz
# Note: the following two are real files that have symlinks with
# later version numbers pointing to them. To avoid unnecessarily
# downloading distfiles, do not change these when upgrading the port
# unless the files really change.
GS_FONTS_STD= ghostscript-fonts-std-5.50.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-5.10.tar.gz
# Additional driver HP 850, see http://bonk.ethz.ch/hp850/hp850.html
HP850_DRV= hp8xxs13.zip
# Additional driver for HP PCL3 Printers
PCL3_DRV= hpdj-2.5.tar.gz
# replacement for pdf_sec.ps, that allows you to read encrypted PDF files
DECRYPT_PDF= pdf_sec.ps
# Korean patch files
# vflib patch
VFLIB_GS= gs5.10-vflib-1.1.tar.gz
VFLIB_GS= gs5.10-vflib-1.1.tar.gz
# kfftype
KFFTYPE= gs5-kfftype.tar.gz
KFFTYPE= gs5-kfftype.tar.gz
# kfftype patches
KFFTYPE_PATCH= gs5-kfftype-patch1.diff gs5-kfftype-patch2.diff
KFFTYPE_PATCH= gs5-kfftype-patch1.diff gs5-kfftype-patch2.diff
# hfftype patch
HFFTYPE= gs5-hfftype-0.2.tar.gz
HFFTYPE= gs5-hfftype-0.2.tar.gz
# cid-keyed font bug patch for 5.10
GS_CID_PATCH= gs5.10-cid-bugfix.diff
# sample fonts(cid, free Korean fonts is just only one.. :< )
CID_FONTS_KO= Munhwa-Regular MunhwaGothic-Regular
# CID CMAP
CID_CMAP_KO= ak11.tar.Z
# in Korea, A4 paper is default
.if defined(NOA4)
CFLAGS+=
.else
CFLAGS+= -DA4
.endif
pre-fetch:
.if !defined(NOA4)
@${ECHO_MSG} "Type \"make NOA4=yes\" if you don't want -DA4 for compilation."
.else
@${ECHO_MSG} "Using -DA4 for compilation."
.endif
.if !defined(PDFENCRYPT)
@${ECHO_MSG} "NOTE: You can have encrypted PDF support by adding "
@${ECHO_MSG} "\"PDFENCRYPT=yes\" to argument of make."
.endif
GS_CID_PATCH= gs5.10-cid-bugfix.diff
post-extract:
${TOUCH} ${WRKSRC}/adler32.c
${TOUCH} ${WRKSRC}/deflate.c
${TOUCH} ${WRKSRC}/trees.c
${TOUCH} ${WRKSRC}/adler32.o
${TOUCH} ${WRKSRC}/deflate.o
${TOUCH} ${WRKSRC}/trees.o
${LN} -s ${WRKDIRPREFIX}${PORTSDIR}/graphics/jpeg/work/jpeg-6* ${WRKSRC}/jpeg-6b
${LN} -s ${WRKDIRPREFIX}${PORTSDIR}/graphics/png/work/libpng-1.* ${WRKSRC}/libpng
cd ${WRKSRC} && unzip -Loa ${DISTDIR}/${HP850_DRV}
cd ${WRKSRC} && tar -xzf ${DISTDIR}/${CID_CMAP_KO}
${LN} -s ${WRKDIRPREFIX}${.CURDIR}/../../graphics/jpeg/work/jpeg-6b ${WRKSRC}/jpeg
${LN} -s ${WRKDIRPREFIX}${.CURDIR}/../../graphics/png/work/libpng-1.0.3 ${WRKSRC}/libpng
# additional PCL3 driver
$(TAR) -xvf ${WRKDIR}/hpdj-2.5/hpdj.tar -C $(WRKSRC)
${PATCH} --directory=${WRKSRC} <${WRKSRC}/devs.mak-5.10.diff
${PATCH} --directory=${WRKSRC} <${WRKSRC}/zmedia2.c-5.10.diff
pre-patch:
cd ${WRKSRC} && tar -xzf ${DISTDIR}/${VFLIB_GS} && \
@ -118,55 +81,27 @@ pre-patch:
done && \
${CP} -r ${WRKSRC}/kfftype/* ${WRKSRC}/
cd ${WRKSRC} && tar -xzf ${DISTDIR}/${HFFTYPE} && \
${CP} -r ${WRKSRC}/gs5-hfftype-0.2/* ${WRKSRC}/
${CP} -r ${WRKSRC}/gs5-hfftype-0.2/* ${WRKSRC}/
cd ${WRKSRC} && ${PATCH} -s -p1 < \
${WRKSRC}/gs5-hfftype-0.2/gs5.10-hfftype.diff
${WRKSRC}/gs5-hfftype-0.2/gs5.10-hfftype.diff
cd ${WRKSRC} && ${PATCH} ${PATCH_DIST_ARGS} < \
${DISTDIR}/${GS_CID_PATCH}
${DISTDIR}/${GS_CID_PATCH}
do-configure:
.if defined(BATCH)
@${SETENV} PORTSDIR=${PORTSDIR} WRKSRC=${WRKSRC} \
${SH} ${SCRIPTDIR}/configure.batch
.else
@${SETENV} PORTSDIR=${PORTSDIR} WRKSRC=${WRKSRC} \
${SH} ${SCRIPTDIR}/configure
.endif
@(cd ${WRKSRC}; ${SH} tar_cat )
pre-install:
@${MKDIR} ${PREFIX}/share/ghostscript ${PREFIX}/bin ${PREFIX}/man/man1
(cd ${PREFIX}/share/ghostscript ; \
tar -xzf ${DISTDIR}/${GS_FONTS_STD})
(cd ${PREFIX}/share/ghostscript/fonts ; \
tar -xzf ${DISTDIR}/${GS_FONTS_OTHER})
${CAT} ${FILESDIR}/Fontmap.addition >> ${WRKSRC}/Fontmap
${INSTALL_DATA} ${FILESDIR}/Munhwa-Regular-KSC-EUC-H.gsf \
${FILESDIR}/MunhwaGothic-Regular-KSC-EUC-H.gsf \
${PREFIX}/share/ghostscript/fonts
for file in ${CID_FONTS_KO}; do \
${INSTALL_DATA} ${DISTDIR}/$$file \
${PREFIX}/share/ghostscript/fonts; \
done
${MKDIR} ${PREFIX}/share/ghostscript/fonts/CMap; &&\
${INSTALL_DATA} ${WRKSRC}/ak11/CMap/* \
${PREFIX}/share/ghostscript/fonts/CMap
post-install:
strip ${PREFIX}/bin/gs
${INSTALL_DATA} ${DISTDIR}/${DECRYPT_PDF} \
${PREFIX}/share/ghostscript/5.10ft
$(MKDIR) ${PREFIX}/libexec/lpr
${INSTALL_SCRIPT} $(WRKSRC)/pj-gs.sh ${PREFIX}/libexec/lpr
${INSTALL_SCRIPT} $(WRKSRC)/sysvlp.sh ${PREFIX}/libexec/lpr
${INSTALL_SCRIPT} $(WRKSRC)/if-hpdj ${PREFIX}/libexec/lpr
${INSTALL_DATA} ${WRKSRC}/gs5-hfftype-0.2/README \
${PREFIX}/share/ghostscript/5.10ft/doc/README.ko
.if defined(PDFENCRYPT)
${CP} -f ${DISTDIR}/pdf_sec.ps ${PREFIX}/share/ghostscript/5.10ft
.endif
# encrypted PDF support. can't be packaged due to export control issues.
# if you are outside in US, you can use this.
.if defined(PDFENCRYPT)
MASTER_SITES+= http://www.ozemail.com.au/~geoffk/pdfencrypt/
DISTFILES+= pdf_sec.ps
RESTRICTED= "Crypto; export controlled, RC4 in PostScript code included"
.endif
.include <bsd.port.mk>

View File

@ -1,15 +1,9 @@
MD5 (ghostscript-5.10.tar.gz) = 47fbc4f6402c98374c61bf3e64e59e9a
MD5 (ghostscript-5.10gnu.tar.gz) = 6706117129a5f63dff3a5a2bf4258630
MD5 (ghostscript-fonts-std-5.50.tar.gz) = 8462a429e2672d332a510da076dca6d2
MD5 (ghostscript-fonts-other-5.10.tar.gz) = fcf3abf81a1b46da9a92942d288020f9
MD5 (hp8xxs13.zip) = e46bcac0aed0c511c8cc88a1093cc586
MD5 (hpdj-2.5.tar.gz) = cbe6b6c6cd00af9177a025870fc1a90a
MD5 (pdf_sec.ps) = 92cd6af5b4d7219e91e61b8351f0f7c4
MD5 (ghostscript-5.10.tar.gz) = b8dbc2595c06305f452a9c38bd0effef
MD5 (gs5.10-vflib-1.1.tar.gz) = 856599571b5c9845595d830ad2b31b5f
MD5 (gs5-kfftype.tar.gz) = 960047c6530e3678ee340d62adfbc3a8
MD5 (gs5-kfftype-patch1.diff) = 1fd23208c9355a2df242ecaa1b8ea8f7
MD5 (gs5-kfftype-patch2.diff) = 0babbfde38132acc9e5128672660a6c4
MD5 (gs5-hfftype-0.2.tar.gz) = c78230aa7f2488ecc1a298f3da908275
MD5 (gs5.10-cid-bugfix.diff) = 9675c4e4eeb795eee45956ddd6ed67c4
MD5 (Munhwa-Regular) = 9a7f9b215ba94af908f48ac22f850e9a
MD5 (MunhwaGothic-Regular) = b1726ccbfc6037408c9dc0b141caa53b
MD5 (ak11.tar.Z) = a021ff4e7972537b65ce75f963734c93

View File

@ -1,174 +1,172 @@
--- unix-gcc.mak.orig Sun Oct 11 23:43:16 1998
+++ unix-gcc.mak Sun Oct 11 23:46:51 1998
@@ -135,7 +135,7 @@
# You may need to change this if the IJG library version changes.
# See jpeg.mak for more information.
-JSRCDIR=jpeg-6a
+JSRCDIR=jpeg-6b
JVERSION=6
# Define the directory where the PNG library sources are stored,
@@ -156,7 +156,7 @@
# Define the directory where the zlib sources are stored.
# See zlib.mak for more information.
-ZSRCDIR=zlib
+ZSRCDIR=.
# Choose whether to use a shared version of the zlib library, and if so,
# what its name is (usually libz, but sometimes libgz).
@@ -181,7 +181,7 @@
# Define the name of the C compiler.
-CC=gcc
+CC=cc
# Define the name of the linker for the final link step.
# Normally this is the same as the C compiler.
@@ -206,14 +206,14 @@
# We don't include -ansi, because this gets in the way of the platform-
# specific stuff that <math.h> typically needs; nevertheless, we expect
# gcc to accept ANSI-style function prototypes and function definitions.
-XCFLAGS=
+XCFLAGS= -I$(prefix)/include
CFLAGS=-O $(GCFLAGS) $(XCFLAGS)
# Define platform flags for ld.
# SunOS 4.n may need -Bstatic.
# XLDFLAGS can be set from the command line.
-XLDFLAGS=
+XLDFLAGS= -L$(prefix)/lib
LDFLAGS=$(XLDFLAGS)
@@ -223,7 +223,7 @@
# SVR4 may need -lnsl.
# (Libraries required by individual drivers are handled automatically.)
-EXTRALIBS=
+EXTRALIBS=-lz
# Define the include switch(es) for the X11 header files.
# This can be null if handled in some other way (e.g., the files are
@@ -233,7 +233,7 @@
# Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
# not in $(XINCLUDE).
-XINCLUDE=-I/usr/local/X/include
+XINCLUDE=-I/usr/X11R6/include
# Define the directory/ies and library names for the X11 library files.
# XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
@@ -248,8 +248,8 @@
#XLIBS=Xt SM ICE Xext X11
#XLIBDIRS=-L/usr/local/X/lib
-XLIBDIRS=-L/usr/X11/lib
-XLIBDIR=
+XLIBDIRS=-L/usr/X11R6/lib
+XLIBDIR=/usr/X11R6/lib
XLIBS=Xt Xext X11
# Define whether this platform has floating point hardware:
@@ -292,22 +292,22 @@
# Choose the device(s) to include. See devs.mak for details.
-DEVICE_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11gray2.dev x11mono.dev
-DEVICE_DEVS1=
-DEVICE_DEVS2=
-DEVICE_DEVS3=deskjet.dev djet500.dev laserjet.dev ljetplus.dev ljet2p.dev ljet3.dev ljet4.dev
-DEVICE_DEVS4=cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev pjxl.dev pjxl300.dev
-DEVICE_DEVS5=uniprint.dev
-DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev
-DEVICE_DEVS7=faxg3.dev faxg32d.dev faxg4.dev
-DEVICE_DEVS8=pcxmono.dev pcxgray.dev pcx16.dev pcx256.dev pcx24b.dev pcxcmyk.dev
-DEVICE_DEVS9=pbm.dev pbmraw.dev pgm.dev pgmraw.dev pgnm.dev pgnmraw.dev pnm.dev pnmraw.dev ppm.dev ppmraw.dev
-DEVICE_DEVS10=tiffcrle.dev tiffg3.dev tiffg32d.dev tiffg4.dev tifflzw.dev tiffpack.dev
-DEVICE_DEVS11=tiff12nc.dev tiff24nc.dev
-DEVICE_DEVS12=psmono.dev psgray.dev bit.dev bitrgb.dev bitcmyk.dev
-DEVICE_DEVS13=pngmono.dev pnggray.dev png16.dev png256.dev png16m.dev
-DEVICE_DEVS14=jpeg.dev jpeggray.dev
-DEVICE_DEVS15=pdfwrite.dev pswrite.dev epswrite.dev pxlmono.dev pxlcolor.dev
+#DEVICE_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11gray2.dev x11mono.dev
+#DEVICE_DEVS1=
+#DEVICE_DEVS2=
+#DEVICE_DEVS3=deskjet.dev djet500.dev laserjet.dev ljetplus.dev ljet2p.dev ljet3.dev ljet4.dev
+#DEVICE_DEVS4=cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev pjxl.dev pjxl300.dev
+#DEVICE_DEVS5=uniprint.dev
+#DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev
+#DEVICE_DEVS7=faxg3.dev faxg32d.dev faxg4.dev
+#DEVICE_DEVS8=pcxmono.dev pcxgray.dev pcx16.dev pcx256.dev pcx24b.dev pcxcmyk.dev
+#DEVICE_DEVS9=pbm.dev pbmraw.dev pgm.dev pgmraw.dev pgnm.dev pgnmraw.dev pnm.dev pnmraw.dev ppm.dev ppmraw.dev
+#DEVICE_DEVS10=tiffcrle.dev tiffg3.dev tiffg32d.dev tiffg4.dev tifflzw.dev tiffpack.dev
+#DEVICE_DEVS11=tiff12nc.dev tiff24nc.dev
+#DEVICE_DEVS12=psmono.dev psgray.dev bit.dev bitrgb.dev bitcmyk.dev
+#DEVICE_DEVS13=pngmono.dev pnggray.dev png16.dev png256.dev png16m.dev
+#DEVICE_DEVS14=jpeg.dev jpeggray.dev
+#DEVICE_DEVS15=pdfwrite.dev pswrite.dev epswrite.dev pxlmono.dev pxlcolor.dev
# ---------------------------- End of options --------------------------- #
@@ -3681,8 +3681,8 @@
libpng95.dev: $(LIBPNG_MAK) $(ECHOGS_XE) pngwio.$(OBJ) crc32.dev
$(SETMOD) libpng95 pngwio.$(OBJ) -include crc32
-libpng96.dev: $(LIBPNG_MAK) $(ECHOGS_XE) pngwio.$(OBJ) crc32.dev
- $(SETMOD) libpng96 pngwio.$(OBJ) -include crc32
+libpng96.dev: $(LIBPNG_MAK) $(ECHOGS_XE) pngwio.$(OBJ)
+ $(SETMOD) libpng96 pngwio.$(OBJ)
# Copyright (C) 1995, 1996, 1997 Aladdin Enterprises. All rights reserved.
#
# This file is part of Aladdin Ghostscript.
@@ -3763,7 +3763,7 @@
zlibe_1.dev: $(MAKEFILE) $(ZLIB_MAK) $(ECHOGS_XE)
$(SETMOD) zlibe_1 -lib $(ZLIB_NAME)
-zlibe_=adler32.$(OBJ) deflate.$(OBJ) trees.$(OBJ)
+zlibe_=
zlibe_0.dev: $(ZLIB_MAK) $(ECHOGS_XE) zlibc.dev $(zlibe_)
$(SETMOD) zlibe_0 $(zlibe_)
$(ADDMOD) zlibe_0 -include zlibc
@@ -3810,11 +3810,11 @@
zlibd1_=infblock.$(OBJ) infcodes.$(OBJ) inffast.$(OBJ)
zlibd2_=inflate.$(OBJ) inftrees.$(OBJ) infutil.$(OBJ)
-zlibd_ = $(zlibd1_) $(zlibd2_)
-zlibd_0.dev: $(ZLIB_MAK) $(ECHOGS_XE) zlibc.dev $(zlibd_)
- $(SETMOD) zlibd_0 $(zlibd1_)
- $(ADDMOD) zlibd_0 -obj $(zlibd2_)
- $(ADDMOD) zlibd_0 -include zlibc
+zlibd_ =
+zlibd_0.dev: $(ZLIB_MAK) $(ECHOGS_XE) zlibc.dev
+ $(SETMOD) zlibd_0
+ $(ADDMOD) zlibd_0
+ $(ADDMOD) zlibd_0
infblock.$(OBJ): $(ZSRC)infblock.c $(ZDEP) zutil.h
$(CP_) $(ZSRC)infblock.c .
@@ -4589,8 +4589,22 @@
cdeskjet_=gdevcdj.$(OBJ) $(HPPCL)
+cdeskjet8_=gdevcd8.$(OBJ) $(HPPCL)
+
cdeskjet.dev: $(cdeskjet_) page.dev
$(SETPDEV) cdeskjet $(cdeskjet_)
+
+cdj670.dev: $(cdeskjet8_) page.dev
+ $(SETPDEV) cdj670 $(cdeskjet8_)
+
+cdj850.dev: $(cdeskjet8_) page.dev
+ $(SETPDEV) cdj850 $(cdeskjet8_)
+
+cdj890.dev: $(cdeskjet8_) page.dev
+ $(SETPDEV) cdj890 $(cdeskjet8_)
+
+cdj1600.dev: $(cdeskjet8_) page.dev
+ $(SETPDEV) cdj1600 $(cdeskjet8_)
cdjcolor.dev: $(cdeskjet_) page.dev
$(SETPDEV) cdjcolor $(cdeskjet_)
*** gcc-head.mak.orig Thu Dec 17 19:56:19 1998
--- gcc-head.mak Fri Dec 25 19:23:30 1998
***************
*** 41,50 ****
# If your system has installbsd, change install to installbsd in the next line.
INSTALL = install -c
! INSTALL_PROGRAM = $(INSTALL) -m 755
! INSTALL_DATA = $(INSTALL) -m 644
! prefix = /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
scriptdir = $(bindir)
--- 41,50 ----
# If your system has installbsd, change install to installbsd in the next line.
INSTALL = install -c
! INSTALL_PROGRAM = $(BSD_INSTALL_SCRIPT)
! INSTALL_DATA = $(BSD_INSTALL_DATA)
! prefix ?= /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
scriptdir = $(bindir)
***************
*** 101,107 ****
# You may need to change this if the IJG library version changes.
# See jpeg.mak for more information.
! JSRCDIR=jpeg-6a
JVERSION=6
# Define the directory where the PNG library sources are stored,
--- 101,107 ----
# You may need to change this if the IJG library version changes.
# See jpeg.mak for more information.
! JSRCDIR=jpeg
JVERSION=6
# Define the directory where the PNG library sources are stored,
***************
*** 116,122 ****
# what its name is.
# See gs.mak and make.txt for more information.
! SHARE_LIBPNG=0
LIBPNG_NAME=png
# Define the directory where the zlib sources are stored.
--- 116,122 ----
# what its name is.
# See gs.mak and make.txt for more information.
! SHARE_LIBPNG=1
LIBPNG_NAME=png
# Define the directory where the zlib sources are stored.
***************
*** 128,134 ****
# what its name is (usually libz, but sometimes libgz).
# See gs.mak and make.txt for more information.
! SHARE_ZLIB=0
#ZLIB_NAME=gz
ZLIB_NAME=z
--- 128,134 ----
# what its name is (usually libz, but sometimes libgz).
# See gs.mak and make.txt for more information.
! SHARE_ZLIB=1
#ZLIB_NAME=gz
ZLIB_NAME=z
***************
*** 172,185 ****
# We don't include -ansi, because this gets in the way of the platform-
# specific stuff that <math.h> typically needs; nevertheless, we expect
# gcc to accept ANSI-style function prototypes and function definitions.
! XCFLAGS=
! CFLAGS=-O $(GCFLAGS) $(XCFLAGS)
# Define platform flags for ld.
# SunOS 4.n may need -Bstatic.
# XLDFLAGS can be set from the command line.
! XLDFLAGS=
LDFLAGS=$(XLDFLAGS)
--- 172,185 ----
# We don't include -ansi, because this gets in the way of the platform-
# specific stuff that <math.h> typically needs; nevertheless, we expect
# gcc to accept ANSI-style function prototypes and function definitions.
! XCFLAGS=-I$(prefix)/include
! CFLAGS+=-O $(GCFLAGS) $(XCFLAGS)
# Define platform flags for ld.
# SunOS 4.n may need -Bstatic.
# XLDFLAGS can be set from the command line.
! XLDFLAGS=-L$(prefix)/lib
LDFLAGS=$(XLDFLAGS)
***************
*** 199,205 ****
# Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
# not in $(XINCLUDE).
! XINCLUDE=-I/usr/local/X/include
# Define the directory/ies and library names for the X11 library files.
# XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
--- 199,205 ----
# Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
# not in $(XINCLUDE).
! XINCLUDE=-I$(X11BASE)/include
# Define the directory/ies and library names for the X11 library files.
# XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
***************
*** 211,222 ****
#XLIBDIRS=-L/usr/openwin/lib
#XLIBDIR=/usr/openwin/lib
# X11R6 (on any platform) may need
! #XLIBS=Xt SM ICE Xext X11
#XLIBDIRS=-L/usr/local/X/lib
! XLIBDIRS=-L/usr/X11/lib
XLIBDIR=
! XLIBS=Xt Xext X11
# Define whether this platform has floating point hardware:
# FPU_TYPE=2 means floating point is faster than fixed point.
--- 211,222 ----
#XLIBDIRS=-L/usr/openwin/lib
#XLIBDIR=/usr/openwin/lib
# X11R6 (on any platform) may need
! XLIBS=Xt SM ICE Xext X11
#XLIBDIRS=-L/usr/local/X/lib
! XLIBDIRS=-L$(X11BASE)/lib
XLIBDIR=
! #XLIBS=Xt Xext X11
# Define whether this platform has floating point hardware:
# FPU_TYPE=2 means floating point is faster than fixed point.
***************
*** 260,268 ****
DEVICE_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11gray2.dev x11mono.dev
DEVICE_DEVS1=
! DEVICE_DEVS2=
DEVICE_DEVS3=deskjet.dev djet500.dev laserjet.dev ljetplus.dev ljet2p.dev ljet3.dev ljet4.dev
! DEVICE_DEVS4=cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev pjxl.dev pjxl300.dev
DEVICE_DEVS5=uniprint.dev
DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev
DEVICE_DEVS7=faxg3.dev faxg32d.dev faxg4.dev
--- 260,268 ----
DEVICE_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11gray2.dev x11mono.dev
DEVICE_DEVS1=
! DEVICE_DEVS2=epson.dev eps9high.dev epsonc.dev ibmpro.dev
DEVICE_DEVS3=deskjet.dev djet500.dev laserjet.dev ljetplus.dev ljet2p.dev ljet3.dev ljet4.dev
! DEVICE_DEVS4=cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev pjxl.dev hpdj.dev
DEVICE_DEVS5=uniprint.dev
DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev
DEVICE_DEVS7=faxg3.dev faxg32d.dev faxg4.dev

View File

@ -1,6 +1,15 @@
--- gs_init.ps.orig Thu Jan 2 19:23:13 1997
+++ gs_init.ps Thu Jan 2 19:24:46 1997
@@ -1363,3 +1363,7 @@
--- gs_init.ps.orig Wed Jun 30 17:46:34 1999
+++ gs_init.ps Wed Jun 30 20:18:15 1999
@@ -68,7 +68,7 @@
systemdict /.languagelevel known not { /.languagelevel 1 def } if
% Optionally choose a default paper size other than U.S. letter.
-% (a4) /PAPERSIZE where { pop pop } { /PAPERSIZE exch def } ifelse
+(a4) /PAPERSIZE where { pop pop } { /PAPERSIZE exch def } ifelse
% Turn on array packing for the rest of initialization.
true setpacking
@@ -1465,3 +1465,20 @@
(END GC) VMDEBUG
% The interpreter will run the initial procedure (start).
@ -8,3 +17,16 @@
+% unofficial patch:
+% make it possible to print from within acroread pdf viewer
+/Default currenthalftone /Halftone defineresource pop
+
+% load initial CID-keyed fonts(Korean. KSC-EUC-H).
+% It should be in Fontmap, but to avoid loading two or more time.
+% (it can stop the interpreter - /rangecheck error)
+%
+QUIET not { (Loading CID(Korean) Fonts: ) print } if
+% font loading start
+(Munhwa-Regular-KSC-EUC-H.gsf) runlibfile
+QUIET not { (Munhwa-Regular-KSC-EUC-H ) print } if
+(MunhwaGothic-Regular-KSC-EUC-H.gsf) runlibfile
+QUIET not { (MunhwaGothic-Regular-KSC-EUC-H ) print } if
+% end of font loading
+QUIET not { (\n) print } if

View File

@ -0,0 +1,19 @@
*** unix-end.mak.orig Fri Dec 25 10:45:04 1998
--- unix-end.mak Fri Dec 25 10:47:40 1998
***************
*** 91,97 ****
do if ( test -f $$f ); then $(INSTALL_PROGRAM) $$f $(scriptdir)/$$f; fi;\
done'
! MAN1_PAGES=gs pdf2dsc pdf2ps ps2ascii ps2epsi ps2pdf
install-data: gs.1
-mkdir $(mandir)
-mkdir $(man1dir)
--- 91,97 ----
do if ( test -f $$f ); then $(INSTALL_PROGRAM) $$f $(scriptdir)/$$f; fi;\
done'
! MAN1_PAGES=gs pdf2dsc pdf2ps ps2ascii ps2epsi ps2pdf gs-hpdj
install-data: gs.1
-mkdir $(mandir)
-mkdir $(man1dir)

View File

@ -0,0 +1,19 @@
*** devs.mak.orig Fri Dec 25 10:49:36 1998
--- devs.mak Fri Dec 25 11:05:32 1998
***************
*** 790,796 ****
#
###############################################################################
! hpdj_options=
#------------------------------------------------------------------------------
--- 790,796 ----
#
###############################################################################
! hpdj_options=-DHPDJ_DEFAULT_MODEL=hpdj560c -DHPDJ_INPUTMEDIA_PRN
#------------------------------------------------------------------------------

View File

@ -10,13 +10,9 @@ This version can handle Korean(and Japanese) Truetype fonts
using FreeType library. It also has some bugfix for correctly working
CID-Keyed fonts.
Korean CID-Keyed fonts(Munhwa and MunhwaGothic) is provided by
Adobe, and original Type 1 fonts is from Ministry of Culture and Sports
of Korea Government. These fonts are free to use.
GS with Korean Web page:
http://jazz.snu.ac.kr/~junker/work/gs-ko/
http://www.kr.freebsd.org/~cjh/freetime/printings/gs-ko/
--
Ports by CHOI Junho <cjh@kr.freebsd.org>
WWW: http://jazz.snu.ac.kr/~junker/work/gs-ko/
WWW: http://www.kr.freebsd.org/~cjh/freetime/printings/gs-ko/

View File

@ -14,6 +14,9 @@ bin/ps2ascii
bin/ps2epsi
bin/ps2pdf
bin/wftopfa
libexec/lpr/if-hpdj
libexec/lpr/pj-gs.sh
libexec/lpr/sysvlp.sh
share/ghostscript/5.10ft/Fontmap
share/ghostscript/5.10ft/acctest.ps
share/ghostscript/5.10ft/align.ps
@ -41,7 +44,6 @@ share/ghostscript/5.10ft/cdj550.upp
share/ghostscript/5.10ft/decrypt.ps
share/ghostscript/5.10ft/doc/COPYING
share/ghostscript/5.10ft/doc/NEWS
share/ghostscript/5.10ft/doc/PUBLIC
share/ghostscript/5.10ft/doc/README
share/ghostscript/5.10ft/doc/README.ko
share/ghostscript/5.10ft/doc/bug-form.txt
@ -207,199 +209,8 @@ share/ghostscript/5.10ft/wftopfa.ps
share/ghostscript/5.10ft/winmaps.ps
share/ghostscript/5.10ft/wrfont.ps
share/ghostscript/5.10ft/zeroline.ps
share/ghostscript/fonts/CMap/Adobe-Korea1-0
share/ghostscript/fonts/CMap/Adobe-Korea1-1
share/ghostscript/fonts/CMap/KSC-EUC-H
share/ghostscript/fonts/CMap/KSC-EUC-V
share/ghostscript/fonts/CMap/KSC-H
share/ghostscript/fonts/CMap/KSC-Johab-H
share/ghostscript/fonts/CMap/KSC-Johab-V
share/ghostscript/fonts/CMap/KSC-V
share/ghostscript/fonts/CMap/KSCms-UHC-H
share/ghostscript/fonts/CMap/KSCms-UHC-HW-H
share/ghostscript/fonts/CMap/KSCms-UHC-HW-V
share/ghostscript/fonts/CMap/KSCms-UHC-V
share/ghostscript/fonts/CMap/KSCpc-EUC-H
share/ghostscript/fonts/CMap/KSCpc-EUC-V
share/ghostscript/fonts/CMap/UniKS-UCS2-H
share/ghostscript/fonts/CMap/UniKS-UCS2-V
share/ghostscript/fonts/CMap/UniKS-UTF8-H
share/ghostscript/fonts/CMap/UniKS-UTF8-V
share/ghostscript/fonts/Munhwa-Regular
share/ghostscript/fonts/Munhwa-Regular-KSC-EUC-H.gsf
share/ghostscript/fonts/MunhwaGothic-Regular
share/ghostscript/fonts/MunhwaGothic-Regular-KSC-EUC-H.gsf
share/ghostscript/fonts/a010013l.afm
share/ghostscript/fonts/a010013l.pfb
share/ghostscript/fonts/a010013l.pfm
share/ghostscript/fonts/a010015l.afm
share/ghostscript/fonts/a010015l.pfb
share/ghostscript/fonts/a010015l.pfm
share/ghostscript/fonts/a010033l.afm
share/ghostscript/fonts/a010033l.pfb
share/ghostscript/fonts/a010033l.pfm
share/ghostscript/fonts/a010035l.afm
share/ghostscript/fonts/a010035l.pfb
share/ghostscript/fonts/a010035l.pfm
share/ghostscript/fonts/b018012l.afm
share/ghostscript/fonts/b018012l.pfb
share/ghostscript/fonts/b018012l.pfm
share/ghostscript/fonts/b018015l.afm
share/ghostscript/fonts/b018015l.pfb
share/ghostscript/fonts/b018015l.pfm
share/ghostscript/fonts/b018032l.afm
share/ghostscript/fonts/b018032l.pfb
share/ghostscript/fonts/b018032l.pfm
share/ghostscript/fonts/b018035l.afm
share/ghostscript/fonts/b018035l.pfb
share/ghostscript/fonts/b018035l.pfm
share/ghostscript/fonts/bchb.afm
share/ghostscript/fonts/bchb.pfa
share/ghostscript/fonts/bchbi.afm
share/ghostscript/fonts/bchbi.pfa
share/ghostscript/fonts/bchr.afm
share/ghostscript/fonts/bchr.pfa
share/ghostscript/fonts/bchri.afm
share/ghostscript/fonts/bchri.pfa
share/ghostscript/fonts/c059013l.afm
share/ghostscript/fonts/c059013l.pfb
share/ghostscript/fonts/c059013l.pfm
share/ghostscript/fonts/c059016l.afm
share/ghostscript/fonts/c059016l.pfb
share/ghostscript/fonts/c059016l.pfm
share/ghostscript/fonts/c059033l.afm
share/ghostscript/fonts/c059033l.pfb
share/ghostscript/fonts/c059033l.pfm
share/ghostscript/fonts/c059036l.afm
share/ghostscript/fonts/c059036l.pfb
share/ghostscript/fonts/c059036l.pfm
share/ghostscript/fonts/d050000l.afm
share/ghostscript/fonts/d050000l.pfb
share/ghostscript/fonts/d050000l.pfm
share/ghostscript/fonts/fcyr.afm
share/ghostscript/fonts/fcyr.gsf
share/ghostscript/fonts/fcyri.afm
share/ghostscript/fonts/fcyri.gsf
share/ghostscript/fonts/fhirw.gsf
share/ghostscript/fonts/fhirw.pfm
share/ghostscript/fonts/fkarw.gsf
share/ghostscript/fonts/fkarw.pfm
share/ghostscript/fonts/hrger.pfa
share/ghostscript/fonts/hrgerb.gsf
share/ghostscript/fonts/hrgerd.gsf
share/ghostscript/fonts/hrgero.gsf
share/ghostscript/fonts/hrgkc.gsf
share/ghostscript/fonts/hrgks.gsf
share/ghostscript/fonts/hrgrr.pfa
share/ghostscript/fonts/hrgrrb.gsf
share/ghostscript/fonts/hrgrro.gsf
share/ghostscript/fonts/hritr.pfa
share/ghostscript/fonts/hritrb.gsf
share/ghostscript/fonts/hritro.gsf
share/ghostscript/fonts/hrpld.pfa
share/ghostscript/fonts/hrpldb.gsf
share/ghostscript/fonts/hrpldbi.gsf
share/ghostscript/fonts/hrpldi.pfa
share/ghostscript/fonts/hrplr.gsf
share/ghostscript/fonts/hrplrb.gsf
share/ghostscript/fonts/hrplrbo.gsf
share/ghostscript/fonts/hrplro.gsf
share/ghostscript/fonts/hrpls.gsf
share/ghostscript/fonts/hrplsb.gsf
share/ghostscript/fonts/hrplsbo.gsf
share/ghostscript/fonts/hrplso.gsf
share/ghostscript/fonts/hrplt.pfa
share/ghostscript/fonts/hrpltb.gsf
share/ghostscript/fonts/hrpltbi.gsf
share/ghostscript/fonts/hrplti.pfa
share/ghostscript/fonts/hrscc.pfa
share/ghostscript/fonts/hrsccb.gsf
share/ghostscript/fonts/hrscco.gsf
share/ghostscript/fonts/hrscs.pfa
share/ghostscript/fonts/hrscsb.gsf
share/ghostscript/fonts/hrscso.gsf
share/ghostscript/fonts/hrsyr.gsf
share/ghostscript/fonts/n019003l.afm
share/ghostscript/fonts/n019003l.pfb
share/ghostscript/fonts/n019003l.pfm
share/ghostscript/fonts/n019004l.afm
share/ghostscript/fonts/n019004l.pfb
share/ghostscript/fonts/n019004l.pfm
share/ghostscript/fonts/n019023l.afm
share/ghostscript/fonts/n019023l.pfb
share/ghostscript/fonts/n019023l.pfm
share/ghostscript/fonts/n019024l.afm
share/ghostscript/fonts/n019024l.pfb
share/ghostscript/fonts/n019024l.pfm
share/ghostscript/fonts/n019043l.afm
share/ghostscript/fonts/n019043l.pfb
share/ghostscript/fonts/n019043l.pfm
share/ghostscript/fonts/n019044l.afm
share/ghostscript/fonts/n019044l.pfb
share/ghostscript/fonts/n019044l.pfm
share/ghostscript/fonts/n019063l.afm
share/ghostscript/fonts/n019063l.pfb
share/ghostscript/fonts/n019063l.pfm
share/ghostscript/fonts/n019064l.afm
share/ghostscript/fonts/n019064l.pfb
share/ghostscript/fonts/n019064l.pfm
share/ghostscript/fonts/n021003l.afm
share/ghostscript/fonts/n021003l.pfb
share/ghostscript/fonts/n021003l.pfm
share/ghostscript/fonts/n021004l.afm
share/ghostscript/fonts/n021004l.pfb
share/ghostscript/fonts/n021004l.pfm
share/ghostscript/fonts/n021023l.afm
share/ghostscript/fonts/n021023l.pfb
share/ghostscript/fonts/n021023l.pfm
share/ghostscript/fonts/n021024l.afm
share/ghostscript/fonts/n021024l.pfb
share/ghostscript/fonts/n021024l.pfm
share/ghostscript/fonts/n022003l.afm
share/ghostscript/fonts/n022003l.pfb
share/ghostscript/fonts/n022003l.pfm
share/ghostscript/fonts/n022004l.afm
share/ghostscript/fonts/n022004l.pfb
share/ghostscript/fonts/n022004l.pfm
share/ghostscript/fonts/n022023l.afm
share/ghostscript/fonts/n022023l.pfb
share/ghostscript/fonts/n022023l.pfm
share/ghostscript/fonts/n022024l.afm
share/ghostscript/fonts/n022024l.pfb
share/ghostscript/fonts/n022024l.pfm
share/ghostscript/fonts/p052003l.afm
share/ghostscript/fonts/p052003l.pfb
share/ghostscript/fonts/p052003l.pfm
share/ghostscript/fonts/p052004l.afm
share/ghostscript/fonts/p052004l.pfb
share/ghostscript/fonts/p052004l.pfm
share/ghostscript/fonts/p052023l.afm
share/ghostscript/fonts/p052023l.pfb
share/ghostscript/fonts/p052023l.pfm
share/ghostscript/fonts/p052024l.afm
share/ghostscript/fonts/p052024l.pfb
share/ghostscript/fonts/p052024l.pfm
share/ghostscript/fonts/putb.pfa
share/ghostscript/fonts/putbi.pfa
share/ghostscript/fonts/putr.pfa
share/ghostscript/fonts/putri.pfa
share/ghostscript/fonts/s050000l.afm
share/ghostscript/fonts/s050000l.pfb
share/ghostscript/fonts/s050000l.pfm
share/ghostscript/fonts/u003043t.afm
share/ghostscript/fonts/u003043t.gsf
share/ghostscript/fonts/u003043t.pfm
share/ghostscript/fonts/u004006t.afm
share/ghostscript/fonts/u004006t.gsf
share/ghostscript/fonts/u004006t.pfm
share/ghostscript/fonts/z003034l.afm
share/ghostscript/fonts/z003034l.pfb
share/ghostscript/fonts/z003034l.pfm
@dirrm share/ghostscript/fonts/CMap
@dirrm share/ghostscript/fonts
@dirrm share/ghostscript/5.10ft/doc
@dirrm share/ghostscript/5.10ft/examples
@dirrm share/ghostscript/5.10ft/hangul
@dirrm share/ghostscript/5.10ft/kanji
@dirrm share/ghostscript/5.10ft
@dirrm share/ghostscript

View File

@ -1,112 +1,75 @@
# New ports collection makefile for: freetype-ghostscript
# Version required: 5.10ft
# Date created: Fri Mar 27 10:32:46 KST 1998
# Date created: 27 Mar 1998
# Whom: CHOI Junho <cjh@kr.freebsd.org>
#
# $FreeBSD$
#
# based on print/ghostscript5 and japanese/vfghostscript5
# use Adobe's CID-keyed font sameple(korean) because there are no
# default korean font
# Based on print/ghostscript5 and japanese/vfghostscript5
# use Adobe's CID-keyed Korean font because there are no wide accepted
# default korean font yet
#
DISTNAME= ko-ftghostscript-5.10
DISTNAME= ko-ghostscript-ft-5.10
CATEGORIES= korean print
MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/gs510/ \
ftp://bonk.ethz.ch/gs-driver-distrib/ \
http://www.ozemail.com.au/~geoffk/pdfencrypt/ \
http://freefall.freebsd.org/~andreas/download/ \
MASTER_SITES= ftp://ftp.pdb.sni.de/pub/utilities/misc/ \
http://www.ozemail.com.au/~geoffk/pdfencrypt/ \
ftp://ftp.cs.wisc.edu/ghost/gnu/gs510/ \
$(MASTER_SITE_GNU) \
http://www.ldl.jaist.ac.jp/~akr/nonresearch/free-software/ghostscript/ \
http://itohws03.ee.noda.sut.ac.jp/~matsuda/VFlib-FT/ \
ftp://jazz.snu.ac.kr/pub/unix/gs-ko/ \
ftp://ftp.ora.com/pub/examples/nutshell/ujip/adobe/samples/ \
ftp://ftp.ora.com/pub/examples/nutshell/ujip/adobe/
DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
${HP850_DRV} ${DECRYPT_PDF} ${VFLIB_GS} ${KFFTYPE} \
${KFFTYPE_PATCH} ${HFFTYPE} ${GS_CID_PATCH} \
${CID_FONTS_KO} ${CID_CMAP_KO}
ftp://ftp.kr.freebsd.org/pub/users/cjh/gs-ko/ \
ftp://ftp.kr.freebsd.org/pub/users/cjh/gs-ko/misc/
MASTER_SITE_SUBDIR= ghostscript
DISTFILES= ${PCL3_DRV} ${DECRYPT_PDF} ${GS_SOURCES} \
${VFLIB_GS} ${KFFTYPE} ${KFFTYPE_PATCH} \
${HFFTYPE} ${GS_CID_PATCH}
MAINTAINER= cjh@kr.freebsd.org
BROKEN= fetch
MAINTAINER= cjh@kr.FreeBSD.org
RUN_DEPENDS= $(LOCALBASE)/share/ghostscript/fonts/CMap:${PORTSDIR}/korean/munhwafonts-cid \
$(LOCALBASE)/share/ghostscript/fonts:${PORTSDIR}/print/gsfonts
BUILD_DEPENDS= /nonexistent:${PORTSDIR}/graphics/jpeg:extract \
/nonexistent:${PORTSDIR}/graphics/png:extract \
unzip:${PORTSDIR}/archivers/unzip
LIB_DEPENDS= ttf.3:${PORTSDIR}/print/freetype
/nonexistent:${PORTSDIR}/graphics/png:extract
LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png \
ttf.3:${PORTSDIR}/print/freetype
MAKE_ENV= PORTSDIR=${PORTSDIR}
EXTRACT_ONLY= ${GS_SOURCES}
USE_XLIB= yes
EXTRACT_ONLY= ${GS_SOURCES} ${PCL3_DRV}
WRKSRC= ${WRKDIR}/gs5.10
MAKEFILE= unix-gcc.mak
MAKE_FLAGS= prefix=${PREFIX} zlibc_=-lz CFLAGS="${CFLAGS} -I${PREFIX}/include" -f
MAN1= gs.1 pdf2dsc.1 pdf2ps.1 ps2ascii.1 ps2epsi.1 ps2pdf.1
#MAKE_FLAGS= prefix=${PREFIX} CFLAGS="${CFLAGS}" -f
MAKE_FLAGS= prefix=${PREFIX} -f
MAN1= gs.1 pdf2dsc.1 pdf2ps.1 ps2ascii.1 ps2epsi.1 ps2pdf.1 gs-hpdj.1
GS_SOURCES= ghostscript-5.10.tar.gz
GS_SOURCES+= ghostscript-5.10gnu.tar.gz
# Note: the following two are real files that have symlinks with
# later version numbers pointing to them. To avoid unnecessarily
# downloading distfiles, do not change these when upgrading the port
# unless the files really change.
GS_FONTS_STD= ghostscript-fonts-std-5.50.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-5.10.tar.gz
# Additional driver HP 850, see http://bonk.ethz.ch/hp850/hp850.html
HP850_DRV= hp8xxs13.zip
# Additional driver for HP PCL3 Printers
PCL3_DRV= hpdj-2.5.tar.gz
# replacement for pdf_sec.ps, that allows you to read encrypted PDF files
DECRYPT_PDF= pdf_sec.ps
# Korean patch files
# vflib patch
VFLIB_GS= gs5.10-vflib-1.1.tar.gz
VFLIB_GS= gs5.10-vflib-1.1.tar.gz
# kfftype
KFFTYPE= gs5-kfftype.tar.gz
KFFTYPE= gs5-kfftype.tar.gz
# kfftype patches
KFFTYPE_PATCH= gs5-kfftype-patch1.diff gs5-kfftype-patch2.diff
KFFTYPE_PATCH= gs5-kfftype-patch1.diff gs5-kfftype-patch2.diff
# hfftype patch
HFFTYPE= gs5-hfftype-0.2.tar.gz
HFFTYPE= gs5-hfftype-0.2.tar.gz
# cid-keyed font bug patch for 5.10
GS_CID_PATCH= gs5.10-cid-bugfix.diff
# sample fonts(cid, free Korean fonts is just only one.. :< )
CID_FONTS_KO= Munhwa-Regular MunhwaGothic-Regular
# CID CMAP
CID_CMAP_KO= ak11.tar.Z
# in Korea, A4 paper is default
.if defined(NOA4)
CFLAGS+=
.else
CFLAGS+= -DA4
.endif
pre-fetch:
.if !defined(NOA4)
@${ECHO_MSG} "Type \"make NOA4=yes\" if you don't want -DA4 for compilation."
.else
@${ECHO_MSG} "Using -DA4 for compilation."
.endif
.if !defined(PDFENCRYPT)
@${ECHO_MSG} "NOTE: You can have encrypted PDF support by adding "
@${ECHO_MSG} "\"PDFENCRYPT=yes\" to argument of make."
.endif
GS_CID_PATCH= gs5.10-cid-bugfix.diff
post-extract:
${TOUCH} ${WRKSRC}/adler32.c
${TOUCH} ${WRKSRC}/deflate.c
${TOUCH} ${WRKSRC}/trees.c
${TOUCH} ${WRKSRC}/adler32.o
${TOUCH} ${WRKSRC}/deflate.o
${TOUCH} ${WRKSRC}/trees.o
${LN} -s ${WRKDIRPREFIX}${PORTSDIR}/graphics/jpeg/work/jpeg-6* ${WRKSRC}/jpeg-6b
${LN} -s ${WRKDIRPREFIX}${PORTSDIR}/graphics/png/work/libpng-1.* ${WRKSRC}/libpng
cd ${WRKSRC} && unzip -Loa ${DISTDIR}/${HP850_DRV}
cd ${WRKSRC} && tar -xzf ${DISTDIR}/${CID_CMAP_KO}
${LN} -s ${WRKDIRPREFIX}${.CURDIR}/../../graphics/jpeg/work/jpeg-6b ${WRKSRC}/jpeg
${LN} -s ${WRKDIRPREFIX}${.CURDIR}/../../graphics/png/work/libpng-1.0.3 ${WRKSRC}/libpng
# additional PCL3 driver
$(TAR) -xvf ${WRKDIR}/hpdj-2.5/hpdj.tar -C $(WRKSRC)
${PATCH} --directory=${WRKSRC} <${WRKSRC}/devs.mak-5.10.diff
${PATCH} --directory=${WRKSRC} <${WRKSRC}/zmedia2.c-5.10.diff
pre-patch:
cd ${WRKSRC} && tar -xzf ${DISTDIR}/${VFLIB_GS} && \
@ -118,55 +81,27 @@ pre-patch:
done && \
${CP} -r ${WRKSRC}/kfftype/* ${WRKSRC}/
cd ${WRKSRC} && tar -xzf ${DISTDIR}/${HFFTYPE} && \
${CP} -r ${WRKSRC}/gs5-hfftype-0.2/* ${WRKSRC}/
${CP} -r ${WRKSRC}/gs5-hfftype-0.2/* ${WRKSRC}/
cd ${WRKSRC} && ${PATCH} -s -p1 < \
${WRKSRC}/gs5-hfftype-0.2/gs5.10-hfftype.diff
${WRKSRC}/gs5-hfftype-0.2/gs5.10-hfftype.diff
cd ${WRKSRC} && ${PATCH} ${PATCH_DIST_ARGS} < \
${DISTDIR}/${GS_CID_PATCH}
${DISTDIR}/${GS_CID_PATCH}
do-configure:
.if defined(BATCH)
@${SETENV} PORTSDIR=${PORTSDIR} WRKSRC=${WRKSRC} \
${SH} ${SCRIPTDIR}/configure.batch
.else
@${SETENV} PORTSDIR=${PORTSDIR} WRKSRC=${WRKSRC} \
${SH} ${SCRIPTDIR}/configure
.endif
@(cd ${WRKSRC}; ${SH} tar_cat )
pre-install:
@${MKDIR} ${PREFIX}/share/ghostscript ${PREFIX}/bin ${PREFIX}/man/man1
(cd ${PREFIX}/share/ghostscript ; \
tar -xzf ${DISTDIR}/${GS_FONTS_STD})
(cd ${PREFIX}/share/ghostscript/fonts ; \
tar -xzf ${DISTDIR}/${GS_FONTS_OTHER})
${CAT} ${FILESDIR}/Fontmap.addition >> ${WRKSRC}/Fontmap
${INSTALL_DATA} ${FILESDIR}/Munhwa-Regular-KSC-EUC-H.gsf \
${FILESDIR}/MunhwaGothic-Regular-KSC-EUC-H.gsf \
${PREFIX}/share/ghostscript/fonts
for file in ${CID_FONTS_KO}; do \
${INSTALL_DATA} ${DISTDIR}/$$file \
${PREFIX}/share/ghostscript/fonts; \
done
${MKDIR} ${PREFIX}/share/ghostscript/fonts/CMap; &&\
${INSTALL_DATA} ${WRKSRC}/ak11/CMap/* \
${PREFIX}/share/ghostscript/fonts/CMap
post-install:
strip ${PREFIX}/bin/gs
${INSTALL_DATA} ${DISTDIR}/${DECRYPT_PDF} \
${PREFIX}/share/ghostscript/5.10ft
$(MKDIR) ${PREFIX}/libexec/lpr
${INSTALL_SCRIPT} $(WRKSRC)/pj-gs.sh ${PREFIX}/libexec/lpr
${INSTALL_SCRIPT} $(WRKSRC)/sysvlp.sh ${PREFIX}/libexec/lpr
${INSTALL_SCRIPT} $(WRKSRC)/if-hpdj ${PREFIX}/libexec/lpr
${INSTALL_DATA} ${WRKSRC}/gs5-hfftype-0.2/README \
${PREFIX}/share/ghostscript/5.10ft/doc/README.ko
.if defined(PDFENCRYPT)
${CP} -f ${DISTDIR}/pdf_sec.ps ${PREFIX}/share/ghostscript/5.10ft
.endif
# encrypted PDF support. can't be packaged due to export control issues.
# if you are outside in US, you can use this.
.if defined(PDFENCRYPT)
MASTER_SITES+= http://www.ozemail.com.au/~geoffk/pdfencrypt/
DISTFILES+= pdf_sec.ps
RESTRICTED= "Crypto; export controlled, RC4 in PostScript code included"
.endif
.include <bsd.port.mk>

View File

@ -1,15 +1,9 @@
MD5 (ghostscript-5.10.tar.gz) = 47fbc4f6402c98374c61bf3e64e59e9a
MD5 (ghostscript-5.10gnu.tar.gz) = 6706117129a5f63dff3a5a2bf4258630
MD5 (ghostscript-fonts-std-5.50.tar.gz) = 8462a429e2672d332a510da076dca6d2
MD5 (ghostscript-fonts-other-5.10.tar.gz) = fcf3abf81a1b46da9a92942d288020f9
MD5 (hp8xxs13.zip) = e46bcac0aed0c511c8cc88a1093cc586
MD5 (hpdj-2.5.tar.gz) = cbe6b6c6cd00af9177a025870fc1a90a
MD5 (pdf_sec.ps) = 92cd6af5b4d7219e91e61b8351f0f7c4
MD5 (ghostscript-5.10.tar.gz) = b8dbc2595c06305f452a9c38bd0effef
MD5 (gs5.10-vflib-1.1.tar.gz) = 856599571b5c9845595d830ad2b31b5f
MD5 (gs5-kfftype.tar.gz) = 960047c6530e3678ee340d62adfbc3a8
MD5 (gs5-kfftype-patch1.diff) = 1fd23208c9355a2df242ecaa1b8ea8f7
MD5 (gs5-kfftype-patch2.diff) = 0babbfde38132acc9e5128672660a6c4
MD5 (gs5-hfftype-0.2.tar.gz) = c78230aa7f2488ecc1a298f3da908275
MD5 (gs5.10-cid-bugfix.diff) = 9675c4e4eeb795eee45956ddd6ed67c4
MD5 (Munhwa-Regular) = 9a7f9b215ba94af908f48ac22f850e9a
MD5 (MunhwaGothic-Regular) = b1726ccbfc6037408c9dc0b141caa53b
MD5 (ak11.tar.Z) = a021ff4e7972537b65ce75f963734c93

View File

@ -1,174 +1,172 @@
--- unix-gcc.mak.orig Sun Oct 11 23:43:16 1998
+++ unix-gcc.mak Sun Oct 11 23:46:51 1998
@@ -135,7 +135,7 @@
# You may need to change this if the IJG library version changes.
# See jpeg.mak for more information.
-JSRCDIR=jpeg-6a
+JSRCDIR=jpeg-6b
JVERSION=6
# Define the directory where the PNG library sources are stored,
@@ -156,7 +156,7 @@
# Define the directory where the zlib sources are stored.
# See zlib.mak for more information.
-ZSRCDIR=zlib
+ZSRCDIR=.
# Choose whether to use a shared version of the zlib library, and if so,
# what its name is (usually libz, but sometimes libgz).
@@ -181,7 +181,7 @@
# Define the name of the C compiler.
-CC=gcc
+CC=cc
# Define the name of the linker for the final link step.
# Normally this is the same as the C compiler.
@@ -206,14 +206,14 @@
# We don't include -ansi, because this gets in the way of the platform-
# specific stuff that <math.h> typically needs; nevertheless, we expect
# gcc to accept ANSI-style function prototypes and function definitions.
-XCFLAGS=
+XCFLAGS= -I$(prefix)/include
CFLAGS=-O $(GCFLAGS) $(XCFLAGS)
# Define platform flags for ld.
# SunOS 4.n may need -Bstatic.
# XLDFLAGS can be set from the command line.
-XLDFLAGS=
+XLDFLAGS= -L$(prefix)/lib
LDFLAGS=$(XLDFLAGS)
@@ -223,7 +223,7 @@
# SVR4 may need -lnsl.
# (Libraries required by individual drivers are handled automatically.)
-EXTRALIBS=
+EXTRALIBS=-lz
# Define the include switch(es) for the X11 header files.
# This can be null if handled in some other way (e.g., the files are
@@ -233,7 +233,7 @@
# Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
# not in $(XINCLUDE).
-XINCLUDE=-I/usr/local/X/include
+XINCLUDE=-I/usr/X11R6/include
# Define the directory/ies and library names for the X11 library files.
# XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
@@ -248,8 +248,8 @@
#XLIBS=Xt SM ICE Xext X11
#XLIBDIRS=-L/usr/local/X/lib
-XLIBDIRS=-L/usr/X11/lib
-XLIBDIR=
+XLIBDIRS=-L/usr/X11R6/lib
+XLIBDIR=/usr/X11R6/lib
XLIBS=Xt Xext X11
# Define whether this platform has floating point hardware:
@@ -292,22 +292,22 @@
# Choose the device(s) to include. See devs.mak for details.
-DEVICE_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11gray2.dev x11mono.dev
-DEVICE_DEVS1=
-DEVICE_DEVS2=
-DEVICE_DEVS3=deskjet.dev djet500.dev laserjet.dev ljetplus.dev ljet2p.dev ljet3.dev ljet4.dev
-DEVICE_DEVS4=cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev pjxl.dev pjxl300.dev
-DEVICE_DEVS5=uniprint.dev
-DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev
-DEVICE_DEVS7=faxg3.dev faxg32d.dev faxg4.dev
-DEVICE_DEVS8=pcxmono.dev pcxgray.dev pcx16.dev pcx256.dev pcx24b.dev pcxcmyk.dev
-DEVICE_DEVS9=pbm.dev pbmraw.dev pgm.dev pgmraw.dev pgnm.dev pgnmraw.dev pnm.dev pnmraw.dev ppm.dev ppmraw.dev
-DEVICE_DEVS10=tiffcrle.dev tiffg3.dev tiffg32d.dev tiffg4.dev tifflzw.dev tiffpack.dev
-DEVICE_DEVS11=tiff12nc.dev tiff24nc.dev
-DEVICE_DEVS12=psmono.dev psgray.dev bit.dev bitrgb.dev bitcmyk.dev
-DEVICE_DEVS13=pngmono.dev pnggray.dev png16.dev png256.dev png16m.dev
-DEVICE_DEVS14=jpeg.dev jpeggray.dev
-DEVICE_DEVS15=pdfwrite.dev pswrite.dev epswrite.dev pxlmono.dev pxlcolor.dev
+#DEVICE_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11gray2.dev x11mono.dev
+#DEVICE_DEVS1=
+#DEVICE_DEVS2=
+#DEVICE_DEVS3=deskjet.dev djet500.dev laserjet.dev ljetplus.dev ljet2p.dev ljet3.dev ljet4.dev
+#DEVICE_DEVS4=cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev pjxl.dev pjxl300.dev
+#DEVICE_DEVS5=uniprint.dev
+#DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev
+#DEVICE_DEVS7=faxg3.dev faxg32d.dev faxg4.dev
+#DEVICE_DEVS8=pcxmono.dev pcxgray.dev pcx16.dev pcx256.dev pcx24b.dev pcxcmyk.dev
+#DEVICE_DEVS9=pbm.dev pbmraw.dev pgm.dev pgmraw.dev pgnm.dev pgnmraw.dev pnm.dev pnmraw.dev ppm.dev ppmraw.dev
+#DEVICE_DEVS10=tiffcrle.dev tiffg3.dev tiffg32d.dev tiffg4.dev tifflzw.dev tiffpack.dev
+#DEVICE_DEVS11=tiff12nc.dev tiff24nc.dev
+#DEVICE_DEVS12=psmono.dev psgray.dev bit.dev bitrgb.dev bitcmyk.dev
+#DEVICE_DEVS13=pngmono.dev pnggray.dev png16.dev png256.dev png16m.dev
+#DEVICE_DEVS14=jpeg.dev jpeggray.dev
+#DEVICE_DEVS15=pdfwrite.dev pswrite.dev epswrite.dev pxlmono.dev pxlcolor.dev
# ---------------------------- End of options --------------------------- #
@@ -3681,8 +3681,8 @@
libpng95.dev: $(LIBPNG_MAK) $(ECHOGS_XE) pngwio.$(OBJ) crc32.dev
$(SETMOD) libpng95 pngwio.$(OBJ) -include crc32
-libpng96.dev: $(LIBPNG_MAK) $(ECHOGS_XE) pngwio.$(OBJ) crc32.dev
- $(SETMOD) libpng96 pngwio.$(OBJ) -include crc32
+libpng96.dev: $(LIBPNG_MAK) $(ECHOGS_XE) pngwio.$(OBJ)
+ $(SETMOD) libpng96 pngwio.$(OBJ)
# Copyright (C) 1995, 1996, 1997 Aladdin Enterprises. All rights reserved.
#
# This file is part of Aladdin Ghostscript.
@@ -3763,7 +3763,7 @@
zlibe_1.dev: $(MAKEFILE) $(ZLIB_MAK) $(ECHOGS_XE)
$(SETMOD) zlibe_1 -lib $(ZLIB_NAME)
-zlibe_=adler32.$(OBJ) deflate.$(OBJ) trees.$(OBJ)
+zlibe_=
zlibe_0.dev: $(ZLIB_MAK) $(ECHOGS_XE) zlibc.dev $(zlibe_)
$(SETMOD) zlibe_0 $(zlibe_)
$(ADDMOD) zlibe_0 -include zlibc
@@ -3810,11 +3810,11 @@
zlibd1_=infblock.$(OBJ) infcodes.$(OBJ) inffast.$(OBJ)
zlibd2_=inflate.$(OBJ) inftrees.$(OBJ) infutil.$(OBJ)
-zlibd_ = $(zlibd1_) $(zlibd2_)
-zlibd_0.dev: $(ZLIB_MAK) $(ECHOGS_XE) zlibc.dev $(zlibd_)
- $(SETMOD) zlibd_0 $(zlibd1_)
- $(ADDMOD) zlibd_0 -obj $(zlibd2_)
- $(ADDMOD) zlibd_0 -include zlibc
+zlibd_ =
+zlibd_0.dev: $(ZLIB_MAK) $(ECHOGS_XE) zlibc.dev
+ $(SETMOD) zlibd_0
+ $(ADDMOD) zlibd_0
+ $(ADDMOD) zlibd_0
infblock.$(OBJ): $(ZSRC)infblock.c $(ZDEP) zutil.h
$(CP_) $(ZSRC)infblock.c .
@@ -4589,8 +4589,22 @@
cdeskjet_=gdevcdj.$(OBJ) $(HPPCL)
+cdeskjet8_=gdevcd8.$(OBJ) $(HPPCL)
+
cdeskjet.dev: $(cdeskjet_) page.dev
$(SETPDEV) cdeskjet $(cdeskjet_)
+
+cdj670.dev: $(cdeskjet8_) page.dev
+ $(SETPDEV) cdj670 $(cdeskjet8_)
+
+cdj850.dev: $(cdeskjet8_) page.dev
+ $(SETPDEV) cdj850 $(cdeskjet8_)
+
+cdj890.dev: $(cdeskjet8_) page.dev
+ $(SETPDEV) cdj890 $(cdeskjet8_)
+
+cdj1600.dev: $(cdeskjet8_) page.dev
+ $(SETPDEV) cdj1600 $(cdeskjet8_)
cdjcolor.dev: $(cdeskjet_) page.dev
$(SETPDEV) cdjcolor $(cdeskjet_)
*** gcc-head.mak.orig Thu Dec 17 19:56:19 1998
--- gcc-head.mak Fri Dec 25 19:23:30 1998
***************
*** 41,50 ****
# If your system has installbsd, change install to installbsd in the next line.
INSTALL = install -c
! INSTALL_PROGRAM = $(INSTALL) -m 755
! INSTALL_DATA = $(INSTALL) -m 644
! prefix = /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
scriptdir = $(bindir)
--- 41,50 ----
# If your system has installbsd, change install to installbsd in the next line.
INSTALL = install -c
! INSTALL_PROGRAM = $(BSD_INSTALL_SCRIPT)
! INSTALL_DATA = $(BSD_INSTALL_DATA)
! prefix ?= /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
scriptdir = $(bindir)
***************
*** 101,107 ****
# You may need to change this if the IJG library version changes.
# See jpeg.mak for more information.
! JSRCDIR=jpeg-6a
JVERSION=6
# Define the directory where the PNG library sources are stored,
--- 101,107 ----
# You may need to change this if the IJG library version changes.
# See jpeg.mak for more information.
! JSRCDIR=jpeg
JVERSION=6
# Define the directory where the PNG library sources are stored,
***************
*** 116,122 ****
# what its name is.
# See gs.mak and make.txt for more information.
! SHARE_LIBPNG=0
LIBPNG_NAME=png
# Define the directory where the zlib sources are stored.
--- 116,122 ----
# what its name is.
# See gs.mak and make.txt for more information.
! SHARE_LIBPNG=1
LIBPNG_NAME=png
# Define the directory where the zlib sources are stored.
***************
*** 128,134 ****
# what its name is (usually libz, but sometimes libgz).
# See gs.mak and make.txt for more information.
! SHARE_ZLIB=0
#ZLIB_NAME=gz
ZLIB_NAME=z
--- 128,134 ----
# what its name is (usually libz, but sometimes libgz).
# See gs.mak and make.txt for more information.
! SHARE_ZLIB=1
#ZLIB_NAME=gz
ZLIB_NAME=z
***************
*** 172,185 ****
# We don't include -ansi, because this gets in the way of the platform-
# specific stuff that <math.h> typically needs; nevertheless, we expect
# gcc to accept ANSI-style function prototypes and function definitions.
! XCFLAGS=
! CFLAGS=-O $(GCFLAGS) $(XCFLAGS)
# Define platform flags for ld.
# SunOS 4.n may need -Bstatic.
# XLDFLAGS can be set from the command line.
! XLDFLAGS=
LDFLAGS=$(XLDFLAGS)
--- 172,185 ----
# We don't include -ansi, because this gets in the way of the platform-
# specific stuff that <math.h> typically needs; nevertheless, we expect
# gcc to accept ANSI-style function prototypes and function definitions.
! XCFLAGS=-I$(prefix)/include
! CFLAGS+=-O $(GCFLAGS) $(XCFLAGS)
# Define platform flags for ld.
# SunOS 4.n may need -Bstatic.
# XLDFLAGS can be set from the command line.
! XLDFLAGS=-L$(prefix)/lib
LDFLAGS=$(XLDFLAGS)
***************
*** 199,205 ****
# Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
# not in $(XINCLUDE).
! XINCLUDE=-I/usr/local/X/include
# Define the directory/ies and library names for the X11 library files.
# XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
--- 199,205 ----
# Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
# not in $(XINCLUDE).
! XINCLUDE=-I$(X11BASE)/include
# Define the directory/ies and library names for the X11 library files.
# XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
***************
*** 211,222 ****
#XLIBDIRS=-L/usr/openwin/lib
#XLIBDIR=/usr/openwin/lib
# X11R6 (on any platform) may need
! #XLIBS=Xt SM ICE Xext X11
#XLIBDIRS=-L/usr/local/X/lib
! XLIBDIRS=-L/usr/X11/lib
XLIBDIR=
! XLIBS=Xt Xext X11
# Define whether this platform has floating point hardware:
# FPU_TYPE=2 means floating point is faster than fixed point.
--- 211,222 ----
#XLIBDIRS=-L/usr/openwin/lib
#XLIBDIR=/usr/openwin/lib
# X11R6 (on any platform) may need
! XLIBS=Xt SM ICE Xext X11
#XLIBDIRS=-L/usr/local/X/lib
! XLIBDIRS=-L$(X11BASE)/lib
XLIBDIR=
! #XLIBS=Xt Xext X11
# Define whether this platform has floating point hardware:
# FPU_TYPE=2 means floating point is faster than fixed point.
***************
*** 260,268 ****
DEVICE_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11gray2.dev x11mono.dev
DEVICE_DEVS1=
! DEVICE_DEVS2=
DEVICE_DEVS3=deskjet.dev djet500.dev laserjet.dev ljetplus.dev ljet2p.dev ljet3.dev ljet4.dev
! DEVICE_DEVS4=cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev pjxl.dev pjxl300.dev
DEVICE_DEVS5=uniprint.dev
DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev
DEVICE_DEVS7=faxg3.dev faxg32d.dev faxg4.dev
--- 260,268 ----
DEVICE_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11gray2.dev x11mono.dev
DEVICE_DEVS1=
! DEVICE_DEVS2=epson.dev eps9high.dev epsonc.dev ibmpro.dev
DEVICE_DEVS3=deskjet.dev djet500.dev laserjet.dev ljetplus.dev ljet2p.dev ljet3.dev ljet4.dev
! DEVICE_DEVS4=cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev pjxl.dev hpdj.dev
DEVICE_DEVS5=uniprint.dev
DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev
DEVICE_DEVS7=faxg3.dev faxg32d.dev faxg4.dev

View File

@ -1,6 +1,15 @@
--- gs_init.ps.orig Thu Jan 2 19:23:13 1997
+++ gs_init.ps Thu Jan 2 19:24:46 1997
@@ -1363,3 +1363,7 @@
--- gs_init.ps.orig Wed Jun 30 17:46:34 1999
+++ gs_init.ps Wed Jun 30 20:18:15 1999
@@ -68,7 +68,7 @@
systemdict /.languagelevel known not { /.languagelevel 1 def } if
% Optionally choose a default paper size other than U.S. letter.
-% (a4) /PAPERSIZE where { pop pop } { /PAPERSIZE exch def } ifelse
+(a4) /PAPERSIZE where { pop pop } { /PAPERSIZE exch def } ifelse
% Turn on array packing for the rest of initialization.
true setpacking
@@ -1465,3 +1465,20 @@
(END GC) VMDEBUG
% The interpreter will run the initial procedure (start).
@ -8,3 +17,16 @@
+% unofficial patch:
+% make it possible to print from within acroread pdf viewer
+/Default currenthalftone /Halftone defineresource pop
+
+% load initial CID-keyed fonts(Korean. KSC-EUC-H).
+% It should be in Fontmap, but to avoid loading two or more time.
+% (it can stop the interpreter - /rangecheck error)
+%
+QUIET not { (Loading CID(Korean) Fonts: ) print } if
+% font loading start
+(Munhwa-Regular-KSC-EUC-H.gsf) runlibfile
+QUIET not { (Munhwa-Regular-KSC-EUC-H ) print } if
+(MunhwaGothic-Regular-KSC-EUC-H.gsf) runlibfile
+QUIET not { (MunhwaGothic-Regular-KSC-EUC-H ) print } if
+% end of font loading
+QUIET not { (\n) print } if

View File

@ -0,0 +1,19 @@
*** unix-end.mak.orig Fri Dec 25 10:45:04 1998
--- unix-end.mak Fri Dec 25 10:47:40 1998
***************
*** 91,97 ****
do if ( test -f $$f ); then $(INSTALL_PROGRAM) $$f $(scriptdir)/$$f; fi;\
done'
! MAN1_PAGES=gs pdf2dsc pdf2ps ps2ascii ps2epsi ps2pdf
install-data: gs.1
-mkdir $(mandir)
-mkdir $(man1dir)
--- 91,97 ----
do if ( test -f $$f ); then $(INSTALL_PROGRAM) $$f $(scriptdir)/$$f; fi;\
done'
! MAN1_PAGES=gs pdf2dsc pdf2ps ps2ascii ps2epsi ps2pdf gs-hpdj
install-data: gs.1
-mkdir $(mandir)
-mkdir $(man1dir)

View File

@ -10,13 +10,9 @@ This version can handle Korean(and Japanese) Truetype fonts
using FreeType library. It also has some bugfix for correctly working
CID-Keyed fonts.
Korean CID-Keyed fonts(Munhwa and MunhwaGothic) is provided by
Adobe, and original Type 1 fonts is from Ministry of Culture and Sports
of Korea Government. These fonts are free to use.
GS with Korean Web page:
http://jazz.snu.ac.kr/~junker/work/gs-ko/
http://www.kr.freebsd.org/~cjh/freetime/printings/gs-ko/
--
Ports by CHOI Junho <cjh@kr.freebsd.org>
WWW: http://jazz.snu.ac.kr/~junker/work/gs-ko/
WWW: http://www.kr.freebsd.org/~cjh/freetime/printings/gs-ko/

View File

@ -14,6 +14,9 @@ bin/ps2ascii
bin/ps2epsi
bin/ps2pdf
bin/wftopfa
libexec/lpr/if-hpdj
libexec/lpr/pj-gs.sh
libexec/lpr/sysvlp.sh
share/ghostscript/5.10ft/Fontmap
share/ghostscript/5.10ft/acctest.ps
share/ghostscript/5.10ft/align.ps
@ -41,7 +44,6 @@ share/ghostscript/5.10ft/cdj550.upp
share/ghostscript/5.10ft/decrypt.ps
share/ghostscript/5.10ft/doc/COPYING
share/ghostscript/5.10ft/doc/NEWS
share/ghostscript/5.10ft/doc/PUBLIC
share/ghostscript/5.10ft/doc/README
share/ghostscript/5.10ft/doc/README.ko
share/ghostscript/5.10ft/doc/bug-form.txt
@ -207,199 +209,8 @@ share/ghostscript/5.10ft/wftopfa.ps
share/ghostscript/5.10ft/winmaps.ps
share/ghostscript/5.10ft/wrfont.ps
share/ghostscript/5.10ft/zeroline.ps
share/ghostscript/fonts/CMap/Adobe-Korea1-0
share/ghostscript/fonts/CMap/Adobe-Korea1-1
share/ghostscript/fonts/CMap/KSC-EUC-H
share/ghostscript/fonts/CMap/KSC-EUC-V
share/ghostscript/fonts/CMap/KSC-H
share/ghostscript/fonts/CMap/KSC-Johab-H
share/ghostscript/fonts/CMap/KSC-Johab-V
share/ghostscript/fonts/CMap/KSC-V
share/ghostscript/fonts/CMap/KSCms-UHC-H
share/ghostscript/fonts/CMap/KSCms-UHC-HW-H
share/ghostscript/fonts/CMap/KSCms-UHC-HW-V
share/ghostscript/fonts/CMap/KSCms-UHC-V
share/ghostscript/fonts/CMap/KSCpc-EUC-H
share/ghostscript/fonts/CMap/KSCpc-EUC-V
share/ghostscript/fonts/CMap/UniKS-UCS2-H
share/ghostscript/fonts/CMap/UniKS-UCS2-V
share/ghostscript/fonts/CMap/UniKS-UTF8-H
share/ghostscript/fonts/CMap/UniKS-UTF8-V
share/ghostscript/fonts/Munhwa-Regular
share/ghostscript/fonts/Munhwa-Regular-KSC-EUC-H.gsf
share/ghostscript/fonts/MunhwaGothic-Regular
share/ghostscript/fonts/MunhwaGothic-Regular-KSC-EUC-H.gsf
share/ghostscript/fonts/a010013l.afm
share/ghostscript/fonts/a010013l.pfb
share/ghostscript/fonts/a010013l.pfm
share/ghostscript/fonts/a010015l.afm
share/ghostscript/fonts/a010015l.pfb
share/ghostscript/fonts/a010015l.pfm
share/ghostscript/fonts/a010033l.afm
share/ghostscript/fonts/a010033l.pfb
share/ghostscript/fonts/a010033l.pfm
share/ghostscript/fonts/a010035l.afm
share/ghostscript/fonts/a010035l.pfb
share/ghostscript/fonts/a010035l.pfm
share/ghostscript/fonts/b018012l.afm
share/ghostscript/fonts/b018012l.pfb
share/ghostscript/fonts/b018012l.pfm
share/ghostscript/fonts/b018015l.afm
share/ghostscript/fonts/b018015l.pfb
share/ghostscript/fonts/b018015l.pfm
share/ghostscript/fonts/b018032l.afm
share/ghostscript/fonts/b018032l.pfb
share/ghostscript/fonts/b018032l.pfm
share/ghostscript/fonts/b018035l.afm
share/ghostscript/fonts/b018035l.pfb
share/ghostscript/fonts/b018035l.pfm
share/ghostscript/fonts/bchb.afm
share/ghostscript/fonts/bchb.pfa
share/ghostscript/fonts/bchbi.afm
share/ghostscript/fonts/bchbi.pfa
share/ghostscript/fonts/bchr.afm
share/ghostscript/fonts/bchr.pfa
share/ghostscript/fonts/bchri.afm
share/ghostscript/fonts/bchri.pfa
share/ghostscript/fonts/c059013l.afm
share/ghostscript/fonts/c059013l.pfb
share/ghostscript/fonts/c059013l.pfm
share/ghostscript/fonts/c059016l.afm
share/ghostscript/fonts/c059016l.pfb
share/ghostscript/fonts/c059016l.pfm
share/ghostscript/fonts/c059033l.afm
share/ghostscript/fonts/c059033l.pfb
share/ghostscript/fonts/c059033l.pfm
share/ghostscript/fonts/c059036l.afm
share/ghostscript/fonts/c059036l.pfb
share/ghostscript/fonts/c059036l.pfm
share/ghostscript/fonts/d050000l.afm
share/ghostscript/fonts/d050000l.pfb
share/ghostscript/fonts/d050000l.pfm
share/ghostscript/fonts/fcyr.afm
share/ghostscript/fonts/fcyr.gsf
share/ghostscript/fonts/fcyri.afm
share/ghostscript/fonts/fcyri.gsf
share/ghostscript/fonts/fhirw.gsf
share/ghostscript/fonts/fhirw.pfm
share/ghostscript/fonts/fkarw.gsf
share/ghostscript/fonts/fkarw.pfm
share/ghostscript/fonts/hrger.pfa
share/ghostscript/fonts/hrgerb.gsf
share/ghostscript/fonts/hrgerd.gsf
share/ghostscript/fonts/hrgero.gsf
share/ghostscript/fonts/hrgkc.gsf
share/ghostscript/fonts/hrgks.gsf
share/ghostscript/fonts/hrgrr.pfa
share/ghostscript/fonts/hrgrrb.gsf
share/ghostscript/fonts/hrgrro.gsf
share/ghostscript/fonts/hritr.pfa
share/ghostscript/fonts/hritrb.gsf
share/ghostscript/fonts/hritro.gsf
share/ghostscript/fonts/hrpld.pfa
share/ghostscript/fonts/hrpldb.gsf
share/ghostscript/fonts/hrpldbi.gsf
share/ghostscript/fonts/hrpldi.pfa
share/ghostscript/fonts/hrplr.gsf
share/ghostscript/fonts/hrplrb.gsf
share/ghostscript/fonts/hrplrbo.gsf
share/ghostscript/fonts/hrplro.gsf
share/ghostscript/fonts/hrpls.gsf
share/ghostscript/fonts/hrplsb.gsf
share/ghostscript/fonts/hrplsbo.gsf
share/ghostscript/fonts/hrplso.gsf
share/ghostscript/fonts/hrplt.pfa
share/ghostscript/fonts/hrpltb.gsf
share/ghostscript/fonts/hrpltbi.gsf
share/ghostscript/fonts/hrplti.pfa
share/ghostscript/fonts/hrscc.pfa
share/ghostscript/fonts/hrsccb.gsf
share/ghostscript/fonts/hrscco.gsf
share/ghostscript/fonts/hrscs.pfa
share/ghostscript/fonts/hrscsb.gsf
share/ghostscript/fonts/hrscso.gsf
share/ghostscript/fonts/hrsyr.gsf
share/ghostscript/fonts/n019003l.afm
share/ghostscript/fonts/n019003l.pfb
share/ghostscript/fonts/n019003l.pfm
share/ghostscript/fonts/n019004l.afm
share/ghostscript/fonts/n019004l.pfb
share/ghostscript/fonts/n019004l.pfm
share/ghostscript/fonts/n019023l.afm
share/ghostscript/fonts/n019023l.pfb
share/ghostscript/fonts/n019023l.pfm
share/ghostscript/fonts/n019024l.afm
share/ghostscript/fonts/n019024l.pfb
share/ghostscript/fonts/n019024l.pfm
share/ghostscript/fonts/n019043l.afm
share/ghostscript/fonts/n019043l.pfb
share/ghostscript/fonts/n019043l.pfm
share/ghostscript/fonts/n019044l.afm
share/ghostscript/fonts/n019044l.pfb
share/ghostscript/fonts/n019044l.pfm
share/ghostscript/fonts/n019063l.afm
share/ghostscript/fonts/n019063l.pfb
share/ghostscript/fonts/n019063l.pfm
share/ghostscript/fonts/n019064l.afm
share/ghostscript/fonts/n019064l.pfb
share/ghostscript/fonts/n019064l.pfm
share/ghostscript/fonts/n021003l.afm
share/ghostscript/fonts/n021003l.pfb
share/ghostscript/fonts/n021003l.pfm
share/ghostscript/fonts/n021004l.afm
share/ghostscript/fonts/n021004l.pfb
share/ghostscript/fonts/n021004l.pfm
share/ghostscript/fonts/n021023l.afm
share/ghostscript/fonts/n021023l.pfb
share/ghostscript/fonts/n021023l.pfm
share/ghostscript/fonts/n021024l.afm
share/ghostscript/fonts/n021024l.pfb
share/ghostscript/fonts/n021024l.pfm
share/ghostscript/fonts/n022003l.afm
share/ghostscript/fonts/n022003l.pfb
share/ghostscript/fonts/n022003l.pfm
share/ghostscript/fonts/n022004l.afm
share/ghostscript/fonts/n022004l.pfb
share/ghostscript/fonts/n022004l.pfm
share/ghostscript/fonts/n022023l.afm
share/ghostscript/fonts/n022023l.pfb
share/ghostscript/fonts/n022023l.pfm
share/ghostscript/fonts/n022024l.afm
share/ghostscript/fonts/n022024l.pfb
share/ghostscript/fonts/n022024l.pfm
share/ghostscript/fonts/p052003l.afm
share/ghostscript/fonts/p052003l.pfb
share/ghostscript/fonts/p052003l.pfm
share/ghostscript/fonts/p052004l.afm
share/ghostscript/fonts/p052004l.pfb
share/ghostscript/fonts/p052004l.pfm
share/ghostscript/fonts/p052023l.afm
share/ghostscript/fonts/p052023l.pfb
share/ghostscript/fonts/p052023l.pfm
share/ghostscript/fonts/p052024l.afm
share/ghostscript/fonts/p052024l.pfb
share/ghostscript/fonts/p052024l.pfm
share/ghostscript/fonts/putb.pfa
share/ghostscript/fonts/putbi.pfa
share/ghostscript/fonts/putr.pfa
share/ghostscript/fonts/putri.pfa
share/ghostscript/fonts/s050000l.afm
share/ghostscript/fonts/s050000l.pfb
share/ghostscript/fonts/s050000l.pfm
share/ghostscript/fonts/u003043t.afm
share/ghostscript/fonts/u003043t.gsf
share/ghostscript/fonts/u003043t.pfm
share/ghostscript/fonts/u004006t.afm
share/ghostscript/fonts/u004006t.gsf
share/ghostscript/fonts/u004006t.pfm
share/ghostscript/fonts/z003034l.afm
share/ghostscript/fonts/z003034l.pfb
share/ghostscript/fonts/z003034l.pfm
@dirrm share/ghostscript/fonts/CMap
@dirrm share/ghostscript/fonts
@dirrm share/ghostscript/5.10ft/doc
@dirrm share/ghostscript/5.10ft/examples
@dirrm share/ghostscript/5.10ft/hangul
@dirrm share/ghostscript/5.10ft/kanji
@dirrm share/ghostscript/5.10ft
@dirrm share/ghostscript