From db28bcf46a90a41c59018de9565954782c5eac46 Mon Sep 17 00:00:00 2001 From: marc Date: Tue, 4 Aug 1998 00:13:40 +0000 Subject: [PATCH] dont build/install the texinfo tools, use those that come with OpenBSD; verify we can build a package --- print/teTeX/Makefile | 8 ++++++-- print/teTeX/patches/patch-aa | 14 ++++++++++++-- print/teTeX/pkg/PLIST | 30 +++++++++++++----------------- 3 files changed, 31 insertions(+), 21 deletions(-) diff --git a/print/teTeX/Makefile b/print/teTeX/Makefile index ab3625c93f9..04a140051e3 100644 --- a/print/teTeX/Makefile +++ b/print/teTeX/Makefile @@ -3,7 +3,7 @@ # Date created: April 28, 1997 # Whom: Angelos D. Keromytis # -# $OpenBSD: Makefile,v 1.1.1.1 1998/04/28 04:16:40 angelos Exp $ +# $OpenBSD: Makefile,v 1.2 1998/08/04 00:13:40 marc Exp $ # DISTNAME= teTeX-src-0.4 @@ -40,7 +40,11 @@ INSTALL_INFO= /usr/bin/install-info pre-install: @${RM} -f ${PREFIX}/share/texmf/ls-R @chown -R bin:bin ${WRKLIB}/info ${WRKLIB}/man - @${RM} -f ${WRKLIB}/info/dir ${WRKLIB}/info/localdir ${WRKLIB}/info/*.orig + @${RM} -f ${WRKLIB}/info/dir \ + ${WRKLIB}/info/localdir \ + ${WRKLIB}/info/*.orig \ + ${WRKLIB}/info/makeinfo.info \ + ${WRKLIB}/info/texinfo* @chmod 444 ${WRKLIB}/info/* ${WRKLIB}/man/man1/* ${WRKLIB}/man/man5/* @find ${WRKLIB}/texmf/fonts -type d -perm 1755 -exec chmod 755 {} \; @ (cd ${WRKLIB}; tar cf - info man/man1 man/man5) | (cd ${PREFIX}; tar -xpvf -) diff --git a/print/teTeX/patches/patch-aa b/print/teTeX/patches/patch-aa index 992337cd8b1..92bd05fe055 100644 --- a/print/teTeX/patches/patch-aa +++ b/print/teTeX/patches/patch-aa @@ -1,5 +1,5 @@ --- Makefile.orig Fri Feb 14 02:58:11 1997 -+++ Makefile Sun Jul 12 20:13:08 1998 ++++ Makefile Mon Aug 3 10:51:05 1998 @@ -8,10 +8,10 @@ #========================================================================= VERSION = 0.4 @@ -62,7 +62,7 @@ # change the true/false definition of FOIL, if you get an error with wchar_t FOIL = false -@@ -111,9 +111,9 @@ +@@ -111,17 +111,17 @@ platform = $(shell ./config.guess | sed 's/-.*-/-/') CWD := $(shell pwd) INSTALL = $(CWD)/$(KPSEDIR)/bin/install -c @@ -75,6 +75,16 @@ override PATH := $(bindir):$(CWD)/bin-extra:$(CWD)/$(KPSEDIR)/bin:$(PATH) CONFDIRS = $(KPSEDIR) $(TEXIDIR) + ifeq ($(USE_DIALOG),true) +-SUBDIRS = $(TEXIDIR) $(MKINDEXDIR) $(KPSEDIR) $(DIALOGDIR) bin-extra ++SUBDIRS = $(MKINDEXDIR) $(KPSEDIR) $(DIALOGDIR) bin-extra + CONFDIRS += $(DIALOGDIR) + else +-SUBDIRS = $(TEXIDIR) $(MKINDEXDIR) $(KPSEDIR) bin-extra ++SUBDIRS = $(MKINDEXDIR) $(KPSEDIR) bin-extra + override USE_NCURSES = no + endif + @@ -205,7 +205,6 @@ for i in $(SUBDIRS); do \ (set -x; cd $$i; $(MAKE) $(PASSENV) $@ || exit 1); \ diff --git a/print/teTeX/pkg/PLIST b/print/teTeX/pkg/PLIST index 63277da55fd..64ae45adf70 100644 --- a/print/teTeX/pkg/PLIST +++ b/print/teTeX/pkg/PLIST @@ -1,8 +1,5 @@ bin/MakeTeXMF -bin/makeinfo -bin/texindex bin/pslatex -bin/install-info bin/makeindex.bin bin/kpsetool bin/makeindex @@ -90,28 +87,14 @@ info/kpathsea.info-2 info/kpathsea.info-3 info/kpathsea.info info/latex-1 -info/makeinfo.info -info/texinfo-10 -info/texinfo-2 -info/texinfo-3 -info/texinfo-4 -info/texinfo-5 -info/texinfo-6 -info/texinfo-7 -info/texinfo-8 -info/texinfo-9 -info/texinfo info/latex-3 info/latex -info/texinfo-1 -info/texinfo-11 info/fontname.info-5 info/fontname.info info/latex-2 info/dvips.info-1 info/fontname.info-4 info/kpathsea.info-1 -info/texinfo-12 @exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir @exec install-info %D/info/latex %D/info/dir @exec install-info %D/info/kpathsea.info %D/info/dir @@ -3720,3 +3703,16 @@ share/texmf/ls-R @dirrm share/texmf/bibtex/bib @dirrm share/texmf/bibtex @dirrm share/texmf +@exec echo "" +@exec echo "--------------------------------------------------------" +@exec echo "Final touch:" +@exec echo "" +@exec echo "1. Run %D/bin/texconfig" +@exec echo " to adjust for your local environment." +@exec echo "2. Chmod 1777 %D/share/texmf/fonts/{pk,tfm}" +@exec echo " and all subdirectories if you did not configure" +@exec echo " font generation to use a temporary directory." +@exec echo "3. For further information have a look at" +@exec echo " %D/share/texmf/doc/tetex/." +@exec echo "--------------------------------------------------------" +@exec echo ""