summaryrefslogtreecommitdiff
path: root/print/teTeX-sharesrc
diff options
context:
space:
mode:
authorkei <kei@pkgsrc.org>2001-10-24 00:28:47 +0000
committerkei <kei@pkgsrc.org>2001-10-24 00:28:47 +0000
commit2f54bfffa9daec7f975293cce13353fe58083b1f (patch)
treea312e808ec229076cbf54ff5a3cd1d392dcc4694 /print/teTeX-sharesrc
parent6da054cb03029159d30fdd1dea2bb11503914bb8 (diff)
downloadpkgsrc-2f54bfffa9daec7f975293cce13353fe58083b1f.tar.gz
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
Diffstat (limited to 'print/teTeX-sharesrc')
-rw-r--r--print/teTeX-sharesrc/Makefile16
1 files changed, 12 insertions, 4 deletions
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"