summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorminskim <minskim>2013-11-17 17:05:10 +0000
committerminskim <minskim>2013-11-17 17:05:10 +0000
commitfcddb7e2d9fcf92be2af0e3fa8d2197582477a17 (patch)
tree1b6cca2983bb3d95c767f13dca12f4ea95117350 /print
parentbec400baa0ea079dd08f0bcfcb52f6af951c7c4e (diff)
downloadpkgsrc-fcddb7e2d9fcf92be2af0e3fa8d2197582477a17.tar.gz
Update tex-texlive-scripts to 2013.
- Files in share/texmf have been moved to share/texmf-dist.
Diffstat (limited to 'print')
-rw-r--r--print/tex-texlive-scripts/Makefile26
-rw-r--r--print/tex-texlive-scripts/PLIST12
-rw-r--r--print/tex-texlive-scripts/distinfo9
-rw-r--r--print/tex-texlive-scripts/patches/patch-bin_rungs13
4 files changed, 41 insertions, 19 deletions
diff --git a/print/tex-texlive-scripts/Makefile b/print/tex-texlive-scripts/Makefile
index 6c0d995d614..71324226b44 100644
--- a/print/tex-texlive-scripts/Makefile
+++ b/print/tex-texlive-scripts/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2012/03/04 20:17:38 minskim Exp $
+# $NetBSD: Makefile,v 1.11 2013/11/17 17:05:10 minskim Exp $
DISTNAME= texlive-scripts
-PKGNAME= tex-${DISTNAME}-2011
-TEXLIVE_REV= 25234
+PKGNAME= tex-${DISTNAME}-2013
+TEXLIVE_REV= 32115
MAINTAINER= minskim@NetBSD.org
COMMENT= TeX Live infrastructure programs
@@ -10,17 +10,25 @@ LICENSE= gnu-gpl-v2 AND public-domain
CONFLICTS+= tex-bin-texlive-[0-9]*
+USE_TOOLS+= gs:run
+
REPLACE_TEXLUA= bin/rungs \
- texmf/scripts/texlive/lua/texlive/getopt.tlu \
- texmf/scripts/texlive/lua/texlive/tlpdb.tlu \
- texmf/scripts/texlive/test-tlpdb.tlu \
- texmf/scripts/texlive/texconf.tlu
-TEX_TEXMF_DIRS+= ${PREFIX}/share/texmf
+ texmf-dist/scripts/texlive/lua/texlive/getopt.tlu \
+ texmf-dist/scripts/texlive/lua/texlive/tlpdb.tlu \
+ texmf-dist/scripts/texlive/test-tlpdb.tlu \
+ texmf-dist/scripts/texlive/texconf.tlu
+
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= Setting paths to commands.
+SUBST_STAGE.paths= pre-configure
+SUBST_FILES.paths= bin/rungs
+SUBST_SED.paths+= -e 's,@GS@,${TOOLS_PATH.gs},g'
.include "../../print/texlive/package.mk"
post-extract:
${MKDIR} ${WRKSRC}/bin
- ${MV} ${WRKSRC}/texmf/scripts/texlive/rungs.tlu ${WRKSRC}/bin/rungs
+ ${MV} ${WRKSRC}/texmf-dist/scripts/texlive/rungs.tlu \
+ ${WRKSRC}/bin/rungs
.include "../../mk/bsd.pkg.mk"
diff --git a/print/tex-texlive-scripts/PLIST b/print/tex-texlive-scripts/PLIST
index e603905a87f..57f379b37b3 100644
--- a/print/tex-texlive-scripts/PLIST
+++ b/print/tex-texlive-scripts/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2010/01/16 04:43:19 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2013/11/17 17:05:10 minskim Exp $
bin/rungs
-share/texmf/scripts/texlive/lua/texlive/getopt.tlu
-share/texmf/scripts/texlive/lua/texlive/tlpdb.tlu
-share/texmf/scripts/texlive/lua/texlive/utils.tlu
-share/texmf/scripts/texlive/test-tlpdb.tlu
-share/texmf/scripts/texlive/texconf.tlu
+share/texmf-dist/scripts/texlive/lua/texlive/getopt.tlu
+share/texmf-dist/scripts/texlive/lua/texlive/tlpdb.tlu
+share/texmf-dist/scripts/texlive/lua/texlive/utils.tlu
+share/texmf-dist/scripts/texlive/test-tlpdb.tlu
+share/texmf-dist/scripts/texlive/texconf.tlu
diff --git a/print/tex-texlive-scripts/distinfo b/print/tex-texlive-scripts/distinfo
index 77579cbfb34..e0b0fe85f51 100644
--- a/print/tex-texlive-scripts/distinfo
+++ b/print/tex-texlive-scripts/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.11 2012/03/04 20:17:38 minskim Exp $
+$NetBSD: distinfo,v 1.12 2013/11/17 17:05:10 minskim Exp $
-SHA1 (tex-texlive-scripts-25234/texlive-scripts.tar.xz) = d0d9fd5c493fe5c400f5a86aec118f185e9dc84a
-RMD160 (tex-texlive-scripts-25234/texlive-scripts.tar.xz) = 4af122139d8472a8da12a8acd7f3a32c4aaaebc8
-Size (tex-texlive-scripts-25234/texlive-scripts.tar.xz) = 46500 bytes
+SHA1 (tex-texlive-scripts-32115/texlive-scripts.tar.xz) = b73ada56a8579e878b7f68b4248698c103c8175d
+RMD160 (tex-texlive-scripts-32115/texlive-scripts.tar.xz) = 85366571018281edd770326cca0bbe52c257ba99
+Size (tex-texlive-scripts-32115/texlive-scripts.tar.xz) = 62504 bytes
+SHA1 (patch-bin_rungs) = 4ebc7760b5bfda526f137c1fbe9240d3c27799fa
diff --git a/print/tex-texlive-scripts/patches/patch-bin_rungs b/print/tex-texlive-scripts/patches/patch-bin_rungs
new file mode 100644
index 00000000000..5af356ce24e
--- /dev/null
+++ b/print/tex-texlive-scripts/patches/patch-bin_rungs
@@ -0,0 +1,13 @@
+$NetBSD: patch-bin_rungs,v 1.1 2013/11/17 17:05:10 minskim Exp $
+
+--- bin/rungs.orig 2013-04-25 17:29:00.000000000 +0000
++++ bin/rungs
+@@ -23,7 +23,7 @@ end
+ if os.type == 'windows' then
+ command={'gswin32c'}
+ else
+- command={'gs'}
++ command={'@GS@'}
+ end
+
+ for i=1, #arg do