From fb3b62182c192b9fe0685aa95fa0d909cf1dc1e5 Mon Sep 17 00:00:00 2001 From: kei Date: Wed, 24 Oct 2001 00:28:47 +0000 Subject: Updated teTeX-share and teTeX-sharesrc for preparing to update of TeXfamily which doesn't compile recently because of the LaTeX's "Hey, your distribution is too old! Please update it to the latest one!" feature. Quoted from the patch to `latex.ltx'. This is a work around for the '1 year old' error which avoids the format file from being generated correctly. Provided by Naoto Shimazaki. Because of NO_EXTRACT/NO_PATCH/others are defined in teTeX-share{,src} packages, applying this patch is done by packages' Makefiles on do-install stage. New version numbers after these changes are like below: teTeX: 1.0.7nb1 teTeX-bin: 1.0.7nb1 teTeX-share: 1.0.2nb1 teTeX-sharesrc: 1.0.1nb1 --- print/teTeX-sharesrc/Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'print/teTeX-sharesrc') diff --git a/print/teTeX-sharesrc/Makefile b/print/teTeX-sharesrc/Makefile index 8139695104e..a4d15b65587 100644 --- a/print/teTeX-sharesrc/Makefile +++ b/print/teTeX-sharesrc/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.8 2001/02/25 04:18:12 hubertf Exp $ +# $NetBSD: Makefile,v 1.9 2001/10/24 00:28:49 kei Exp $ # FreeBSD Id: Makefile,v 1.20 1997/08/05 06:56:41 tg Exp # DISTNAME= teTeX-texmfsrc-1.0.1 -PKGNAME= teTeX-sharesrc-1.0.1 +PKGNAME= teTeX-sharesrc-1.0.1nb1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/unix/teTeX/1.0/distrib/sources/} @@ -11,7 +11,7 @@ MAINTAINER= hubertf@netbsd.org HOMEPAGE= http://www.tug.org/tetex/ COMMENT= Sources for machine-independent part of teTeX -DEPENDS+= teTeX-share-1.0.*:../teTeX-share +DEPENDS+= teTeX-share>=1.0.2nb1:../teTeX-share DIST_SUBDIR= teTeX WRKSRC= ${WRKDIR} @@ -21,12 +21,20 @@ NO_CONFIGURE= yes NO_BUILD= yes NO_MTREE= yes +FILESDIR= ${.CURDIR}/../../print/teTeX-share/files +EXTRA_PATCH= ${FILESDIR}/latex.ltx.diff + do-install: @${ECHO} "" @${ECHO} "Extracting ${DISTFILES} to ${PREFIX}/share/texmf/source" @${ECHO} " Get yourself a shower and a mug of coffee, this will take long!" @${ECHO} "" ${INSTALL_DATA_DIR} ${PREFIX}/share/texmf - ${GTAR} plzxCf ${PREFIX}/share/texmf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} + ${GTAR} -plzx \ + -C ${PREFIX}/share/texmf \ + -f ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} + @cd ${PREFIX}/share/texmf/source/latex/base && \ + ${PATCH} < ${EXTRA_PATCH} && \ + ${RM} latex.ltx.orig .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3