From 8e791b10fafaa93073680a436519669124dec908 Mon Sep 17 00:00:00 2001 From: rillig Date: Mon, 9 Oct 2006 03:08:24 +0000 Subject: Fixed bash and Perl interpreters. This made it necessary that the distfile is first extracted into the working directory and later copied. PKGREVISION++ --- print/teTeX3-texmf/Makefile | 29 ++++++++++++++-------------- print/teTeX3-texmf/distinfo | 3 ++- print/teTeX3-texmf/files/dvipdfm-config.diff | 13 ------------- print/teTeX3-texmf/files/exclude | 1 - print/teTeX3-texmf/patches/patch-aa | 13 +++++++++++++ 5 files changed, 29 insertions(+), 30 deletions(-) delete mode 100644 print/teTeX3-texmf/files/dvipdfm-config.diff delete mode 100644 print/teTeX3-texmf/files/exclude create mode 100644 print/teTeX3-texmf/patches/patch-aa (limited to 'print/teTeX3-texmf') diff --git a/print/teTeX3-texmf/Makefile b/print/teTeX3-texmf/Makefile index 6b0c5659c66..7536d53a431 100644 --- a/print/teTeX3-texmf/Makefile +++ b/print/teTeX3-texmf/Makefile @@ -1,12 +1,11 @@ -# $NetBSD: Makefile,v 1.14 2006/07/27 00:09:06 hubertf Exp $ +# $NetBSD: Makefile,v 1.15 2006/10/09 03:08:24 rillig Exp $ # DISTNAME= tetex-texmf-3.0 -PKGREVISION= 4 PKGNAME= ${DISTNAME:C/tetex/teTeX/} +PKGREVISION= 5 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/unix/teTeX/3.0/distrib/} -EXTRACT_SUFX= .tar.gz MAINTAINER= kei@NetBSD.org,pkgsrc-users@NetBSD.org HOMEPAGE= http://www.tug.org/tetex/ @@ -14,21 +13,21 @@ COMMENT= Machine-independent part of teTeX CONFLICTS+= teTeX-share-[0-9]* -WRKSRC= ${WRKDIR} -EXTRACT_ONLY= # empty -NO_CONFIGURE= yes +WRKSRC= ${WRKDIR}/tetex +EXTRACT_DIR= ${WRKSRC} NO_BUILD= yes -USE_TOOLS+= patch -EXTRACT_OPTS= -X ${FILESDIR}/exclude -EXTRACT_OPTS_TAR= -p +REPLACE_PERL+= doc/generic/ruhyphen/reduce-patt doc/generic/ruhyphen/sorthyph +# No dependency on Perl. +REPLACE_SH+= doc/latex/bibunits/bibtexall doc/latex/multibib/bibtexall +USE_TOOLS+= sh:run + +INSTALLATION_DIRS= share/texmf-dist + +post-extract: + rm -f ${WRKSRC}/ls-R do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/texmf-dist - extract_file=${_DISTDIR:Q}/${DISTFILES:Q}; \ - cd ${PREFIX}/share/texmf-dist; ${EXTRACT_CMD} - cd ${PREFIX}/share/texmf-dist/dvipdfm/config && \ - ${PATCH} ${_PATCH_BACKUP_ARG} .orig < ${FILESDIR}/dvipdfm-config.diff && \ - ${RM} config.orig + cd ${WRKSRC} && pax -wr -s ',.*\.orig$$,,' * ${PREFIX}/share/texmf-dist .include "../../mk/bsd.pkg.mk" diff --git a/print/teTeX3-texmf/distinfo b/print/teTeX3-texmf/distinfo index 482418c6bdd..63147076188 100644 --- a/print/teTeX3-texmf/distinfo +++ b/print/teTeX3-texmf/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2006/06/20 16:06:53 minskim Exp $ +$NetBSD: distinfo,v 1.4 2006/10/09 03:08:24 rillig Exp $ SHA1 (tetex-texmf-3.0.tar.gz) = 1be97f57a26a6e9b72ebfd932e45914a959aff16 RMD160 (tetex-texmf-3.0.tar.gz) = a1e87733fa3cbef04e39a690ed8549aeaaddb241 Size (tetex-texmf-3.0.tar.gz) = 91402377 bytes +SHA1 (patch-aa) = 76a18dd4903700e36048433bd7c3dcd330377163 diff --git a/print/teTeX3-texmf/files/dvipdfm-config.diff b/print/teTeX3-texmf/files/dvipdfm-config.diff deleted file mode 100644 index d02c06056da..00000000000 --- a/print/teTeX3-texmf/files/dvipdfm-config.diff +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: dvipdfm-config.diff,v 1.1.1.1 2005/03/31 22:12:42 hubertf Exp $ - ---- config.orig 2005-02-09 01:42:24.000000000 +0000 -+++ config 2005-02-09 01:42:31.000000000 +0000 -@@ -17,7 +17,7 @@ - - % PDF version stamp to use in output file and max version of files - % allowed to be included (2 for 1.2, 3 for 1.3) --V 2 -+V 3 - - % For correct searching / text extraction: - f cm-dvipdfm-fix.map diff --git a/print/teTeX3-texmf/files/exclude b/print/teTeX3-texmf/files/exclude deleted file mode 100644 index 2d422dab9ac..00000000000 --- a/print/teTeX3-texmf/files/exclude +++ /dev/null @@ -1 +0,0 @@ -ls-R diff --git a/print/teTeX3-texmf/patches/patch-aa b/print/teTeX3-texmf/patches/patch-aa new file mode 100644 index 00000000000..3240800c6a2 --- /dev/null +++ b/print/teTeX3-texmf/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2006/10/09 03:08:24 rillig Exp $ + +--- dvipdfm/config/config.orig 2005-02-09 01:42:24.000000000 +0000 ++++ dvipdfm/config/config 2005-02-09 01:42:31.000000000 +0000 +@@ -17,7 +17,7 @@ + + % PDF version stamp to use in output file and max version of files + % allowed to be included (2 for 1.2, 3 for 1.3) +-V 2 ++V 3 + + % For correct searching / text extraction: + f cm-dvipdfm-fix.map -- cgit v1.2.3