added and updated printer drivers.

PR:		ports/10498
Submitted by:	Maintainer = MITA Yoshio <mita@jp.FreeBSD.org>
This commit is contained in:
Satoshi Taoka 1999-03-15 12:37:44 +00:00
parent 48801ace44
commit 1be90d606d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=17232
5 changed files with 45 additions and 45 deletions

View File

@ -3,7 +3,7 @@
# Date created: 26 Aug 1997
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
#
# $Id: Makefile,v 1.28 1998/12/23 18:51:31 steve Exp $
# $Id: Makefile,v 1.29 1999/02/13 00:34:47 asami Exp $
#
DISTNAME= ghostscript-5.50
@ -23,7 +23,8 @@ MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/gs550/ \
http://www.rd.nacsis.ac.jp/~katayama/homepage/ghostscript/jpdf/ \
http://itohws03.ee.noda.sut.ac.jp/~matsuda/VFlib-FT/ \
http://www.ceres.dti.ne.jp/~owatanab/gdevnpdl/ \
ftp://ftp.humblesoft.com/pub/
ftp://ftp.humblesoft.com/pub/ \
http://www.necs.co.jp/~umi/
DISTFILES= ${GS_SOURCES} ${GS_DRIVERS} ${GS_FONTS_STD} ${GS_FONTS_OTHER}
MAINTAINER= mita@jp.FreeBSD.org
@ -33,7 +34,7 @@ LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib
EXTRACT_ONLY= ghostscript-5.50.tar.gz jpegsrc.v6b.tar.gz libpng-1.0.2.tar.gz
WRKSRC= ${WRKDIR}/gs5.50
MAKEFILE= unix-gcc.mak
#MAKE_FLAGS= prefix=${PREFIX} zlibc_=-lz CFLAGS="${CFLAGS}" -f
#MAKE_FLAGS= prefix=${PREFIX} CFLAGS="${CFLAGS}" -f
ALL_TARGET=
MAN1= gs.1 pdf2ps.1 ps2ascii.1 ps2epsi.1 ps2pdf.1 pdf2dsc.1 ps2ps.1
@ -52,7 +53,8 @@ GS_DRIVERS+= gdevrpdl.tar.gz
GS_DRIVERS+= gdev10v.tar.gz
GS_DRIVERS+= dmprt-2.01.tar.gz
GS_DRIVERS+= gdevnpdl-1.5.tar.gz
GS_DRIVERS+= epag-3.07.tar.gz
GS_DRIVERS+= epag-3.08.tar.gz
GS_DRIVERS+= gdevalps-0.1.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
@ -84,16 +86,18 @@ post-patch:
${MKDIR} ${PRINTER}/gdevdmpr ; \
tar -C gdevdmpr -xzf ${DISTDIR}/dmprt-2.01.tar.gz ; \
tar xzf ${DISTDIR}/gdevnpdl-1.5.tar.gz ; \
tar xzf ${DISTDIR}/epag-3.07.tar.gz ; \
tar xzf ${DISTDIR}/epag-3.08.tar.gz ; \
tar xzf ${DISTDIR}/gdevalps-0.1.tar.gz ; \
${CP} gdev10v/gdev10v.c gdev10v/gdev10v.mak ${WRKSRC}; \
${CP} gdevmjc-0.7/gdevmjc.c gdevmjc-0.7/mjc.dev ${WRKSRC}; \
${CP} gdevlips-2.0.0/gdevlips.c gdevlips-2.0.0/gdevlips.mak ${WRKSRC}; \
${CP} gdevlips-2.0.0/gdevl4r.c gdevlips-2.0.0/gdevlips.h ${WRKSRC}; \
${CP} gdevdmpr/gdevdmpr.c gdevdmpr/gdevdmpr.mak ${WRKSRC}; \
${CP} gdevdmpr/dviprlib.c gdevdmpr/dviprlib.h ${WRKSRC}; \
${CP} epag-3.07/gdevepag.c epag-3.07/gdevepag.mak ${WRKSRC}; \
${CP} epag-3.08/gdevepag.c epag-3.08/gdevepag.mak ${WRKSRC}; \
${CP} gdevrpdl/gdevrpdl.c gdevrpdl/gdevrpdl.mak ${WRKSRC}; \
${CP} gdevnpdl/gdevnpdl.c gdevnpdl/gdevnpdl.mak ${WRKSRC}; \
${CP} gdevalps/gdevalps.c gdevalps/gdevalps.mk ${WRKSRC}; \
)
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/gdev10v.mak.patch
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/mjc.dev.patch
@ -101,6 +105,7 @@ post-patch:
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/gdevepag.mak.patch
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/gdevnpdl.mak.patch
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/gdevrpdl.mak.patch
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/gdevalps.mak.patch
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/gdevmjc.c.patch
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/gdevdmpr.patch
@${CAT} ${WRKSRC}/gdev10v.mak >> ${WRKSRC}/contrib.mak
@ -110,9 +115,10 @@ post-patch:
@${CAT} ${WRKSRC}/gdevrpdl.mak >> ${WRKSRC}/contrib.mak
@${CAT} ${WRKSRC}/gdevnpdl.mak >> ${WRKSRC}/contrib.mak
@${CAT} ${WRKSRC}/mjc.dev >> ${WRKSRC}/contrib.mak
@${CAT} ${WRKSRC}/gdevalps.mk >> ${WRKSRC}/contrib.mak
post-build:
@(cd ${PRINTER}/epag-3.07 ; ${MAKE})
@(cd ${PRINTER}/epag-3.08 ; ${MAKE})
pre-install:
@${MKDIR} ${PREFIX}/share/ghostscript
@ -120,7 +126,7 @@ pre-install:
@tar -C ${PREFIX}/share/ghostscript/fonts -xzf ${DISTDIR}/${GS_FONTS_OTHER}
post-install:
${INSTALL_PROGRAM} ${PRINTER}/epag-3.07/ert ${PREFIX}/bin
${INSTALL_PROGRAM} ${PRINTER}/epag-3.08/ert ${PREFIX}/bin
@strip ${PREFIX}/bin/gs
@( \
${CP} ${WRKSRC}/gs5.50-vflib-1.0/README ${DOC_DIR}/README.gs5.10-vflib ; \
@ -138,12 +144,12 @@ post-install:
${CP} ${PRINTER}/gdevdmpr/dmp_site.ps ${GSINST_DIR} ; \
${CP} ${PRINTER}/gdevdmpr/escp_24.src ${GSINST_DIR} ; \
${CP} ${PRINTER}/gdevdmpr/testpage.ps ${GSINST_DIR} ; \
${MKDIR} ${DOC_DIR}/epag-3.07 ; \
${CP} ${PRINTER}/epag-3.07/FILES ${DOC_DIR}/epag-3.07 ; \
${CP} ${PRINTER}/epag-3.07/*.txt ${DOC_DIR}/epag-3.07 ; \
${CP} ${PRINTER}/epag-3.07/adjust.ps ${DOC_DIR}/epag-3.07 ; \
${CP} ${PRINTER}/epag-3.07/gsepagif.sh ${DOC_DIR}/epag-3.07 ; \
${CP} ${PRINTER}/epag-3.07/psprint ${DOC_DIR}/epag-3.07 ; \
${MKDIR} ${DOC_DIR}/epag-3.08 ; \
${CP} ${PRINTER}/epag-3.08/FILES ${DOC_DIR}/epag-3.08 ; \
${CP} ${PRINTER}/epag-3.08/*.txt ${DOC_DIR}/epag-3.08 ; \
${CP} ${PRINTER}/epag-3.08/adjust.ps ${DOC_DIR}/epag-3.08 ; \
${CP} ${PRINTER}/epag-3.08/gsepagif.sh ${DOC_DIR}/epag-3.08 ; \
${CP} ${PRINTER}/epag-3.08/psprint ${DOC_DIR}/epag-3.08 ; \
)
.if defined(PDFENCRYPT)
@${CP} -f ${DISTDIR}/pdf_sec.ps ${GSINST_DIR}

View File

@ -8,6 +8,8 @@ MD5 (gdevrpdl.tar.gz) = 9606f3cca1a8f85be76944fa4eda09b7
MD5 (gdev10v.tar.gz) = 1486bb54c214ce215044a6c606280d73
MD5 (dmprt-2.01.tar.gz) = c7a9fb127fde5d888a798bf5e1822b88
MD5 (gdevnpdl-1.5.tar.gz) = 8b1185b489c14c723f0fd0960fccffa0
MD5 (epag-3.07.tar.gz) = 9f6232e89b89dd9257d0caae414b998b
MD5 (epag-3.08.tar.gz) = e5e57176f55abc2c5224d405b5c402d1
MD5 (gdevalps-0.1.tar.gz) = 67c9da9feae4e16938e43d5430cbd9c5
MD5 (ghostscript-fonts-std-5.50.tar.gz) = 8462a429e2672d332a510da076dca6d2
MD5 (ghostscript-fonts-other-5.50.tar.gz) = e3540578f33caf5dfc384e5518890f57
MD5 (pdf_sec.ps) = 33b855032c90a0e0e6d5a460be82c749

View File

@ -1,21 +1,12 @@
*** gdevepag.mak.orig Sun Nov 15 23:30:40 1998
--- gdevepag.mak Sun Nov 15 23:40:28 1998
***************
*** 1,7 ****
--- gdevepag.mak.orig Tue Mar 9 09:45:25 1999
+++ gdevepag.mak Tue Mar 9 09:51:22 1999
@@ -1,6 +1,7 @@
### ------- Epson ESC/Page printer device ----------------- ###
-epag_ = gdevepag.$(OBJ)
-gdevepag.$(OBJ): gdevepag.c $(PDEVH)
+epag_ = $(GLOBJ)gdevepag.$(OBJ) $(GLOBJ)gdevprn.$(OBJ)
+$(GLOBJ)gdevepag.$(OBJ): $(GLSRC)gdevepag.c $(PDEVH)
+ $(GLCC) $(GLO_)gdevepag.$(OBJ) $(C_) $(GLSRC)gdevepag.c
! epag_ = gdevepag.$(OBJ) gdevprn.$(OBJ)
! epag.dev: gdevepag.$(OBJ)
! $(SETPDEV) epag gdevepag.$(OBJ)
--- 1,9 ----
### ------- Epson ESC/Page printer device ----------------- ###
! epag_ = $(GLOBJ)gdevepag.$(OBJ) $(GLOBJ)gdevprn.$(OBJ)
! $(GLOBJ)gdevepag.$(OBJ): $(GLSRC)gdevepag.c $(PDEVH)
! $(GLCC) $(GLO_)gdevepag.$(OBJ) $(C_) $(GLSRC)gdevepag.c
! epag.dev: $(epag_)
! $(SETPDEV) epag $(epag_)
epag.dev: $(epag_) page.dev
$(SETPDEV) epag $(epag_)

View File

@ -109,12 +109,12 @@ share/ghostscript/5.50vflib/doc/gdevdmpr.sj
share/ghostscript/5.50vflib/doc/gdevnpdl.jis
share/ghostscript/5.50vflib/doc/gs_statd.dif
share/ghostscript/5.50vflib/doc/gslipsif.sh
share/ghostscript/5.50vflib/doc/epag-3.07/FILES
share/ghostscript/5.50vflib/doc/epag-3.07/gdevepag.txt
share/ghostscript/5.50vflib/doc/epag-3.07/ert.txt
share/ghostscript/5.50vflib/doc/epag-3.07/adjust.ps
share/ghostscript/5.50vflib/doc/epag-3.07/gsepagif.sh
share/ghostscript/5.50vflib/doc/epag-3.07/psprint
share/ghostscript/5.50vflib/doc/epag-3.08/FILES
share/ghostscript/5.50vflib/doc/epag-3.08/gdevepag.txt
share/ghostscript/5.50vflib/doc/epag-3.08/ert.txt
share/ghostscript/5.50vflib/doc/epag-3.08/adjust.ps
share/ghostscript/5.50vflib/doc/epag-3.08/gsepagif.sh
share/ghostscript/5.50vflib/doc/epag-3.08/psprint
share/ghostscript/5.50vflib/gs_btokn.ps
share/ghostscript/5.50vflib/gs_ccfnt.ps
share/ghostscript/5.50vflib/gs_cff.ps
@ -399,7 +399,7 @@ share/ghostscript/fonts/fcyri.afm
share/ghostscript/fonts/u003043t.afm
share/ghostscript/fonts/u004006t.afm
@dirrm share/ghostscript/fonts
@dirrm share/ghostscript/5.50vflib/doc/epag-3.07
@dirrm share/ghostscript/5.50vflib/doc/epag-3.08
@dirrm share/ghostscript/5.50vflib/doc
@dirrm share/ghostscript/5.50vflib/examples
@dirrm share/ghostscript/5.50vflib/vflib

View File

@ -4,7 +4,7 @@
if [ ! "X"${BATCH} = "X" ] ; then
PRINTER_JAPAN=' epag.dev mjc180.dev mjc360.dev mjc720.dev mj500c.dev lips3.dev lips4.dev lips4c.dev rpdlA3.dev rpdlA4.dev rpdlB4.dev rpdlB5.dev bj10v.dev bj10vh.dev dmprt.dev npdl.dev'
PRINTER_JAPAN=' epag.dev mjc180.dev mjc360.dev mjc720.dev mj500c.dev lips3.dev lips4.dev lips4c.dev rpdlA3.dev rpdlA4.dev rpdlB4.dev rpdlB5.dev bj10v.dev bj10vh.dev dmprt.dev npdl.dev alps.dev'
sed -e "s;XINCLUDE=-I/usr/local/X/include;XINCLUDE=-I/usr/X11R6/include;" \
-e "s;XLIBDIRS=-L/usr/X11/lib;XLIBDIRS=-L/usr/X11R6/lib;" \
@ -74,6 +74,7 @@ Have fun with this new configuration style ! -andreas \n\n\
"x11gray2" "X masquer. as device with 2-bit gray-scale device" ON \
"x11gray4" "X masquer. as device with 4-bit gray-scale device" OFF \
"x11mono" "X masquer. as black-and-white device" ON \
"alps" "ALPS MD5000 monochrome printer driver" ON \
"appledmp" "Apple Dot Matrix Printer / Imagewriter" OFF \
"iwhi" "Apple Imagewriter, high-resolution mode" OFF \
"iwlo" "Apple Imagewriter, low-resolution mode" OFF \