diff options
-rw-r--r-- | print/teTeX-bin/Makefile | 4 | ||||
-rw-r--r-- | print/teTeX-share/Makefile | 9 | ||||
-rw-r--r-- | print/teTeX-share/files/latex.ltx.diff | 21 | ||||
-rw-r--r-- | print/teTeX-sharesrc/Makefile | 16 | ||||
-rw-r--r-- | print/teTeX/Makefile | 8 |
5 files changed, 46 insertions, 12 deletions
diff --git a/print/teTeX-bin/Makefile b/print/teTeX-bin/Makefile index eb070a3354f..d8ada7d0846 100644 --- a/print/teTeX-bin/Makefile +++ b/print/teTeX-bin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2001/09/27 23:18:37 jlam Exp $ +# $NetBSD: Makefile,v 1.30 2001/10/24 00:28:48 kei Exp $ # FreeBSD Id: Makefile,v 1.20 1997/08/05 06:56:41 tg Exp # @@ -13,7 +13,7 @@ HOMEPAGE= http://www.tug.org/tetex/ COMMENT= TeX distribution for UNIX compatible systems - executables BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison -DEPENDS+= teTeX-share-1.0.*:../teTeX-share +DEPENDS+= teTeX-share>=1.0.2nb1:../teTeX-share DEPENDS+= dialog-0.6z:../../misc/dialog DEPENDS+= libwww>=5.2.8:../../www/libwww DEPENDS+= png>=1.0.11:../../graphics/png diff --git a/print/teTeX-share/Makefile b/print/teTeX-share/Makefile index 44acbcc4866..28fc56591d1 100644 --- a/print/teTeX-share/Makefile +++ b/print/teTeX-share/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.8 2001/02/25 04:18:11 hubertf Exp $ +# $NetBSD: Makefile,v 1.9 2001/10/24 00:28:48 kei Exp $ # DISTNAME= teTeX-texmf-1.0.2 -PKGNAME= teTeX-share-1.0.2 +PKGNAME= teTeX-share-1.0.2nb1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/unix/teTeX/1.0/distrib/sources/} @@ -18,6 +18,8 @@ NO_CONFIGURE= yes NO_BUILD= yes NO_MTREE= yes +EXTRA_PATCH= ${FILESDIR}/latex.ltx.diff + do-install: @${ECHO} "" @${ECHO} "Extracting ${DISTFILES} to ${PREFIX}/share/texmf" @@ -30,5 +32,8 @@ do-install: -C ${PREFIX}/share/texmf \ -X ${FILESDIR}/exclude \ -f ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} + @cd ${PREFIX}/share/texmf/tex/latex/base && \ + ${PATCH} < ${EXTRA_PATCH} && \ + ${RM} latex.ltx.orig .include "../../mk/bsd.pkg.mk" diff --git a/print/teTeX-share/files/latex.ltx.diff b/print/teTeX-share/files/latex.ltx.diff new file mode 100644 index 00000000000..73d82010fb0 --- /dev/null +++ b/print/teTeX-share/files/latex.ltx.diff @@ -0,0 +1,21 @@ +$NetBSD: latex.ltx.diff,v 1.1 2001/10/24 00:28:49 kei Exp $ + +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. + +--kei + +--- latex.ltx.orig Mon Sep 17 09:24:52 2001 ++++ latex.ltx Mon Sep 17 09:25:16 2001 +@@ -72,6 +72,7 @@ + \errmessage + {LaTeX must be made using an initex with no format preloaded} + \fi ++\scrollmode + \catcode`\{=1 + \catcode`\}=2 + \catcode`\#=6 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" diff --git a/print/teTeX/Makefile b/print/teTeX/Makefile index 5d76dda296c..1984d9ba599 100644 --- a/print/teTeX/Makefile +++ b/print/teTeX/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.22 2001/02/17 17:51:55 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2001/10/24 00:28:47 kei Exp $ # -DISTNAME= teTeX-1.0.7 +DISTNAME= teTeX-1.0.7nb1 CATEGORIES= print MASTER_SITES= # empty DISTFILES= # empty @@ -10,8 +10,8 @@ MAINTAINER= hubertf@netbsd.org HOMEPAGE= http://www.tug.org/tetex/ COMMENT= Thomas Esser's TeX distribution for UNIX compatible systems -DEPENDS+= teTeX-bin>=1.0.7:../teTeX-bin -DEPENDS+= teTeX-sharesrc>=1.0.1:../teTeX-sharesrc +DEPENDS+= teTeX-bin>=1.0.7nb1:../teTeX-bin +DEPENDS+= teTeX-sharesrc>=1.0.1nb1:../teTeX-sharesrc USE_X11= yes EXTRACT_ONLY= # empty |