diff options
author | Andreas Klemm <andreas@FreeBSD.org> | 1997-06-11 06:20:47 +0000 |
---|---|---|
committer | Andreas Klemm <andreas@FreeBSD.org> | 1997-06-11 06:20:47 +0000 |
commit | 788376e24db31cdc3880bf56b13b40b05015b3a0 (patch) | |
tree | 587e74390c2f4885c85f4f5a25bf410568518f9a /print/ghostscript7 | |
parent | 5d28064859c9928a11d1239b4b25a3c5164a517a (diff) | |
download | ports-788376e24db31cdc3880bf56b13b40b05015b3a0.tar.gz ports-788376e24db31cdc3880bf56b13b40b05015b3a0.zip |
Notes
Diffstat (limited to 'print/ghostscript7')
-rw-r--r-- | print/ghostscript7/Makefile | 65 | ||||
-rw-r--r-- | print/ghostscript7/distinfo | 4 | ||||
-rw-r--r-- | print/ghostscript7/files/patch-aa | 37 | ||||
-rw-r--r-- | print/ghostscript7/files/patch-ab | 10 | ||||
-rw-r--r-- | print/ghostscript7/pkg-comment | 1 | ||||
-rw-r--r-- | print/ghostscript7/pkg-descr | 20 | ||||
-rw-r--r-- | print/ghostscript7/pkg-plist | 337 | ||||
-rw-r--r-- | print/ghostscript7/scripts/configure | 210 | ||||
-rw-r--r-- | print/ghostscript7/scripts/configure.batch | 17 |
9 files changed, 701 insertions, 0 deletions
diff --git a/print/ghostscript7/Makefile b/print/ghostscript7/Makefile new file mode 100644 index 000000000000..d0ce7d07f521 --- /dev/null +++ b/print/ghostscript7/Makefile @@ -0,0 +1,65 @@ +# New ports collection makefile for: ghostscript +# Version required: 5.0 +# Date created: Tue Jun 10 21:58:54 CEST 1997 +# Whom: Andreas Klemm <andreas@klemm.gtn.com> +# +# $Id$ +# + +DISTNAME= ghostscript-5.0 +CATEGORIES= print +MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/ +DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} + +MAINTAINER= andreas@FreeBSD.org + +BUILD_DEPENDS= /nonexistent:${PORTSDIR}/graphics/jpeg \ + /nonexistent:${PORTSDIR}/graphics/png +DEPENDS_TARGET= extract + +MAKE_ENV= PORTSDIR=${PORTSDIR} +EXTRACT_ONLY= ${GS_SOURCES} +WRKSRC= ${WRKDIR}/gs5.0 +MAKEFILE= unix-gcc.mak +MAKE_FLAGS= prefix=${PREFIX} zlibc_=-lz CFLAGS="${CFLAGS}" -f +MAN1= gs.1 pdf2dsc.1 pdf2ps.1 ps2ascii.1 ps2epsi.1 ps2pdf.1 + +GS_SOURCES= ghostscript-5.0.tar.gz +GS_SOURCES+= ghostscript-5.0gnu.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-4.0.tar.gz +GS_FONTS_OTHER= ghostscript-fonts-other-5.0.tar.gz + +#if you are using DIN A4 paper format, keep this _here_ before MAKE_FLAGS +CFLAGS+= -DA4 + +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 + +do-configure: +.if defined(BATCH) + @${SETENV} PORTSDIR=${PORTSDIR} WRKSRC=${WRKSRC} \ + /bin/sh ${SCRIPTDIR}/configure.batch +.else + @${SETENV} PORTSDIR=${PORTSDIR} WRKSRC=${WRKSRC} \ + /bin/sh ${SCRIPTDIR}/configure +.endif + +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 ; tar -xzf ${DISTDIR}/${GS_FONTS_OTHER}) + +post-install: + strip ${PREFIX}/bin/gs + +.include <bsd.port.mk> + diff --git a/print/ghostscript7/distinfo b/print/ghostscript7/distinfo new file mode 100644 index 000000000000..cee99b2827d1 --- /dev/null +++ b/print/ghostscript7/distinfo @@ -0,0 +1,4 @@ +MD5 (ghostscript-5.0.tar.gz) = ee33f94a413f5476d8021aee8c84563d +MD5 (ghostscript-5.0gnu.tar.gz) = 1f394adbb2720502d74023d9862a1935 +MD5 (ghostscript-fonts-std-4.0.tar.gz) = 1e0fe2149affd80deaaae144227049b9 +MD5 (ghostscript-fonts-other-5.0.tar.gz) = 703bcc5592f4b4644cda454bcc45c7d6 diff --git a/print/ghostscript7/files/patch-aa b/print/ghostscript7/files/patch-aa new file mode 100644 index 000000000000..c6d98d45fa38 --- /dev/null +++ b/print/ghostscript7/files/patch-aa @@ -0,0 +1,37 @@ +--- unix-gcc.mak.original Thu Oct 17 07:48:54 1996 ++++ unix-gcc.mak Thu Oct 17 07:49:07 1996 +@@ -165,7 +165,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 +@@ -3352,7 +3352,7 @@ + zlibe_1.dev: $(ZLIB_MAK) $(ECHOGS_XE) + $(SETMOD) zlibe_1 -lib gz + +-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 +@@ -3376,11 +3376,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) + $(CCCZ) $(ZSRC)infblock.c diff --git a/print/ghostscript7/files/patch-ab b/print/ghostscript7/files/patch-ab new file mode 100644 index 000000000000..aee04b39d512 --- /dev/null +++ b/print/ghostscript7/files/patch-ab @@ -0,0 +1,10 @@ +--- 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 @@ + (END GC) VMDEBUG + + % The interpreter will run the initial procedure (start). ++ ++% unofficial patch: ++% make it possible to print from within acroread pdf viewer ++/Default currenthalftone /Halftone defineresource pop diff --git a/print/ghostscript7/pkg-comment b/print/ghostscript7/pkg-comment new file mode 100644 index 000000000000..7c33868368f5 --- /dev/null +++ b/print/ghostscript7/pkg-comment @@ -0,0 +1 @@ +Aladdin Postscript interpreter. diff --git a/print/ghostscript7/pkg-descr b/print/ghostscript7/pkg-descr new file mode 100644 index 000000000000..f11756968608 --- /dev/null +++ b/print/ghostscript7/pkg-descr @@ -0,0 +1,20 @@ +This is Aladdin Ghostscript 5.0, the non-GPL version that comes +with a licence different from the GPL. Read the file PUBLIC in the +work/gs5.0 directory or in /usr/local/share/ghostscript/5.0/doc/PUBLIC +after installation for details ! + +Ghostscript is the well-known PostScript interpreter which is +available for all common and most esoteric platforms and supports +many different printers and some displays. + +The official ghostscript Web page: + http://www.cs.wisc.edu/~ghost/index.html + +Thomas Merz has written a Ghostscript manual which is available in +PDF from this site (456k) and also from Thomas Merz's site in Germany. + + http://www.cs.wisc.edu/~ghost/merz.html + +On the german site the manual is also available in German language. + + http://www.muc.de/~tm/free/free.html diff --git a/print/ghostscript7/pkg-plist b/print/ghostscript7/pkg-plist new file mode 100644 index 000000000000..fca7ba799980 --- /dev/null +++ b/print/ghostscript7/pkg-plist @@ -0,0 +1,337 @@ +bin/bdftops +bin/font2c +bin/gs +bin/gsbj +bin/gsdj +bin/gsdj500 +bin/gslj +bin/gslp +bin/gsnd +bin/pdf2dsc +bin/pdf2ps +bin/printafm +bin/ps2ascii +bin/ps2epsi +bin/ps2pdf +bin/wftopfa +man/man1/gs.1.gz +man/man1/pdf2dsc.1.gz +man/man1/pdf2ps.1.gz +man/man1/ps2ascii.1.gz +man/man1/ps2epsi.1.gz +man/man1/ps2pdf.1.gz +share/ghostscript/5.0/Fontmap +share/ghostscript/5.0/acctest.ps +share/ghostscript/5.0/align.ps +share/ghostscript/5.0/bdftops.ps +share/ghostscript/5.0/caption.ps +share/ghostscript/5.0/cbjc600.ppd +share/ghostscript/5.0/cbjc800.ppd +share/ghostscript/5.0/cdj550.upp +share/ghostscript/5.0/decrypt.ps +share/ghostscript/5.0/doc/COPYING +share/ghostscript/5.0/doc/NEWS +share/ghostscript/5.0/doc/PUBLIC +share/ghostscript/5.0/doc/README +share/ghostscript/5.0/doc/bug-form.txt +share/ghostscript/5.0/doc/c-style.txt +share/ghostscript/5.0/doc/current.txt +share/ghostscript/5.0/doc/devices.txt +share/ghostscript/5.0/doc/drivers.txt +share/ghostscript/5.0/doc/fonts.txt +share/ghostscript/5.0/doc/helpers.txt +share/ghostscript/5.0/doc/hershey.txt +share/ghostscript/5.0/doc/history1.txt +share/ghostscript/5.0/doc/history2.txt +share/ghostscript/5.0/doc/history3.txt +share/ghostscript/5.0/doc/humor.txt +share/ghostscript/5.0/doc/install.txt +share/ghostscript/5.0/doc/language.txt +share/ghostscript/5.0/doc/lib.txt +share/ghostscript/5.0/doc/make.txt +share/ghostscript/5.0/doc/new-user.txt +share/ghostscript/5.0/doc/ps2epsi.txt +share/ghostscript/5.0/doc/ps2pdf.txt +share/ghostscript/5.0/doc/psfiles.txt +share/ghostscript/5.0/doc/public.txt +share/ghostscript/5.0/doc/unix-lpr.txt +share/ghostscript/5.0/doc/use.txt +share/ghostscript/5.0/doc/xfonts.txt +share/ghostscript/5.0/docie.ps +share/ghostscript/5.0/examples/alphabet.ps +share/ghostscript/5.0/examples/cheq.ps +share/ghostscript/5.0/examples/chess.ps +share/ghostscript/5.0/examples/colorcir.ps +share/ghostscript/5.0/examples/escher.ps +share/ghostscript/5.0/examples/golfer.ps +share/ghostscript/5.0/examples/grayalph.ps +share/ghostscript/5.0/examples/snowflak.ps +share/ghostscript/5.0/examples/tiger.ps +share/ghostscript/5.0/examples/waterfal.ps +share/ghostscript/5.0/font2c.ps +share/ghostscript/5.0/gs_btokn.ps +share/ghostscript/5.0/gs_ccfnt.ps +share/ghostscript/5.0/gs_cff.ps +share/ghostscript/5.0/gs_cidfn.ps +share/ghostscript/5.0/gs_cmap.ps +share/ghostscript/5.0/gs_dbt_e.ps +share/ghostscript/5.0/gs_diskf.ps +share/ghostscript/5.0/gs_dpnxt.ps +share/ghostscript/5.0/gs_dps1.ps +share/ghostscript/5.0/gs_dps2.ps +share/ghostscript/5.0/gs_epsf.ps +share/ghostscript/5.0/gs_fonts.ps +share/ghostscript/5.0/gs_init.ps +share/ghostscript/5.0/gs_iso_e.ps +share/ghostscript/5.0/gs_kanji.ps +share/ghostscript/5.0/gs_ksb_e.ps +share/ghostscript/5.0/gs_l2img.ps +share/ghostscript/5.0/gs_lev2.ps +share/ghostscript/5.0/gs_mex_e.ps +share/ghostscript/5.0/gs_mro_e.ps +share/ghostscript/5.0/gs_pdf.ps +share/ghostscript/5.0/gs_pdf_e.ps +share/ghostscript/5.0/gs_pdfwr.ps +share/ghostscript/5.0/gs_pfile.ps +share/ghostscript/5.0/gs_res.ps +share/ghostscript/5.0/gs_setpd.ps +share/ghostscript/5.0/gs_statd.ps +share/ghostscript/5.0/gs_std_e.ps +share/ghostscript/5.0/gs_sym_e.ps +share/ghostscript/5.0/gs_ttf.ps +share/ghostscript/5.0/gs_typ42.ps +share/ghostscript/5.0/gs_type1.ps +share/ghostscript/5.0/gs_wan_e.ps +share/ghostscript/5.0/gslp.ps +share/ghostscript/5.0/impath.ps +share/ghostscript/5.0/landscap.ps +share/ghostscript/5.0/level1.ps +share/ghostscript/5.0/lines.ps +share/ghostscript/5.0/markhint.ps +share/ghostscript/5.0/markpath.ps +share/ghostscript/5.0/necp2x.upp +share/ghostscript/5.0/packfile.ps +share/ghostscript/5.0/pcharstr.ps +share/ghostscript/5.0/pdf2dsc.ps +share/ghostscript/5.0/pdf_2ps.ps +share/ghostscript/5.0/pdf_base.ps +share/ghostscript/5.0/pdf_draw.ps +share/ghostscript/5.0/pdf_font.ps +share/ghostscript/5.0/pdf_main.ps +share/ghostscript/5.0/pdf_sec.ps +share/ghostscript/5.0/pfbtogs.ps +share/ghostscript/5.0/ppath.ps +share/ghostscript/5.0/prfont.ps +share/ghostscript/5.0/printafm.ps +share/ghostscript/5.0/ps2ai.ps +share/ghostscript/5.0/ps2ascii.ps +share/ghostscript/5.0/ps2epsi.ps +share/ghostscript/5.0/ps2image.ps +share/ghostscript/5.0/quit.ps +share/ghostscript/5.0/ras1.upp +share/ghostscript/5.0/ras24.upp +share/ghostscript/5.0/ras3.upp +share/ghostscript/5.0/ras32.upp +share/ghostscript/5.0/ras4.upp +share/ghostscript/5.0/ras8m.upp +share/ghostscript/5.0/showchar.ps +share/ghostscript/5.0/showpage.ps +share/ghostscript/5.0/stc.upp +share/ghostscript/5.0/stc2.upp +share/ghostscript/5.0/stc2_h.upp +share/ghostscript/5.0/stc2s_h.upp +share/ghostscript/5.0/stc500p.upp +share/ghostscript/5.0/stc500ph.upp +share/ghostscript/5.0/stc600ih.upp +share/ghostscript/5.0/stc600p.upp +share/ghostscript/5.0/stc600pl.upp +share/ghostscript/5.0/stc800ih.upp +share/ghostscript/5.0/stc800p.upp +share/ghostscript/5.0/stc800pl.upp +share/ghostscript/5.0/stc_h.upp +share/ghostscript/5.0/stc_l.upp +share/ghostscript/5.0/stcany.upp +share/ghostscript/5.0/stcinfo.ps +share/ghostscript/5.0/stcolor.ps +share/ghostscript/5.0/traceimg.ps +share/ghostscript/5.0/traceop.ps +share/ghostscript/5.0/type1enc.ps +share/ghostscript/5.0/type1ops.ps +share/ghostscript/5.0/uninfo.ps +share/ghostscript/5.0/unprot.ps +share/ghostscript/5.0/viewcmyk.ps +share/ghostscript/5.0/viewgif.ps +share/ghostscript/5.0/viewjpeg.ps +share/ghostscript/5.0/viewpbm.ps +share/ghostscript/5.0/viewpcx.ps +share/ghostscript/5.0/viewps2a.ps +share/ghostscript/5.0/wftopfa.ps +share/ghostscript/5.0/winmaps.ps +share/ghostscript/5.0/wrfont.ps +share/ghostscript/5.0/zeroline.ps +share/ghostscript/bchb.afm +share/ghostscript/bchb.pfa +share/ghostscript/bchbi.afm +share/ghostscript/bchbi.pfa +share/ghostscript/bchr.afm +share/ghostscript/bchr.pfa +share/ghostscript/bchri.afm +share/ghostscript/bchri.pfa +share/ghostscript/fcyr.afm +share/ghostscript/fcyr.gsf +share/ghostscript/fcyri.afm +share/ghostscript/fcyri.gsf +share/ghostscript/fhirw.gsf +share/ghostscript/fhirw.pfm +share/ghostscript/fkarw.gsf +share/ghostscript/fkarw.pfm +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/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/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/s050000l.afm +share/ghostscript/fonts/s050000l.pfb +share/ghostscript/fonts/s050000l.pfm +share/ghostscript/fonts/z003034l.afm +share/ghostscript/fonts/z003034l.pfb +share/ghostscript/fonts/z003034l.pfm +share/ghostscript/hrger.pfa +share/ghostscript/hrgerb.gsf +share/ghostscript/hrgerd.gsf +share/ghostscript/hrgero.gsf +share/ghostscript/hrgkc.gsf +share/ghostscript/hrgks.gsf +share/ghostscript/hrgrr.pfa +share/ghostscript/hrgrrb.gsf +share/ghostscript/hrgrro.gsf +share/ghostscript/hritr.pfa +share/ghostscript/hritrb.gsf +share/ghostscript/hritro.gsf +share/ghostscript/hrpld.pfa +share/ghostscript/hrpldb.gsf +share/ghostscript/hrpldbi.gsf +share/ghostscript/hrpldi.pfa +share/ghostscript/hrplr.gsf +share/ghostscript/hrplrb.gsf +share/ghostscript/hrplrbo.gsf +share/ghostscript/hrplro.gsf +share/ghostscript/hrpls.gsf +share/ghostscript/hrplsb.gsf +share/ghostscript/hrplsbo.gsf +share/ghostscript/hrplso.gsf +share/ghostscript/hrplt.pfa +share/ghostscript/hrpltb.gsf +share/ghostscript/hrpltbi.gsf +share/ghostscript/hrplti.pfa +share/ghostscript/hrscc.pfa +share/ghostscript/hrsccb.gsf +share/ghostscript/hrscco.gsf +share/ghostscript/hrscs.pfa +share/ghostscript/hrscsb.gsf +share/ghostscript/hrscso.gsf +share/ghostscript/hrsyr.gsf +share/ghostscript/putb.pfa +share/ghostscript/putbi.pfa +share/ghostscript/putr.pfa +share/ghostscript/putri.pfa +share/ghostscript/u003043t.afm +share/ghostscript/u003043t.gsf +share/ghostscript/u003043t.pfm +share/ghostscript/u004006t.afm +share/ghostscript/u004006t.gsf +share/ghostscript/u004006t.pfm diff --git a/print/ghostscript7/scripts/configure b/print/ghostscript7/scripts/configure new file mode 100644 index 000000000000..6faf1476218a --- /dev/null +++ b/print/ghostscript7/scripts/configure @@ -0,0 +1,210 @@ +#! /bin/sh + +# Define the directories for the X11 library files. +# This can be null if these files are in the default linker search path. + +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;" \ + -e "s;JSRCDIR=jpeg-6a;JSRCDIR=\${PORTSDIR}/graphics/jpeg/work/jpeg-6a;" \ + -e "s;PSRCDIR=libpng;PSRCDIR=\${PORTSDIR}/graphics/png/work/libpng-0.89c;" \ + -e "s;ZSRCDIR=zlib;ZSRCDIR=.;" \ + -e "s;CC=gcc;CC=cc;" \ + -e "s;^DEVICE_DEVS=.*;;" \ + -e "s;^DEVICE_DEVS1=.*;DEVICE_DEVS1=;" \ + -e "s;^DEVICE_DEVS2=.*;DEVICE_DEVS2=;" \ + -e "s;^DEVICE_DEVS3=.*;DEVICE_DEVS3=;" \ + -e "s;^DEVICE_DEVS4=.*;DEVICE_DEVS4=;" \ + -e "s;^DEVICE_DEVS5=.*;DEVICE_DEVS5=;" \ + -e "s;^DEVICE_DEVS6=.*;DEVICE_DEVS6=;" \ + -e "s;^DEVICE_DEVS7=.*;DEVICE_DEVS7=;" \ + -e "s;^DEVICE_DEVS8=.*;DEVICE_DEVS8=;" \ + -e "s;^DEVICE_DEVS9=.*;DEVICE_DEVS9=;" \ + -e "s;^DEVICE_DEVS10=.*;DEVICE_DEVS10=;" \ + -e "s;^DEVICE_DEVS11=.*;DEVICE_DEVS11=;" \ + -e "s;^DEVICE_DEVS12=.*;DEVICE_DEVS12=;" \ + -e "s;^DEVICE_DEVS13=.*;DEVICE_DEVS13=;" \ + -e "s;^DEVICE_DEVS14=.*;DEVICE_DEVS14=;" \ + -e "s;^DEVICE_DEVS15=.*;DEVICE_DEVS15=;" \ + < ${WRKSRC}/unix-gcc.mak > ${WRKSRC}/unix-gcc.mak.bak && \ + mv ${WRKSRC}/unix-gcc.mak.bak ${WRKSRC}/unix-gcc.mak + +# without that no way :) +touch ${WRKSRC}/makefile + +# driverselection +/usr/bin/dialog --title "Ghostscript 4 driver configuration" --clear \ + --checklist "\n\ +This new ghostscript driver configuration dialog allows you to choose \n\ +only those gs drivers, you really need. Don't think too economical, since \n\ +other programs in the ports collection might need some of the default gs \n\ +file format drivers. The gs4 default drivers are preselected. \n\ +Have fun with this new configuration style ! -andreas \n\n\ + Please choose options by pressing SPACE to TOGGLE an option ON/OFF ?" -1 -1 9\ + "x11" "X Windows version 11, release >=4" ON \ + "x11alpha" "X Windows masquer. as device with alpha capability" ON \ + "x11cmyk" "X Windows masquer. as 1-bit-per-plane CMYK device" ON \ + "x11gray2" "X Windows as a 2-bit gray-scale device" ON \ + "x11mono" "X Windows masquer. as black-and-white device" ON \ + "sxlcrt" "CRT sixels, e.g. for VT240-like terminals" OFF \ + "ap3250" "Epson AP3250" OFF \ + "appledmp" "Apple Dot Matrix Printer / Imagewriter" OFF \ + "bj10e" "Canon BubbleJet BJ10e" ON \ + "bj200" "Canon BubbleJet BJ200" ON \ + "bjc600" "Canon Color BubbleJet BJC-600/4000/70+Apple StyleWriter 2x00" ON \ + "bjc800" "Canon Color BubbleJet BJC-800" ON \ + "ccr" "CalComp Raster format" OFF \ + "cdeskjet" "HP DeskJet 500C, 1 bit/pixel color" ON \ + "cdjcolor" "HP DeskJet 500C/540C, 24 bit/pixel color + FS dithering" ON \ + "cdjmono" "HP DeskJet 500/510/520/540C b/w printing" ON \ + "cdj500" "HP DeskJet 500C (same as cdjcolor)" ON \ + "cdj550" "HP DeskJet 550C/560C" ON \ + "cdj850" "HP DeskJet 850/885/870/890" ON \ + "cp50" "Mitsubishi CP50 color" OFF \ + "declj250" "alternate DEC LJ250 driver" OFF \ + "deskjet" "HP DeskJet and DeskJet Plus" ON \ + "djet500" "HP DeskJet 500" ON \ + "djet500c" "HP DeskJet 500C alternate driver, not for 550/560C" OFF \ + "dnj650c" "HP DesignJet 650C" OFF \ + "epson" "Epson-compatible dot matrix, 9/24-pin" OFF \ + "eps9mid" "Epson-compatible 9-pin, medium resol" OFF \ + "eps9high" "Epson-compatible 9-pin, high resol" OFF \ + "epsonc" "Epson LQ-2550 and Fujitsu 3400/2400/1200 color" OFF \ + "ibmpro" "IBM 9-pin Proprinter" OFF \ + "imagen" "Imagen ImPress printers" OFF \ + "iwhi" "Apple Imagewriter, high-resolution mode" OFF \ + "iwlo" "Apple Imagewriter, low-resolution mode" OFF \ + "iwlq" "Apple Imagewriter LQ in 320 x 216 dpi mode" OFF \ + "jetp3852" "IBM Jetprinter ink-jet color (Model #3852)" OFF \ + "laserjet" "HP LaserJet" ON \ + "la50" "DEC LA50 printer" OFF \ + "la70" "DEC LA70 printer" OFF \ + "la75" "DEC LA75 printer" OFF \ + "la75plus" "DEC LA75plus printer" OFF \ + "lbp8" "Canon LBP-8II laser printer" OFF \ + "lips3" "Canon LIPS III laser printer in English/CaPSL mode" OFF \ + "ln03" "DEC LN03 printer" OFF \ + "lj250" "DEC LJ250 Companion color printer" OFF \ + "ljet2p" "HP LaserJet IId/IIp/III* with TIFF compression" ON \ + "ljet3" "HP LaserJet III* with Delta Row compression" ON \ + "ljet3d" "HP LaserJet IIID with duplex capability" OFF \ + "ljet4" "HP LaserJet 4 (defaults to 600 dpi)" ON \ + "lj4dith" "HP LaserJet 4 with Floyd-Steinberg dithering" OFF \ + "ljetplus" "HP LaserJet Plus" ON \ + "lj5mono" "HP LaserJet 5 and 6 family (PCL5 / PCL XL), bitmap" ON \ + "lj5gray" "HP LaserJet 5 and 6 family, gray-scale bitmap" ON \ + "lp2563" "HP 2563B line printer" OFF \ + "lp8000" "EPSON LP-8000 line printer" OFF \ + "m8510" "C.Itoh M8510 printer" OFF \ + "necp6" "NEC P6/P6+/P60, 360x360 DPI resol" OFF \ + "oce9050" "OCE 9050 printer" OFF \ + "oki182" "Okidata MicroLine 182" OFF \ + "okiibm" "Okidata MicroLine IBM-compatible printers" OFF \ + "paintjet" "alternate HP PaintJet color printer" OFF \ + "pj" "HP PaintJet XL driver " ON \ + "pjetxl" "alternate HP PaintJet XL driver" OFF \ + "pjxl" "HP PaintJet XL color printer" ON \ + "pjxl300" "HP PaintJet XL300 color printer (also for 1200C)" ON \ + "pxlmono" "HP black-and-white PCL XL printers (LaserJet 5 and 6 family)" ON \ + "pxlcolor" "HP color PCL XL printers (none available yet)" ON \ + "r4081" "Ricoh 4081 laser printer" OFF \ + "sj48" "StarJet 48 inkjet printer" OFF \ + "st800" "Epson Stylus 800 printer" OFF \ + "stcolor" "Epson Stylus Color" OFF \ + "t4693d2" "Tektronix 4693d color, 2 bits per R/G/B component" OFF \ + "t4693d4" "Tektronix 4693d color, 4 bits per R/G/B component" OFF \ + "t4693d8" "Tektronix 4693d color, 8 bits per R/G/B component" OFF \ + "tek4696" "Tektronix 4695/4696 inkjet plotter" OFF \ + "uniprint" "Configurable Color ESC/P,ESC/P2,HP-RTL/PCL mono/color driver" ON \ + "xes" "Xerox XES printers (2700, 3700, 4045, etc.)" OFF \ + "dfaxhigh" "DigiBoard, DigiFAX software format (high resol)" OFF \ + "dfaxlow" "DigiFAX low (normal) resol" OFF \ + "faxg3" "Group 3 fax, with EOLs but no header or EOD" ON \ + "faxg32d" "Group 3 2-D fax, with EOLs but no header or EOD" ON \ + "faxg4" "Group 4 fax, with EOLs but no header or EOD" ON \ + "tiffcrle" "TIFF CCITT RLE 1 dim = Group 3 fax with no EOLs" ON \ + "tiffg3" "TIFF Group 3 fax with EOLs" ON \ + "tiffg32d" "TIFF Group 3 2-D fax" ON \ + "tiffg4" "TIFF Group 4 fax" ON \ + "epswrite" "EPS output (like PostScript Distillery)" OFF \ + "pdfwrite" "PDF output (like Adobe Acrobat Distiller)" OFF \ + "pswrite" "PostScript output (like PostScript Distillery)" OFF \ + "pxlmono" "Black-and-white PCL XL" OFF \ + "pxlcolor" "Color PCL XL" OFF \ + "bit" "Plain bits, monochrome" ON \ + "bitrgb" "Plain bits, RGB" ON \ + "bitcmyk" "Plain bits, CMYK" ON \ + "bmpmono" "Monochrome MS Windows .BMP file format" OFF \ + "bmp16" "4-bit EGA/VGA .BMP file format" OFF \ + "bmp256" "8-bit 256-color .BMP file format" OFF \ + "bmp16m" "24-bit .BMP file format" OFF \ + "cgmmono" "Monochrome CGM -- LOW LEVEL OUTPUT ONLY" OFF \ + "cgm8" "8-bit 256-color CGM -- DITTO" OFF \ + "cgm24" "24-bit color CGM -- DITTO" OFF \ + "cif" "CIF file format for VLSI" OFF \ + "jpeg" "JPEG format, RGB output" OFF \ + "jpeggray" "JPEG format, gray output" OFF \ + "miff24" "ImageMagick MIFF, 24-bit direct color, RLE compressed" OFF \ + "mgrmono" "1-bit monochrome MGR devices" OFF \ + "mgrgray2" "2-bit gray scale MGR devices" OFF \ + "mgrgray4" "4-bit gray scale MGR devices" OFF \ + "mgrgray8" "8-bit gray scale MGR devices" OFF \ + "mgr4" "4-bit (VGA) color MGR devices" OFF \ + "mgr8" "8-bit color MGR devices" OFF \ + "pdfwrite" "Allow writting of pdf files" ON \ + "pcxmono" "PCX file format, monochrome 1-bit b/w" ON \ + "pcxgray" "PCX file format, 8-bit gray scale" ON \ + "pcx16" "PCX file format, 4-bit planar EGA/VGA color" ON \ + "pcx256" "PCX file format, 8-bit chunky color" ON \ + "pcx24b" "PCX file format, 24-bit color 3x8-bit planes" ON \ + "pcxcmyk" "PCX file format, 4-bit chunky CMYK color" OFF \ + "pbm" "Portable Bitmap, plain format" ON \ + "pbmraw" "Portable Bitmap, raw format" ON \ + "pgm" "Portable Graymap, plain format" ON \ + "pgmraw" "Portable Graymap, raw format" ON \ + "pgnm" "Portable Graymap, plain format, optim. to PBM" ON \ + "pgnmraw" "Portable Graymap, raw format, optim. to PBM" ON \ + "pnm" "Portable Pixmap, plain format RGB, optim. to PGM/PBM" ON \ + "pnmraw" "Portable Pixmap, raw format RGB, optim. to PGM/PBM" ON \ + "ppm" "Portable Pixmap, plain format RGB" ON \ + "ppmraw" "Portable Pixmap, raw format RGB" ON \ + "pkm" "Portable inKmap (plain format) (4-bit CMYK => RGB)" OFF \ + "pkmraw" "Portable inKmap (raw format) (4-bit CMYK => RGB)" OFF \ + "pngmono" "Monochrome Portable Network Graphics, PNG" ON \ + "pnggray" "8-bit gray Portable Network Graphics, PNG" ON \ + "png16" "4-bit color Portable Network Graphics, PNG" ON \ + "png256" "8-bit color Portable Network Graphics, PNG" ON \ + "png16m" "24-bit color Portable Network Graphics, PNG" ON \ + "psmono" "PostScript, Level 1, monochrome image" ON \ + "psgray" "PostScript (Level 1) 8-bit gray image" OFF \ + "sgirgb" "SGI RGB pixmap format" OFF \ + "tiff12nc" "TIFF 12-bit RGB, no compression" ON \ + "tiff24nc" "TIFF 24-bit RGB, no compression, NeXT std. format)" ON \ + "tifflzw" "TIFF LZW, tag = 5, mono" ON \ + "tiffpack" "TIFF PackBits, tag = 32773, mono" ON 2> /tmp/checklist.tmp.$$ + +retval=$? + +choice=`cat /tmp/checklist.tmp.$$` +rm -f /tmp/checklist.tmp.$$ + +case $retval in + 0) if [ -z choice ]; then + echo "Nothing selected" + exit 1; + fi + ;; + 1) echo "Cancel pressed." + exit 1 + ;; +esac + +# bring it into the right format with '.dev' appended to each driver name +echo "DEVICE_DEVS=$choice" \ + | sed -e "s/\"//g" \ + | sed -e "s/ /.dev /g" \ + | sed -e "s/$/.dev/g" \ + > ${WRKSRC}/unix-gcc.mak.new + +# create one new Makefile, where DEVICE_DEVS contains all wanted devices +cat ${WRKSRC}/unix-gcc.mak >> ${WRKSRC}/unix-gcc.mak.new +mv ${WRKSRC}/unix-gcc.mak.new ${WRKSRC}/unix-gcc.mak diff --git a/print/ghostscript7/scripts/configure.batch b/print/ghostscript7/scripts/configure.batch new file mode 100644 index 000000000000..d1be7c3b59bc --- /dev/null +++ b/print/ghostscript7/scripts/configure.batch @@ -0,0 +1,17 @@ +#! /bin/sh + +# Define the directories for the X11 library files. +# This can be null if these files are in the default linker search path. + +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;" \ + -e "s;JSRCDIR=jpeg-6a;JSRCDIR=\${PORTSDIR}/graphics/jpeg/work/jpeg-6a;" \ + -e "s;PSRCDIR=libpng;PSRCDIR=\${PORTSDIR}/graphics/png/work/libpng-0.89c;" \ + -e "s;ZSRCDIR=zlib;ZSRCDIR=.;" \ + -e "s;CC=gcc;CC=cc;" \ + -e "s;DEVICE_DEVS15=pdfwrite.dev;DEVICE_DEVS15=pdfwrite.dev stcolor.dev;" \ + < ${WRKSRC}/unix-gcc.mak > ${WRKSRC}/unix-gcc.mak.bak && \ + mv ${WRKSRC}/unix-gcc.mak.bak ${WRKSRC}/unix-gcc.mak + +# without that no way :) +touch ${WRKSRC}/makefile |