summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-10-09 03:08:24 +0000
committerrillig <rillig@pkgsrc.org>2006-10-09 03:08:24 +0000
commit8e791b10fafaa93073680a436519669124dec908 (patch)
tree4d9dfd15e7216ac974f4f8bb73d8434d268c9b59 /print
parent78ad3f5a1b35fd736067ef2f55a26d8e2ad7f954 (diff)
downloadpkgsrc-8e791b10fafaa93073680a436519669124dec908.tar.gz
Fixed bash and Perl interpreters. This made it necessary that the distfile
is first extracted into the working directory and later copied. PKGREVISION++
Diffstat (limited to 'print')
-rw-r--r--print/teTeX3-texmf/Makefile29
-rw-r--r--print/teTeX3-texmf/distinfo3
-rw-r--r--print/teTeX3-texmf/files/exclude1
-rw-r--r--print/teTeX3-texmf/patches/patch-aa (renamed from print/teTeX3-texmf/files/dvipdfm-config.diff)6
4 files changed, 19 insertions, 20 deletions
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/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/files/dvipdfm-config.diff b/print/teTeX3-texmf/patches/patch-aa
index d02c06056da..3240800c6a2 100644
--- a/print/teTeX3-texmf/files/dvipdfm-config.diff
+++ b/print/teTeX3-texmf/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: dvipdfm-config.diff,v 1.1.1.1 2005/03/31 22:12:42 hubertf Exp $
+$NetBSD: patch-aa,v 1.1 2006/10/09 03:08:24 rillig Exp $
---- config.orig 2005-02-09 01:42:24.000000000 +0000
-+++ config 2005-02-09 01:42:31.000000000 +0000
+--- 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