summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-08-07 15:35:02 +0000
committerAchim Gottinger <achim@gentoo.org>2000-08-07 15:35:02 +0000
commit9b42d342bd81e3c3ad180915a7bd689e9daaa33e (patch)
tree04bf9b808c5cf953443669ed03bbd867f3b9b68a
parent*** empty log message *** (diff)
downloadhistorical-9b42d342bd81e3c3ad180915a7bd689e9daaa33e.tar.gz
historical-9b42d342bd81e3c3ad180915a7bd689e9daaa33e.tar.bz2
historical-9b42d342bd81e3c3ad180915a7bd689e9daaa33e.zip
*** empty log message ***
-rw-r--r--app-text/a2ps/a2ps-4.13b-r1.ebuild34
-rw-r--r--app-text/a2ps/files/digest1
-rw-r--r--app-text/docbook/docbook-3.0-r1.ebuild38
-rw-r--r--app-text/docbook/docbook-4.1-r1.ebuild38
-rw-r--r--app-text/docbook/files/digest2
-rw-r--r--app-text/dsssl/dsssl-db-1.54-r1.ebuild41
-rw-r--r--app-text/dsssl/files/digest1
-rw-r--r--app-text/ghostscript/files/all-arch.mak900
-rw-r--r--app-text/ghostscript/files/digest2
-rw-r--r--app-text/ghostscript/ghostscript-6.01-r1.ebuild68
-rw-r--r--app-text/metamail/files/digest1
-rw-r--r--app-text/metamail/metamail-2.7-r1.ebuild43
-rw-r--r--app-text/openjade/files/digest1
-rw-r--r--app-text/openjade/openjade-1.3-r1.ebuild49
-rw-r--r--app-text/sgml2x/files/digest1
-rw-r--r--app-text/sgml2x/sgml2x-0.11-r1.ebuild38
-rw-r--r--app-text/tetex/files/digest2
-rw-r--r--app-text/tetex/tetex-1.0.7-r1.ebuild37
18 files changed, 1297 insertions, 0 deletions
diff --git a/app-text/a2ps/a2ps-4.13b-r1.ebuild b/app-text/a2ps/a2ps-4.13b-r1.ebuild
new file mode 100644
index 000000000000..81616a223eb0
--- /dev/null
+++ b/app-text/a2ps/a2ps-4.13b-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/a2ps-4.13b-r1.ebuild,v 1.1 2000/08/07 15:31:45 achim Exp $
+
+P=a2ps-4.13b
+A=${P}.tar.gz
+S=${WORKDIR}/a2ps-4.13
+CATEGORY="app-text"
+DESCRIPTION="a2ps is an Any to PostScript filter"
+SRC_URI="ftp://ftp.enst.fr/pub/unix/a2ps/"${A}
+HOMEPAGE="http://www-inf.enst.fr/~demaille/a2ps"
+src_unpack() {
+ unpack ${A}
+}
+
+src_compile() {
+ cd ${S}
+ ./configure --host=${CHOST} --prefix=/usr --sysconfdir=/etc/a2ps --with-catgets
+ make
+}
+
+src_install() {
+ cd ${S}
+ dodir /usr/share/emacs/site-lisp
+ make prefix=${D}/usr sysconfdir=${D}/etc/a2ps install
+ dodoc ANNOUNCE AUTHORS ChangeLog COPYING FAQ NEWS README THANKS TODO
+ prepman
+ prepinfo
+}
+
+
+
+
diff --git a/app-text/a2ps/files/digest b/app-text/a2ps/files/digest
new file mode 100644
index 000000000000..ec015c86df8e
--- /dev/null
+++ b/app-text/a2ps/files/digest
@@ -0,0 +1 @@
+MD5 0c8e0c31b08c14f7a7198ce967eb3281 a2ps-4.13b.tar.gz
diff --git a/app-text/docbook/docbook-3.0-r1.ebuild b/app-text/docbook/docbook-3.0-r1.ebuild
new file mode 100644
index 000000000000..c30588e25281
--- /dev/null
+++ b/app-text/docbook/docbook-3.0-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-text/docbook/docbook-3.0-r1.ebuild,v 1.1 2000/08/07 15:31:45 achim Exp $
+
+P=docbook-3.0
+A="docbk30.zip ISOEnts.zip"
+S=${WORKDIR}/${P}
+CATEGORY="app-text"
+DESCRIPTION="DocBook is an SGML DTD"
+SRC_URI="http://www.oasis-open.org/docbook/sgml/3.0/docbk30.zip
+ http://www.oasis-open.org/cover/ISOEnts.zip"
+HOMEPAGE="http://www.oasis-open.org/docbook/"
+
+src_unpack() {
+ mkdir ${S}
+ cd ${S}
+ unzip ${DISTDIR}/docbk30.zip
+ unzip ${DISTDIR}/ISOEnts.zip
+}
+
+src_compile() {
+ cd ${S}
+ cp docbook.cat docbook.cat.orig
+ sed -e "s/iso-/ISO/" -e "s/.gml//" docbook.cat.orig > docbook.cat
+}
+
+src_install() {
+ cd ${S}
+ insinto /usr/share/sgml/dtd/docbook-3.0
+ doins *.dtd *.mod *.cat *.dcl ISO*
+ dodoc *.txt
+
+}
+
+
+
+
diff --git a/app-text/docbook/docbook-4.1-r1.ebuild b/app-text/docbook/docbook-4.1-r1.ebuild
new file mode 100644
index 000000000000..31ceb9ee84f4
--- /dev/null
+++ b/app-text/docbook/docbook-4.1-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-text/docbook/docbook-4.1-r1.ebuild,v 1.1 2000/08/07 15:31:45 achim Exp $
+
+P=docbook-4.1
+A="docbk41.zip ISOEnts.zip"
+S=${WORKDIR}/${P}
+CATEGORY="app-text"
+DESCRIPTION="DocBook is an SGML DTD"
+SRC_URI="http://www.oasis-open.org/docbook/sgml/4.1/docbk41.zip
+ http://www.oasis-open.org/cover/ISOEnts.zip"
+HOMEPAGE="http://www.oasis-open.org/docbook/"
+
+src_unpack() {
+ mkdir ${S}
+ cd ${S}
+ unzip ${DISTDIR}/docbk41.zip
+ unzip ${DISTDIR}/ISOEnts.zip
+}
+
+src_compile() {
+ cd ${S}
+ cp docbook.cat docbook.cat.orig
+ sed -e "s/iso-/ISO/" -e "s/.gml//" docbook.cat.orig > docbook.cat
+}
+
+src_install() {
+ cd ${S}
+ insinto /usr/share/sgml/dtd/docbook-4.1
+ doins *.dtd *.mod *.cat *.dcl ISO*
+ dodoc *.txt
+
+}
+
+
+
+
diff --git a/app-text/docbook/files/digest b/app-text/docbook/files/digest
new file mode 100644
index 000000000000..9543b0d1b871
--- /dev/null
+++ b/app-text/docbook/files/digest
@@ -0,0 +1,2 @@
+MD5 489f6ff2a2173eb1e14216c10533ede2 docbk41.zip
+MD5 c8a9561212c1a2ec6e48919640de9c67 ISOEnts.zip
diff --git a/app-text/dsssl/dsssl-db-1.54-r1.ebuild b/app-text/dsssl/dsssl-db-1.54-r1.ebuild
new file mode 100644
index 000000000000..2f6fa7781018
--- /dev/null
+++ b/app-text/dsssl/dsssl-db-1.54-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-text/dsssl/dsssl-db-1.54-r1.ebuild,v 1.1 2000/08/07 15:31:45 achim Exp $
+
+P=dsssl-db-1.54
+A=db154.zip
+S=${WORKDIR}/${P}
+CATEGORY="app-text"
+DESCRIPTION="DSSSL stylesheets fot DocBook DTD"
+SRC_URI="http://nwalsh.com/docbook/dsssl/"${A}
+HOMEPAGE="http://www.nwalsh.com/docbook/dsssl/index.html"
+
+src_unpack() {
+ mkdir ${S}
+ cd ${S}
+ unzip ${DISTDIR}/${A}
+}
+
+src_compile() {
+ cd ${S}
+}
+
+src_install() {
+ cd ${S}/docbook
+ into /usr
+ chmod +x bin/collateindex.pl
+ dobin bin/collateindex.pl
+ insinto /usr/share/sgml/stylesheets/docbook
+ doins docbook.dcl catalog
+ for i in common contrib dtds frames html images lib olink print
+ do
+ cp -af $i ${D}/usr/share/sgml/stylesheets/docbook
+ done
+ dodoc BUGS ChangeLog README TODO VERSION WhatsNew
+ cp -af test ${D}/usr/doc/${P}
+
+}
+
+
+
diff --git a/app-text/dsssl/files/digest b/app-text/dsssl/files/digest
new file mode 100644
index 000000000000..986bd6ab1bff
--- /dev/null
+++ b/app-text/dsssl/files/digest
@@ -0,0 +1 @@
+MD5 1720a08b3454c74e052391ac02259bb9 db154.zip
diff --git a/app-text/ghostscript/files/all-arch.mak b/app-text/ghostscript/files/all-arch.mak
new file mode 100644
index 000000000000..b786d1b09757
--- /dev/null
+++ b/app-text/ghostscript/files/all-arch.mak
@@ -0,0 +1,900 @@
+# Copyright (C) 1999, 2000 Aladdin Enterprises. All rights reserved.
+#
+# This file is part of Aladdin Ghostscript.
+#
+# Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author
+# or distributor accepts any responsibility for the consequences of using it,
+# or for whether it serves any particular purpose or works at all, unless he
+# or she says so in writing. Refer to the Aladdin Ghostscript Free Public
+# License (the "License") for full details.
+#
+# Every copy of Aladdin Ghostscript must include a copy of the License,
+# normally in a plain ASCII text file named PUBLIC. The License grants you
+# the right to copy, modify and redistribute Aladdin Ghostscript, but only
+# under certain conditions described in the License. Among other things, the
+# License requires that the copyright notice and this notice be preserved on
+# all copies.
+
+# $Id: all-arch.mak,v 1.1 2000/08/07 15:35:01 achim Exp $
+#
+# Author:
+# Nelson H. F. Beebe
+# Center for Scientific Computing
+# University of Utah
+# Department of Mathematics, 322 INSCC
+# 155 S 1400 E RM 233
+# Salt Lake City, UT 84112-0090
+# USA
+# Email: beebe@math.utah.edu, beebe@acm.org, beebe@ieee.org (Internet)
+# WWW URL: http://www.math.utah.edu/~beebe
+# Telephone: +1 801 581 5254
+# FAX: +1 801 585 1640, +1 801 581 4148
+#
+# /usr/local/src/ghostscript/gs6.0/Makefile, Sat Feb 12 09:46:16 2000
+# Edit by Nelson H. F. Beebe <beebe@math.utah.edu>
+# Update with settings of STDLIBS for several targets, because gs-6.0
+# added a reference to the POSIX threads library, which is not
+# universally available.
+# /usr/local/src/ghostscript/gs5.94/Makefile, Sun Oct 3 08:07:02 1999
+# Edit by Nelson H. F. Beebe <beebe@math.utah.edu>
+# Major update with rearrangement of target names, and addition of
+# -L/usr/local/lib everywhere.
+#=======================================================================
+# This Makefile is an interface to the UNMODIFIED unix*.mak files for
+# building gs, so as to avoid the need for customizing Makefiles for
+# multiple architectures with each new release of ghostscript.
+#
+# Usage:
+# make <arch-name> TARGETS='...'
+#
+# or, for convenience at Utah,
+#
+# make `hostname`
+#
+# HINT: for parallel GNU make runs, add -jnnn to TARGETS, e.g.
+# TARGETS=-j6.
+# WARNING: this does not produce successful builds on at least SGI IRIX 6.
+#
+# Current target list:
+# all
+# clean
+# mostlyclean
+# clobber
+# distclean
+# maintainer-clean
+# init
+# install
+# install-gnu-readline
+# install-binary
+# install-binary-gnu-readline
+# install-fontmap
+# install-pdfsec
+# dec-alpha-osf
+# dec-alpha-osf-gnu-readline
+# dec-mips-ultrix
+# hp-parisc-hpux
+# hp-parisc-hpux-gnu-readline
+# ibm-rs6000-aix
+# ibm-rs6000-aix-c89
+# ibm-rs6000-aix-4-1-c89
+# ibm-rs6000-aix-3-2-5-gcc
+# ibm-rs6000-aix-gcc
+# ibm-rs6000-aix-4.2
+# ibm-rs6000-aix-4.2-gnu-readline
+# linux
+# linux-gnu-readline
+# next-m68K-mach
+# next-m68K-mach-gnu-readline
+# next-m68K-mach-cc
+# sgi-mips-irix5
+# sgi-mips-irix5-gnu-readline
+# sgi-mips-irix6.1
+# sgi-mips-irix6.3
+# sgi-mips-irix6.3-gnu-readline
+# sgi-mips-irix6.4
+# sgi-mips-irix6.4-gnu-readline
+# sun-sparc-solaris
+# sun-sparc-solaris-gnu-readline
+# sun-sparc-solaris-gcc
+# sun-sparc-solaris-opt-gnu-readline
+# sun-sparc-solaris-newsprint
+# sun-sparc-solaris-pg
+# sun-sparc-sunos-gcc
+# sun-sparc-sunos-gcc-gnu-readline
+#
+# Machine-specific targets (for "make `hostname`"):
+## XXXXXXXX.YYYYYYYY.utah.edu
+## XXXXXXXX.YYYYYYYY.utah.edu
+## XXXXXXXX.YYYYYYYY.utah.edu
+## XXXXXXXX.YYYYYYYY.utah.edu
+## XXXXXXXX.YYYYYYYY.utah.edu
+## XXXXXXXX.YYYYYYYY.utah.edu
+## XXXXXXXX.YYYYYYYY.utah.edu
+## XXXXXXXX.YYYYYYYY.utah.edu
+## XXXXXXXX.YYYYYYYY.utah.edu
+## XXXXXXXX.YYYYYYYY.utah.edu
+## XXXXXXXX.YYYYYYYY.utah.edu
+## XXXXXXXX.YYYYYYYY.utah.edu
+#
+# [29-Apr-1999] -- update for gs-5.82: Add XLIBDIRSALL list for
+# install target, and add hostnames as convenience
+# targets, duplicating information in the
+# ../BUILD-GS.sh script, but allowing easier restarts
+# after build failures. Update install-fontmap target
+# to reflect new location of installed Fontmap files.
+# [20-Mar-1999] -- update for gs-5.73. Alphabetize most definitions.
+# Add more comments. Add common macros to eliminate
+# duplication. Set the SHARE_* variables to use
+# installed versions of support libraries, instead of
+# always having to duplicate their source trees as we
+# did with older releases.
+# [19-Mar-1999] -- change SGI IRIX 6.x targets to use -n32 -mips3,
+# since -n32 is the default when no memory model
+# is selected
+# [09-Feb-1999] -- add install-pdfsec target
+# [03-Nov-1998] -- update for gs-5.60 and later
+# [10-Aug-1998] -- add ibm-rs6000-aix-3-2-5-gcc and
+# ibm-rs6000-aix-4-1-c89 targets
+# [04-Aug-1998] -- add linux and ibm-rs6000-aix-c89 target, and
+# dependencies on init target so that I do not need
+# to remember to create the obj subdirectory manually
+# [19-Mar-1998] -- add -32 -mips2 flag to SGI IRIX 6.x targets, so that
+# the executables run on every SGI that can run that
+# O/S. Otherwise, when building on XXXXXXXX.YYYYYYYY.utah.edu,
+# the compiler chooses a default of -mips4, which won't
+# run on Indy and R4400 machines.
+# [23-Feb-1998] -- add -jnnn hint above, and COMMON_DEVICES below
+# [28-Nov-1997]
+#=======================================================================
+
+# Definitions needed from src/*.mak files:
+DD = $(GLD)
+GLD = $(GLGENDIR)/
+GLGENDIR = ./obj
+GLOBJ = ./obj/
+PSD = $(PSGENDIR)/
+PSGENDIR = ./obj
+
+# Definition(s) for this file:
+SRCDIR = /usr/local/src
+
+# Define local modifications of search paths:
+TF = /usr/lib/tex/fonts
+GS_LIB_DEFAULT = $$(gsdatadir)/lib:$$(gsdatadir)/fonts:$$(gsdatadir)/examples:$$(gsdir)/fonts:/usr/share/sys/fonts/postscript:$(TF)/lucida:$(TF)/mathtime:$(TF)/postscript/bakoma/pfb:$(TF)/vf
+
+# Define local paths for install targets:
+GS_SHARE_DIR = /usr/share/ghostscript
+GS_SRC_DIR = $(SRCDIR)/ghostscript
+
+# Arguments for make with cc (or other), and gcc:
+ARGS = -f src/unixansi.mak $(COMMON_ARGS)
+
+ARGSGCC = -f src/unix-gcc.mak $(COMMON_ARGS)
+
+COMMON_ARGS = DEVICE_DEVS_EXTRA='$(DEVICE_DEVS_EXTRA)' \
+ GS_LIB_DEFAULT='$(GS_LIB_DEFAULT)' \
+ JSRCDIR='$(JSRCDIR)' \
+ PNGSRCDIR='$(PNGSRCDIR)' \
+ PSRCDIR='$(PNGSRCDIR)' \
+ PVERSION=10005 \
+ SHARE_LIBPNG='$(SHARE_LIBPNG)' \
+ SHARE_ZLIB='$(SHARE_ZLIB)' \
+ XCFLAGS='$(XCFLAGS)' \
+ ZSRCDIR='$(ZSRCDIR)' \
+ $(TARGETS)
+
+# Additional gcc-specific compilation flags
+GCFLAGS =
+
+# Name of the installed binary executable (it will also be called gs-x.yy):
+GS = ngs
+GS = gs
+
+# Here is a list of additional output devices that we need to support at
+# the University of Utah Math, Physics, and INSCC installations;
+# effective with gs-5.60, Each must have a $(DD) prefix:
+DEVICE_DEVS_EXTRA = $(DD)st800.dev $(DD)stcolor.dev
+
+# [20-Mar-1999] Set FEATURE_DEVS_EXTRA to include gnrdline.dev, to
+# support input line editing in gs when compiled with gcc. Addition of
+# this module also requires adding EXTRALIBS='-ltermcap' for each system
+# below that uses gcc for the build.
+FEATURE_DEVS_EXTRA = $(PSD)gnrdline.dev
+
+GNU_READLINE_ARGS = EXTRALIBS='-ltermcap' \
+ FEATURE_DEVS_EXTRA='$(FEATURE_DEVS_EXTRA)' \
+ XCFLAGS='-I. -I$(JSRCDIR)'
+
+# Additions to CFLAGS for all compilers
+XCFLAGS = -I/usr/local/include
+
+# This variable contains a list of all X library locations, for
+# use in the install target
+XLIBDIRSALL=' \
+ -L/usr/X11R6/lib \
+ -L/usr/lib/X11 \
+ -L/usr/lib/X11R5 \
+ -L/usr/openwin/lib \
+ -L/usr/lpp/X11/lib/R5 \
+ -L/usr/lpp/X11/lib \
+ -L/usr/local/$(SGIARCHLIB) \
+ -L/usr/local/X11R5/lib \
+ -L/usr/local/lib \
+ -L/usr/local/lib32 \
+'
+
+# Compilation flags and load library for SGI IRIX 6.x builds:
+SGIARCHFLAGS = -n32 -mips3
+SGIARCHLIB = libn32
+
+SGIARCH64FLAGS = -64 -mips3
+SGIARCH64LIB = lib64
+
+# [20-Mar-1999]: New from gs-5.73: use png and zlib libraries already
+# installed on the system.
+
+SHARE_LIBPNG = 1
+SHARE_ZLIB = 1
+
+# Use of the shared libraries still requires reference to source code in
+# these directories:
+JSRCDIR = $(SRCDIR)/jpeg/jpeg-6b
+PNGSRCDIR = $(SRCDIR)/libpng/libpng-1.0.6
+ZSRCDIR = $(SRCDIR)/zlib/zlib-1.1.3
+
+# Use this to provide alternate targets to make, instead of the default
+# all. It can also be used to pass additional arguments to child makes,
+# e.g., -j12 for 12 parallel jobs with GNU make.
+TARGETS =
+
+#=======================================================================
+
+BINDIR = /usr/local/bin
+
+CHMOD = chmod
+
+CP = /bin/cp -p
+CP = rcp -p
+
+MV = /bin/mv
+
+RM = /bin/rm -f
+
+SHELL = /bin/sh
+
+#=======================================================================
+
+all:
+ $(MAKE) $(ARGS)
+
+# Convenience targets to make standard targets available
+clean mostlyclean clobber distclean maintainer-clean:
+ $(MAKE) $(ARGS) $@
+
+init:
+ -if test ! -d obj ; then mkdir obj ; fi
+
+install: install-binary install-fontmap install-pdfsec
+
+install-no-X11:
+ $(MAKE) install \
+ FEATURE_DEVS_EXTRA= \
+ DEVICE_DEVS= \
+ SYNC=nosync \
+ STDLIBS= \
+ XLIBDIRS= \
+ XLIBDIRSALL= \
+ EXTRALIBS=
+
+install-gnu-readline: install-binary-gnu-readline install-fontmap install-pdfsec
+
+# Remove the old gs binary first, so as to preserve the previous
+# gs-x.yy version, if any.
+install-binary:
+ -$(RM) $(BINDIR)/$(GS)
+ @$(MAKE) $(ARGS) install GS=$(GS) XLIBDIRS=$(XLIBDIRSALL) ; \
+ d=`pwd` ; \
+ d=`basename $$d` ; \
+ d=`echo $$d | sed -e s/gs/gs-/` ; \
+ $(RM) $(BINDIR)/$$d ; \
+ ln $(BINDIR)/$(GS) $(BINDIR)/$$d ; \
+ ls -l $(BINDIR)/$(GS) $(BINDIR)/$$d
+
+install-binary-gnu-readline:
+ -$(RM) $(BINDIR)/$(GS)
+ @$(MAKE) $(ARGS) install GS=$(GS) XLIBDIRS=$(XLIBDIRSALL) $(GNU_READLINE_ARGS) ; \
+ d=`pwd` ; \
+ d=`basename $$d` ; \
+ d=`echo $$d | sed -e s/gs/gs-/` ; \
+ $(RM) $(BINDIR)/$$d ; \
+ ln $(BINDIR)/$(GS) $(BINDIR)/$$d ; \
+ ls -l $(BINDIR)/$(GS) $(BINDIR)/$$d
+
+install-fontmap:
+ @d=`pwd` ; \
+ d=`basename $$d` ; \
+ d=`echo $$d | sed -e s/gs//` ; \
+ if test -f $(GS_SRC_DIR)/Fontmap.new ; \
+ then \
+ if test -f $(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \
+ then \
+ true ; \
+ else \
+ mv $(GS_SHARE_DIR)/$$d/lib/Fontmap $(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \
+ fi ; \
+ $(CP) $(GS_SRC_DIR)/Fontmap.new $(GS_SHARE_DIR)/$$d/lib/Fontmap ; \
+ ls -l $(GS_SHARE_DIR)/$$d/lib/Fontmap* ; \
+ fi
+
+install-pdfsec:
+ @d=`pwd` ; \
+ d=`basename $$d` ; \
+ d=`echo $$d | sed -e s/gs//` ; \
+ if test -f $(GS_SRC_DIR)/lib/pdf_sec.ps ; \
+ then \
+ $(MV) $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps.org ; \
+ $(CP) lib/pdf_sec.ps $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \
+ $(CHMOD) 664 $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \
+ fi
+
+#=======================================================================
+# Architecture-specific targets:
+#
+# NB: gcc 2.7.x produces bad code in zfont2.c:zregisterencoding(), and possibly
+# elsewhere, so we must use native compilers for now.
+
+# Apple Macintosh PowerPC running Rhapsody 5.5 (a NeXTStep 5 derivative,
+# with no X Window System support):
+apple-powermac-rhapsody5.5 apple-powerpc-rhapsody5.5:
+ $(MAKE) $(ARGSGCC) \
+ CC='gcc' \
+ GCFLAGS=$(GCFLAGS) \
+ FEATURE_DEVS_EXTRA= \
+ DEVICE_DEVS= \
+ SYNC=nosync \
+ STDLIBS= \
+ XLIBDIRS= \
+ XLIBDIRSALL= \
+ EXTRALIBS=
+ @echo "#################################################################"
+ @echo "# To install this program, in the top-level build directory, do #"
+ @echo "# make install-no-X11 #"
+ @echo "#################################################################"
+
+dec-alpha-osf: init
+ $(MAKE) $(ARGS) \
+ CC='c89 -O4 -Olimit 1500' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/local/lib -L/usr/lib/X11'
+
+dec-alpha-osf-gnu-readline: init
+ $(MAKE) $(ARGS) \
+ CC='c89 -O4 -Olimit 1500' \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/local/lib -L/usr/lib/X11' \
+ $(GNU_READLINE_ARGS)
+
+# NB: Need -Dconst= for gcc 2.7.2 (unless gcc patch in make.doc is installed)
+dec-mips-ultrix: init
+ $(MAKE) $(ARGSGCC) \
+ CC='gcc -Dconst= -O3' \
+ GCFLAGS=$(GCFLAGS) \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/local/lib -L/usr/lib/X11' \
+ EXTRALIBS='-ltermcap'
+
+hp-parisc-hpux: init
+ $(MAKE) $(ARGS) \
+ CC='c89 -O -D_HPUX_SOURCE +Onolimit' \
+ FEATURE_DEVS_EXTRA= \
+ STDLIBS=-lm \
+ XINCLUDE=-I/usr/include/X11R5 \
+ XLIBDIRS='-L/usr/lib/X11R5 -L/usr/local/lib' \
+ $(GLOBJ)gdevupd.o $(GLOBJ)gxclread.o
+
+ $(MAKE) $(ARGS) \
+ CC='c89 -O -D_HPUX_SOURCE' \
+ FEATURE_DEVS_EXTRA= \
+ STDLIBS=-lm \
+ XINCLUDE=-I/usr/include/X11R5 \
+ XLIBDIRS='-L/usr/lib/X11R5 -L/usr/local/lib'
+
+hp-parisc-hpux-gnu-readline: init
+ $(MAKE) $(ARGS) \
+ CC='c89 -O -D_HPUX_SOURCE +Onolimit' \
+ STDLIBS=-lm \
+ XINCLUDE=-I/usr/include/X11R5 \
+ XLIBDIRS='-L/usr/local/lib -L/usr/lib/X11R5 -L/usr/local/lib' \
+ $(GLOBJ)gdevupd.o $(GLOBJ)gxclread.o
+
+ $(MAKE) $(ARGS) \
+ CC='c89 -O -D_HPUX_SOURCE' \
+ STDLIBS=-lm \
+ XINCLUDE=-I/usr/include/X11R5 \
+ XLIBDIRS='-L/usr/local/lib -L/usr/lib/X11R5 -L/usr/local/lib' \
+ $(GNU_READLINE_ARGS)
+
+# NB: gs3.68 executable core dumps with this compiler
+ibm-rs6000-aix: init
+ $(MAKE) $(ARGS) \
+ CC='cc -O -D_POSIX_SOURCE' \
+ CP='cp -p' \
+ INSTALL='/usr/ucb/install -c' \
+ STDLIBS=-lm \
+ XINCLUDE=-I/usr/lpp/X11/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/lpp/X11/lib/R5 -L/usr/lpp/X11/lib'
+
+# This works on our local AIX 3.2.5 systems: additional header files
+# and libraries are needed, because IBM does not supply the Athena
+# widgets in /usr/lpp/X11.
+ibm-rs6000-aix-c89: init
+ $(MAKE) $(ARGS) \
+ CC='c89 -O -D_POSIX_SOURCE' \
+ CP='cp -p' \
+ INSTALL='/usr/ucb/install -c' \
+ STDLIBS=-lm \
+ XINCLUDE='-I/usr/lpp/X11/include -I/usr/local/X11R5/include' \
+ XLIBDIRS='-L/usr/local/lib -L/usr/lpp/X11/lib/R5 -L/usr/lpp/X11/lib -L/usr/local/X11R5/lib'
+
+ibm-rs6000-aix-4-1-c89: init
+ $(MAKE) $(ARGS) \
+ CC='c89 -O -D_POSIX_SOURCE' \
+ CP='cp -p' \
+ INSTALL='/usr/ucb/install -c' \
+ STDLIBS=-lm \
+ XINCLUDE='-I/usr/lpp/X11/include' \
+ XLIBDIRS='-L/usr/local/lib -L/usr/lpp/X11/lib/R5 -L/usr/lpp/X11/lib'
+
+# NB: Need -Dconst= for gcc 2.7.1 (unless gcc patch in make.doc is installed)
+ibm-rs6000-aix-3-2-5-gcc: init
+ $(MAKE) $(ARGSGCC) \
+ CC='gcc -Dconst= -O -D_POSIX_SOURCE' \
+ CP='cp -p' \
+ GCFLAGS=$(GCFLAGS) \
+ INSTALL='/usr/ucb/install -c' \
+ STDLIBS=-lm \
+ XINCLUDE='-I/usr/lpp/X11/include -I/usr/local/X11R5/include'\
+ XLIBDIRS='-L/usr/local/lib -L/usr/lpp/X11/lib/R5 -L/usr/lpp/X11/lib -L/usr/local/X11R5/lib' \
+ EXTRALIBS='-ltermcap'
+
+# NB: Need -Dconst= for gcc 2.7.1 (unless gcc patch in make.doc is installed)
+ibm-rs6000-aix-gcc: init
+ $(MAKE) $(ARGSGCC) \
+ CC='gcc -Dconst= -O -D_POSIX_SOURCE' \
+ CP='cp -p' \
+ GCFLAGS=$(GCFLAGS) \
+ INSTALL='/usr/ucb/install -c' \
+ STDLIBS=-lm \
+ XINCLUDE=-I/usr/lpp/X11/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/lpp/X11/lib/R5 -L/usr/lpp/X11/lib' \
+ EXTRALIBS='-ltermcap'
+
+# gp_unix.o must be compiled outside POSIX environment to make
+# struct timeval and struct timezone visible
+ibm-rs6000-aix-4.2: init
+ $(MAKE) $(ARGS) \
+ CC='cc -O -DMAXMEM=4096' \
+ CP='cp -p' \
+ FEATURE_DEVS_EXTRA= \
+ INSTALL='/usr/ucb/install -c' \
+ STDLIBS=-lm \
+ XINCLUDE=-I/usr/lpp/X11/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/lpp/X11/lib/R5 -L/usr/lpp/X11/lib' \
+ $(GLOBJ)gp_unix.o
+
+ $(MAKE) $(ARGS) \
+ CC='cc -O -D_POSIX_SOURCE -DMAXMEM=4096' \
+ CP='cp -p' \
+ FEATURE_DEVS_EXTRA= \
+ INSTALL='/usr/ucb/install -c' \
+ STDLIBS=-lm \
+ XINCLUDE=-I/usr/lpp/X11/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/lpp/X11/lib/R5 -L/usr/lpp/X11/lib'
+
+ibm-rs6000-aix-4.2-gnu-readline: init
+ $(MAKE) $(ARGS) \
+ CC='cc -O -DMAXMEM=4096' \
+ CP='cp -p' \
+ INSTALL='/usr/ucb/install -c' \
+ STDLIBS=-lm \
+ XINCLUDE=-I/usr/lpp/X11/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/local/lib -L/usr/lpp/X11/lib/R5 -L/usr/lpp/X11/lib' \
+ $(GLOBJ)gp_unix.o
+
+ $(MAKE) $(ARGS) \
+ CC='cc -O -D_POSIX_SOURCE -DMAXMEM=4096' \
+ CP='cp -p' \
+ INSTALL='/usr/ucb/install -c' \
+ STDLIBS=-lm \
+ XINCLUDE=-I/usr/lpp/X11/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/local/lib -L/usr/lpp/X11/lib/R5 -L/usr/lpp/X11/lib' \
+ $(GNU_READLINE_ARGS)
+
+ibm-rs6000-aix-4.3: init
+ $(MAKE) $(ARGS) \
+ CC='cc -O -D_ALL_SOURCE -DMAXMEM=4096 -Dconst=' \
+ CP='cp -p' \
+ FEATURE_DEVS_EXTRA= \
+ INSTALL='/usr/ucb/install -c' \
+ STDLIBS=-lm \
+ XINCLUDE=-I/usr/lpp/X11/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/lpp/X11/lib/R6 -L/usr/lpp/X11/lib'
+
+linux: init
+ $(MAKE) $(ARGSGCC) \
+ CC='gcc' \
+ GCFLAGS=$(GCFLAGS) \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/X11R6/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/X11R6/lib' \
+ EXTRALIBS='-lncurses'
+
+linux-gnu-readline: init
+ $(MAKE) $(ARGSGCC) \
+ CC='gcc' \
+ GCFLAGS=$(GCFLAGS) \
+ XINCLUDE=-I/usr/X11R6/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/X11R6/lib' \
+ EXTRALIBS='-ltermcap' \
+ $(GNU_READLINE_ARGS)
+
+next-m68K-mach: init
+ $(MAKE) $(ARGS) \
+ CC='gcc -Dconst= -O3 -D_POSIX_SOURCE' \
+ FEATURE_DEVS_EXTRA= \
+ GCFLAGS=$(GCFLAGS) \
+ STDLIBS=-lm \
+ XINCLUDE=-I/usr/local/X11R5/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/local/X11R5/lib' \
+ INCLUDE=/usr/include/bsd \
+ EXTRALIBS='-ltermcap'
+
+next-m68K-mach-gnu-readline: init
+ $(MAKE) $(ARGS) \
+ CC='gcc -Dconst= -O3 -D_POSIX_SOURCE' \
+ GCFLAGS=$(GCFLAGS) \
+ STDLIBS=-lm \
+ XINCLUDE=-I/usr/local/X11R5/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/local/X11R5/lib' \
+ INCLUDE=/usr/include/bsd \
+ $(GNU_READLINE_ARGS)
+
+next-m68K-mach-cc: init
+ $(MAKE) $(ARGS) \
+ CC='cc -Dconst= -O3 -D_POSIX_SOURCE' \
+ STDLIBS=-lm \
+ XINCLUDE=-I/usr/local/X11R5/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/local/X11R5/lib' \
+ INCLUDE=/usr/include/bsd
+
+# NB: Need the -Dxxx settings to get certain system types defined for
+# at least gp_unifs.c and zdevcal.c
+sgi-mips-irix5: init
+ $(MAKE) $(ARGS) \
+ CC='cc -D_POSIX_4SOURCE -woff 608' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/lib/X11 -L/usr/local/lib' \
+ $(GLOBJ)gdevpdf.o \
+ $(GLOBJ)gdevps.o \
+ $(GLOBJ)gdevtifs.o \
+ $(GLOBJ)gp_unix.o \
+ $(GLOBJ)zdevcal.o
+
+ $(MAKE) $(ARGS) \
+ CC='cc -ansi -D_POSIX_4SOURCE -woff 608 -Olimit 1100' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/lib/X11 -L/usr/local/lib' \
+ $(GLOBJ)gxclread.o
+
+ $(MAKE) $(ARGS) \
+ CC='cc -ansi -D_POSIX_4SOURCE -woff 608' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/local/lib -L/usr/lib/X11'
+
+sgi-mips-irix5-gnu-readline: init
+ $(MAKE) $(ARGS) \
+ CC='cc -D_POSIX_4SOURCE -woff 608' \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/lib/X11 -L/usr/local/lib' \
+ $(GLOBJ)gdevpdf.o \
+ $(GLOBJ)gdevps.o \
+ $(GLOBJ)gdevtifs.o \
+ $(GLOBJ)gp_unix.o \
+ $(GLOBJ)zdevcal.o
+
+ $(MAKE) $(ARGS) \
+ CC='cc -ansi -D_POSIX_4SOURCE -woff 608 -Olimit 1100' \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/lib/X11 -L/usr/local/lib' \
+ $(GLOBJ)gxclread.o
+
+ $(MAKE) $(ARGS) \
+ CC='cc -ansi -D_POSIX_4SOURCE -woff 608' \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/local/lib -L/usr/lib/X11' \
+ $(GNU_READLINE_ARGS)
+
+# NB: Need the -Dxxx settings to get certain system types defined for
+# at least gp_unifs.c and zdevcal.c
+sgi-mips-irix6.1: init
+ $(MAKE) $(ARGS) \
+ CC='cc $(SGIARCHFLAGS) -ansi -D_POSIX_4SOURCE -woff 1185,1429' \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/local/lib -L/usr/lib/X11'
+
+#
+sgi-mips-irix6.3: init
+ $(MAKE) $(ARGS) \
+ CC='cc $(SGIARCHFLAGS) -D_POSIX_4SOURCE ' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/lib/X11 -L/usr/local/lib' \
+ $(GLOBJ)gdevpdf.o \
+ $(GLOBJ)gdevps.o \
+ $(GLOBJ)gdevtifs.o \
+ $(GLOBJ)gp_unix.o \
+ $(GLOBJ)zdevcal.o
+
+ $(MAKE) $(ARGS) \
+ CC='cc $(SGIARCHFLAGS) -ansi -D_POSIX_4SOURCE -woff 1185,1429 -Olimit 1100' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/lib/X11 -L/usr/local/lib' \
+ $(GLOBJ)gxclread.o
+
+ $(MAKE) $(ARGS) \
+ CC='cc $(SGIARCHFLAGS) -ansi -D_POSIX_4SOURCE -woff 1185,1429' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/local/$(SGIARCHLIB) -L/usr/local/lib -L/usr/lib/X11'
+
+sgi-mips-irix6.3-gnu-readline: init
+ $(MAKE) $(ARGS) \
+ CC='cc $(SGIARCHFLAGS) -D_POSIX_4SOURCE ' \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/lib/X11 -L/usr/local/lib' \
+ $(GLOBJ)gdevpdf.o \
+ $(GLOBJ)gdevps.o \
+ $(GLOBJ)gdevtifs.o \
+ $(GLOBJ)gp_unix.o \
+ $(GLOBJ)zdevcal.o
+
+ $(MAKE) $(ARGS) \
+ CC='cc $(SGIARCHFLAGS) -ansi -D_POSIX_4SOURCE -woff 1185,1429 -Olimit 1100' \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/lib/X11 -L/usr/local/lib' \
+ $(GLOBJ)gxclread.o
+
+ $(MAKE) $(ARGS) \
+ CC='cc $(SGIARCHFLAGS) -ansi -D_POSIX_4SOURCE -woff 1185,1429' \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/local/$(SGIARCHLIB) -L/usr/local/lib -L/usr/lib/X11' \
+ $(GNU_READLINE_ARGS)
+
+
+# [06-Jan-2000] Problems have been reported with SGI MIPSpro compilers
+# version 7.x (x <= 3) for at least idict.o and isave.o when those
+# files are compiled with optimization. We therefore add a step to
+# compile them without optimization.
+sgi-mips-irix6.4: init
+ $(MAKE) $(ARGS) \
+ CFLAGS_STANDARD= \
+ CC='cc $(SGIARCHFLAGS) -D_POSIX_4SOURCE' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/lib/X11 -L/usr/local/lib' \
+ $(GLOBJ)idict.o \
+ $(GLOBJ)isave.o
+
+ $(MAKE) $(ARGS) \
+ CC='cc $(SGIARCHFLAGS) -D_POSIX_4SOURCE' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/lib/X11 -L/usr/local/lib' \
+ $(GLOBJ)gdevpdf.o \
+ $(GLOBJ)gdevps.o \
+ $(GLOBJ)gdevtifs.o \
+ $(GLOBJ)gp_unix.o \
+ $(GLOBJ)zdevcal.o
+#
+ $(MAKE) $(ARGS) \
+ CC='cc $(SGIARCHFLAGS) -ansi -D_POSIX_4SOURCE -woff 1185,1429 -OPT:Olimit=2500' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/lib/X11 -L/usr/local/lib' \
+ $(GLOBJ)gxclread.o
+
+ $(MAKE) $(ARGS) \
+ CC='cc $(SGIARCHFLAGS) -ansi -D_POSIX_4SOURCE -woff 1185,1429' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/local/$(SGIARCHLIB) -L/usr/local/lib -L/usr/lib/X11'
+
+sgi-mips-irix6.4-gcc: init
+ $(MAKE) $(ARGS) \
+ CC='gcc -D_POSIX_4SOURCE' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/local/$(SGIARCHLIB) -L/usr/local/lib -L/usr/lib/X11'
+
+# [06-Jan-2000] Problems have been reported with SGI MIPSpro compilers
+# version 7.x (x <= 3) for at least idict.o and isave.o when those
+# files are compiled with optimization. We therefore add a step to
+# compile them without optimization.
+sgi-mips-irix6.4-gnu-readline: init
+ $(MAKE) $(ARGS) \
+ CFLAGS_STANDARD= \
+ CC='cc $(SGIARCHFLAGS) -D_POSIX_4SOURCE' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/lib/X11 -L/usr/local/lib' \
+ $(GLOBJ)idict.o \
+ $(GLOBJ)isave.o
+
+ $(MAKE) $(ARGS) \
+ CC='cc $(SGIARCHFLAGS) -D_POSIX_4SOURCE' \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/lib/X11 -L/usr/local/lib' \
+ $(GLOBJ)gdevpdf.o \
+ $(GLOBJ)gdevps.o \
+ $(GLOBJ)gdevtifs.o \
+ $(GLOBJ)gp_unix.o \
+ $(GLOBJ)zdevcal.o
+#
+ $(MAKE) $(ARGS) \
+ CC='cc $(SGIARCHFLAGS) -ansi -D_POSIX_4SOURCE -woff 1185,1429 -OPT:Olimit=2500' \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/lib/X11 -L/usr/local/lib' \
+ $(GLOBJ)gxclread.o
+
+ $(MAKE) $(ARGS) \
+ CC='cc $(SGIARCHFLAGS) -ansi -D_POSIX_4SOURCE -woff 1185,1429' \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/local/$(SGIARCHLIB) -L/usr/local/lib -L/usr/lib/X11' \
+ $(GNU_READLINE_ARGS) \
+ XCFLAGS='-I. -I$(JSRCDIR) -I/usr/local/include -L/usr/local/lib32 -L/usr/local/lib'
+
+
+# IRIX 6.5 can be treated like 6.4 for ghostscript builds:
+sgi-mips-irix6.5: sgi-mips-irix6.4
+
+sgi-mips-irix6.5-gnu-readline: sgi-mips-irix6.4-gnu-readline
+
+sgi-mips-irix6.5-64bit: init
+ $(MAKE) $(ARGS) \
+ CFLAGS_STANDARD= \
+ CC='cc $(SGIARCH64FLAGS) -D_POSIX_4SOURCE' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/lib/X11 -L/usr/local/lib' \
+ $(GLOBJ)idict.o \
+ $(GLOBJ)isave.o
+
+ $(MAKE) $(ARGS) \
+ CC='cc $(SGIARCH64FLAGS) -D_POSIX_4SOURCE' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/lib/X11 -L/usr/local/lib' \
+ $(GLOBJ)gdevpdf.o \
+ $(GLOBJ)gdevps.o \
+ $(GLOBJ)gdevtifs.o \
+ $(GLOBJ)gp_unix.o \
+ $(GLOBJ)zdevcal.o
+#
+ $(MAKE) $(ARGS) \
+ CC='cc $(SGIARCH64FLAGS) -ansi -D_POSIX_4SOURCE -woff 1185,1429 -OPT:Olimit=2500' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/lib/X11 -L/usr/local/lib' \
+ $(GLOBJ)gxclread.o
+
+ $(MAKE) $(ARGS) \
+ CC='cc $(SGIARCH64FLAGS) -ansi -D_POSIX_4SOURCE -woff 1185,1429' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/include/X11 \
+ XLIBDIRS='-L/usr/local/$(SGIARCH64LIB) -L/usr/local/lib -L/usr/lib/X11'
+
+sun-sparc-solaris: init
+ $(MAKE) $(ARGS) \
+ CC='cc -Xc' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/openwin/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/openwin/lib'
+
+sun-sparc-solaris-64bit: init
+ $(MAKE) $(ARGS) \
+ CC='cc -Xc -xarch=v9a' \
+ FEATURE_DEVS_EXTRA= \
+ XINCLUDE=-I/usr/openwin/include \
+ XLIBDIRS='-L/usr/openwin/lib/sparcv9 -L/usr/local/lib64'
+
+sun-sparc-solaris-gnu-readline: init
+ $(MAKE) $(ARGS) \
+ CC='cc -Xc' \
+ XINCLUDE=-I/usr/openwin/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/openwin/lib' \
+ $(GNU_READLINE_ARGS)
+
+sun-sparc-solaris-gcc: init
+ $(MAKE) $(ARGSGCC) \
+ CC='gcc' \
+ GCFLAGS=$(GCFLAGS) \
+ XINCLUDE=-I/usr/openwin/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/openwin/lib' \
+ EXTRALIBS='-ltermcap'
+
+# For ps2pdf FullBook.ps, these optimization options only reduced the time by 3%!
+sun-sparc-solaris-opt-gnu-readline: init
+ $(MAKE) $(ARGS) \
+ CC='cc -Xc -xO5 -dalign -xlibmil -xcg92 -xtarget=ultra1/2170' \
+ XINCLUDE=-I/usr/openwin/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/openwin/lib' \
+ $(GNU_READLINE_ARGS)
+
+# [21-Dec-1998] Add missing $(DD) prefix to sparc.dev
+sun-sparc-solaris-newsprint: init
+ $(MAKE) $(ARGS) \
+ CC='cc -Xc' \
+ XINCLUDE=-I/usr/openwin/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/openwin/lib' \
+ DEVICE_DEVS2=$(DD)sparc.dev
+
+sun-sparc-solaris-pg: init
+ $(MAKE) $(ARGS) \
+ CC='cc -Xc -xO5 -dalign -xlibmil -fsimple=2 -fns -xsafe=mem -xtarget=ultra1/170 -xpg' \
+ XINCLUDE=-I/usr/openwin/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/openwin/lib -ldl'
+
+# [21-Dec-1998] Add missing $(DD) prefix to sparc.dev
+# [28-Nov-1997] Extra device(s) to be compiled into gs to support
+# local needs Neither unixansi.mak nor unix-gcc.mak currently sets
+# DEVICE_DEVS2, so we are free to list only our extra ones here:
+
+# NB: Need -Dconst= for gcc 2.7.1 (unless gcc patch in make.doc is installed)
+sun-sparc-sunos-gcc: init
+ $(MAKE) $(ARGSGCC) \
+ CC='gcc -Dconst=' \
+ FEATURE_DEVS_EXTRA= \
+ GCFLAGS=$(GCFLAGS) \
+ XINCLUDE=-I/usr/openwin/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/openwin/lib' \
+ DEVICE_DEVS2=$(DD)sparc.dev \
+ EXTRALIBS='-ltermcap'
+
+sun-sparc-sunos-gcc-gnu-readline: init
+ $(MAKE) $(ARGSGCC) \
+ CC='gcc -Dconst=' \
+ GCFLAGS=$(GCFLAGS) \
+ XINCLUDE=-I/usr/openwin/include \
+ XLIBDIRS='-L/usr/local/lib -L/usr/openwin/lib' \
+ DEVICE_DEVS2=$(DD)sparc.dev \
+ $(GNU_READLINE_ARGS)
+
+# Convenience targets: build by hostname, using settings from
+# /usr/local/src/ghostscript/BUILD-GS.sh
+
+# [02-Oct-1999]: remove -gnu-readline from these: I still have not
+# yet had time to debug the problems it creates interfacing
+# to ps2pk et al
+GNUREADLINE=-gnu-readline
+GNUREADLINE=
+
+## XXXXXXXX.YYYYYYYY.utah.edu: dec-alpha-osf$(GNUREADLINE)
+## XXXXXXXX.YYYYYYYY.utah.edu: ibm-rs6000-aix-4.2$(GNUREADLINE)
+## XXXXXXXX.YYYYYYYY.utah.edu: sgi-mips-irix6.5$(GNUREADLINE)
+## XXXXXXXX.YYYYYYYY.utah.edu: hp-parisc-hpux$(GNUREADLINE)
+## XXXXXXXX.YYYYYYYY.utah.edu: sgi-mips-irix6.3$(GNUREADLINE)
+## XXXXXXXX.YYYYYYYY.utah.edu: next-m68K-mach$(GNUREADLINE)
+## XXXXXXXX.YYYYYYYY.utah.edu: apple-powerpc-rhapsody5.5$(GNUREADLINE)
+## XXXXXXXX.YYYYYYYY.utah.edu: apple-powerpc-rhapsody5.5$(GNUREADLINE)
+## XXXXXXXX.YYYYYYYY.utah.edu: dec-alpha-osf$(GNUREADLINE)
+## XXXXXXXX.YYYYYYYY.utah.edu: linux$(GNUREADLINE)
+## XXXXXXXX.YYYYYYYY.utah.edu: linux$(GNUREADLINE)
+## XXXXXXXX.YYYYYYYY.utah.edu: sun-sparc-sunos-gcc$(GNUREADLINE)
+## XXXXXXXX.YYYYYYYY.utah.edu: sun-sparc-solaris$(GNUREADLINE)
+## XXXXXXXX.YYYYYYYY.utah.edu: sun-sparc-solaris$(GNUREADLINE)
+## XXXXXXXX.YYYYYYYY.utah.edu: sgi-mips-irix5$(GNUREADLINE)
diff --git a/app-text/ghostscript/files/digest b/app-text/ghostscript/files/digest
new file mode 100644
index 000000000000..2064e0e551ca
--- /dev/null
+++ b/app-text/ghostscript/files/digest
@@ -0,0 +1,2 @@
+MD5 abad620560b79ff40162f648506ae448 ghostscript-6.01.tar.gz
+MD5 8250132d6fcc6eb1419f505f06c7690b ghostscript-fonts-std-6.0.tar.gz
diff --git a/app-text/ghostscript/ghostscript-6.01-r1.ebuild b/app-text/ghostscript/ghostscript-6.01-r1.ebuild
new file mode 100644
index 000000000000..a199da06bc5b
--- /dev/null
+++ b/app-text/ghostscript/ghostscript-6.01-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-6.01-r1.ebuild,v 1.1 2000/08/07 15:31:45 achim Exp $
+
+P=ghostscript-6.01
+A="${P}.tar.gz ghostscript-fonts-std-6.0.tar.gz"
+A1=jpegsrc.v6b.tar.gz
+A2=zlib-1.1.3.tar.gz
+A3=libpng-1.0.6.tar.gz
+
+S=${WORKDIR}/gs6.01
+CATEGORY="app-text"
+DESCRIPTION="Aladin Ghostscript"
+SRC_URI="http://download.sourceforge.net/ghostscript/${P}.tar.gz
+ http://download.sourceforge.net/gs-fonts/ghostscript-fonts-std-6.0.tar.gz"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ mkdir zlib
+ cd zlib
+ unpack ${A2}
+ cd ..
+ mkdir jpeg
+ cd jpeg
+ unpack ${A1}
+ cd ..
+ mkdir libpng
+ cd libpng
+ unpack ${A3}
+ cd ../src
+ cp ${O}/files/all-arch.mak all-arch.mak
+
+}
+
+src_compile() {
+ cd ${S}/src
+ cp all-arch.mak all-arch.mak.orig
+ sed -e "s:^SRCDIR.*:SRCDIR = ${S}:" all-arch.mak.orig > all-arch.mak
+ cp unix-gcc.mak unix-gcc.mak.orig
+ sed -e "s:-O2:${CFLAGS}:" unix-gcc.mak.orig > unix-gcc.mak
+ cd ..
+ make -f src/all-arch.mak linux prefix=/usr
+}
+
+src_install() {
+ cd ${S}
+ dodir /usr/bin
+ make -f src/all-arch.mak prefix=${D}/usr install
+ cd ${WORKDIR}
+ cp -a fonts ${D}/usr/share/ghostscript
+ cd ${S}
+
+ prepman
+
+ dodir /usr/doc/${P}
+ rm -rf ${D}/usr/share/ghostscript/6.01/doc
+ dodoc doc/README doc/PUBLIC doc/ps2epsi.txt
+ docinto html
+ dodoc doc/*.html doc/*.htm
+ insinto /usr/share/emacs/site-lisp
+ doins doc/gsdoc.el
+
+}
+
+
+
diff --git a/app-text/metamail/files/digest b/app-text/metamail/files/digest
new file mode 100644
index 000000000000..e4a8ed9fcf12
--- /dev/null
+++ b/app-text/metamail/files/digest
@@ -0,0 +1 @@
+MD5 fd5617ea87e20d7f2fa839e1d1fede60 mm2.7.tar.Z
diff --git a/app-text/metamail/metamail-2.7-r1.ebuild b/app-text/metamail/metamail-2.7-r1.ebuild
new file mode 100644
index 000000000000..36a34a9bca82
--- /dev/null
+++ b/app-text/metamail/metamail-2.7-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-text/metamail/metamail-2.7-r1.ebuild,v 1.1 2000/08/07 15:31:45 achim Exp $
+
+P=metamail-2.7
+A=mm2.7.tar.Z
+S=${WORKDIR}/mm2.7/src
+CATEGORY="app-text"
+DESCRIPTION="Metamail"
+SRC_URI="ftp://thumper.bellcore.com/pub/nsb/"${A}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp Makefile Makefile.orig
+ sed -e "s:^CFLAGS =.*:CFLAGS = -fsigned-char -g -pipe -DLINUX -I \. ${CFLAGS} -Bstatic:" Makefile.orig > Makefile
+ cd metamail
+ cp Makefile Makefile.orig
+ sed -e "s/-ltermcap/-lncurses/" Makefile.orig > Makefile
+ cd ../richmail
+ cp Makefile Makefile.orig
+ sed -e "s/-ltermcap/-lncurses/" Makefile.orig > Makefile
+}
+
+src_compile() {
+ cd ${S}
+ make
+ make -C fonts
+}
+
+src_install() {
+ cd ${S}
+ into /usr
+ dobin bin/*
+ doman man/*
+ dodoc CREDITS README mailers.txt
+ insinto /usr/X11R6/lib/X11/fonts/misc
+ doins fonts/*.pcf
+}
+
+
+
diff --git a/app-text/openjade/files/digest b/app-text/openjade/files/digest
new file mode 100644
index 000000000000..5c199b4643ff
--- /dev/null
+++ b/app-text/openjade/files/digest
@@ -0,0 +1 @@
+MD5 4cbc2a8c15431b3f08b4487a5702c938 openjade-1.3.tar.gz
diff --git a/app-text/openjade/openjade-1.3-r1.ebuild b/app-text/openjade/openjade-1.3-r1.ebuild
new file mode 100644
index 000000000000..f30f39deb219
--- /dev/null
+++ b/app-text/openjade/openjade-1.3-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-text/openjade/openjade-1.3-r1.ebuild,v 1.1 2000/08/07 15:31:45 achim Exp $
+
+P=openjade-1.3
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+CATEGORY="app-text"
+DESCRIPTION="Jade is an implemetation of DSSSL - an ISO standard for formatting SGML (and XML) documents"
+SRC_URI="http://download.sourceforge.net/openjade/"${A}
+HOMEPAGE="http://openjade.sourceforge.net"
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_compile() {
+ cd ${S}
+ SGML_PREFIX=/usr/share/sgml
+ ./configure --host=${CHOST} --prefix=/usr --enable-http \
+ --enable-default-catalog=$SGML_PREFIX/dtd/docbook/docbook.cat:$SGML_PREFIX/stylesheets/docbook/catalog:$SGML_PREFIX/jade/dsssl/catalog:
+ --enable-default-search-path=/usr/share/sgml/stylesheets/docbook/:/usr/share/sgml/dtd/docbook/:/usr/share/sgml/jade/dsssl/:
+ make
+}
+
+src_install() {
+ cd ${S}
+ dodir /usr
+ dodir /usr/lib
+ make prefix=${D}/usr install
+ dosym openjade /usr/bin/jade
+ dodir /usr/share/sgml/jade
+ rm ${D}usr/share/builtins.dsl
+ for i in unicode dsssl pubtext
+ do
+ cp -af $i ${D}/usr/share/sgml/jade
+ done
+ dodoc COPYING NEWS README VERSION
+ docinto html/doc
+ dodoc doc/*.htm
+ docinto html/jadedoc
+ dodoc jadedoc/*.htm
+ docinto html/jadedoc/images
+ dodoc jadedoc/images/*
+}
+
+
+
diff --git a/app-text/sgml2x/files/digest b/app-text/sgml2x/files/digest
new file mode 100644
index 000000000000..37496a3c963e
--- /dev/null
+++ b/app-text/sgml2x/files/digest
@@ -0,0 +1 @@
+MD5 b83d6690903774a1b925501c58488c4f sgml2x-0.11.tar.gz
diff --git a/app-text/sgml2x/sgml2x-0.11-r1.ebuild b/app-text/sgml2x/sgml2x-0.11-r1.ebuild
new file mode 100644
index 000000000000..8ee830c06949
--- /dev/null
+++ b/app-text/sgml2x/sgml2x-0.11-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgml2x/sgml2x-0.11-r1.ebuild,v 1.1 2000/08/07 15:31:45 achim Exp $
+
+P=sgml2x-0.11
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+CATEGORY="app-text"
+DESCRIPTION="Frontend for jade and jadetex"
+SRC_URI="ftp://sgml2x.sourceforge.net/pub/sgml2x/"${A}
+HOMEPAGE="http://sgml2x.sourceforge.net/"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp Makefile Makefile.orig
+ sed -e "s:perl Makefile.PL:perl Makefile.PL $PERLINSTALL:" Makefile.orig > Makefile
+}
+
+src_compile() {
+ cd ${S}
+ make
+}
+
+src_install() {
+ cd ${S}
+ dodir /usr/bin
+ dodir /etc
+ make prefix=${D}/usr sysconfdir=${D}/etc install
+ dodoc README
+ docinto html
+ dodoc sgml2x.html doc/*.html doc/*.gif
+}
+
+
+
+
diff --git a/app-text/tetex/files/digest b/app-text/tetex/files/digest
new file mode 100644
index 000000000000..023aaebbefce
--- /dev/null
+++ b/app-text/tetex/files/digest
@@ -0,0 +1,2 @@
+MD5 2c6da2a45096c2fdc41b8de6a8af1a52 teTeX-src-1.0.7.tar.gz
+MD5 aa28c65d6968114b3aa8694c83b3954b teTeX-texmf-1.0.2.tar.gz
diff --git a/app-text/tetex/tetex-1.0.7-r1.ebuild b/app-text/tetex/tetex-1.0.7-r1.ebuild
new file mode 100644
index 000000000000..a16dcb15e674
--- /dev/null
+++ b/app-text/tetex/tetex-1.0.7-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-1.0.7-r1.ebuild,v 1.1 2000/08/07 15:31:45 achim Exp $
+
+P=tetex-1.0.7
+A="teTeX-src-1.0.7.tar.gz teTeX-texmf-1.0.2.tar.gz"
+S=${WORKDIR}/teTeX-1.0
+CATEGORY="app-text"
+DESCRIPTION="teTeX is a complete TeX distribution"
+SRC_URI="ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/1.0/distrib/sources/teTeX-src-1.0.7.tar.gz
+ ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/1.0/distrib/sources/teTeX-texmf-1.0.2.tar.gz"
+HOMEPAGE="http://tug.cd.umb.edu/tetex/"
+
+src_unpack() {
+ unpack teTeX-src-1.0.7.tar.gz
+ mkdir texmf
+ cd texmf
+# unpack teTeX-texmf-1.0.2.tar.gz
+}
+
+src_compile() {
+ cd ${S}
+ ./configure --host=${CHOST} --prefix=/usr
+ make
+}
+
+src_install() {
+ cd ${S}
+ dodir /usr/share
+ cp -a ../texmf ${D}/usr/share/
+ make prefix=${D}/usr install
+}
+
+
+
+