pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/tex-bin-dvipsk Install the pkfix command.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/805aa43dc886
branches:  trunk
changeset: 392141:805aa43dc886
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Apr 27 15:18:47 2009 +0000

description:
Install the pkfix command.

Bump PKGREVISION.

diffstat:

 print/tex-bin-dvipsk/Makefile         |  17 ++++++++++++++++-
 print/tex-bin-dvipsk/PLIST            |   4 ++--
 print/tex-bin-dvipsk/distinfo         |   3 ++-
 print/tex-bin-dvipsk/patches/patch-aa |  11 +++++++++++
 4 files changed, 31 insertions(+), 4 deletions(-)

diffs (76 lines):

diff -r 60a8b46f66ca -r 805aa43dc886 print/tex-bin-dvipsk/Makefile
--- a/print/tex-bin-dvipsk/Makefile     Mon Apr 27 14:56:48 2009 +0000
+++ b/print/tex-bin-dvipsk/Makefile     Mon Apr 27 15:18:47 2009 +0000
@@ -1,15 +1,30 @@
-# $NetBSD: Makefile,v 1.5 2009/04/25 13:51:22 minskim Exp $
+# $NetBSD: Makefile,v 1.6 2009/04/27 15:18:47 minskim Exp $
 # TeX Live Revision 12785
 
 DISTNAME=      bin-dvipsk
 PKGNAME=       tex-${DISTNAME}-2008.12785
+PKGREVISION=   1
 
 MAINTAINER=    minskim%NetBSD.org@localhost
 COMMENT=       Supplementary files for dvipsk
 
+USE_TOOLS+=    perl:run
+REPLACE_PERL=  bin/pkfix
+
+INSTALLATION_DIRS+=    bin
+
 TEX_TEXMF_DIRS+=       ${PREFIX}/share/texmf
 
 TEXLIVE_IGNORE_PATTERNS=       texmf/dvips/base
 
 .include "../../print/texlive/module.mk"
+
+post-extract:
+       ${MKDIR} ${WRKSRC}/bin
+       ${MV} ${WRKSRC}/texmf/scripts/pkfix/pkfix.pl ${WRKSRC}/bin/pkfix
+       ${RM} -rf ${WRKSRC}/texmf/scripts
+
+post-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/bin/pkfix ${DESTDIR}${PREFIX}/bin
+
 .include "../../mk/bsd.pkg.mk"
diff -r 60a8b46f66ca -r 805aa43dc886 print/tex-bin-dvipsk/PLIST
--- a/print/tex-bin-dvipsk/PLIST        Mon Apr 27 14:56:48 2009 +0000
+++ b/print/tex-bin-dvipsk/PLIST        Mon Apr 27 15:18:47 2009 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2009/02/26 16:58:56 minskim Exp $
+@comment $NetBSD: PLIST,v 1.3 2009/04/27 15:18:47 minskim Exp $
+bin/pkfix
 share/texmf/dvips/config/alt-rule.pro
 share/texmf/dvips/config/canonex.cfg
 share/texmf/dvips/config/config.bakoma
@@ -34,4 +35,3 @@
 share/texmf/fonts/map/dvips/updmap/psfonts.map
 share/texmf/fonts/map/dvips/updmap/psfonts_pk.map
 share/texmf/fonts/map/dvips/updmap/psfonts_t1.map
-share/texmf/scripts/pkfix/pkfix.pl
diff -r 60a8b46f66ca -r 805aa43dc886 print/tex-bin-dvipsk/distinfo
--- a/print/tex-bin-dvipsk/distinfo     Mon Apr 27 14:56:48 2009 +0000
+++ b/print/tex-bin-dvipsk/distinfo     Mon Apr 27 15:18:47 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2009/04/25 13:51:22 minskim Exp $
+$NetBSD: distinfo,v 1.5 2009/04/27 15:18:47 minskim Exp $
 
 SHA1 (tex-bin-dvipsk-2008.12785/bin-dvipsk.tar.lzma) = 68a963a9cce46ff9fe3a5f2163eaa9cefb86831e
 RMD160 (tex-bin-dvipsk-2008.12785/bin-dvipsk.tar.lzma) = 63ab4c81335d3023012a25881c1afd32a5e983a3
 Size (tex-bin-dvipsk-2008.12785/bin-dvipsk.tar.lzma) = 60766 bytes
+SHA1 (patch-aa) = 6cff12868e46539a9a6f1c3cddc98299ec029387
diff -r 60a8b46f66ca -r 805aa43dc886 print/tex-bin-dvipsk/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-bin-dvipsk/patches/patch-aa     Mon Apr 27 15:18:47 2009 +0000
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.1 2009/04/27 15:18:47 minskim Exp $
+
+--- bin/pkfix.orig     2009-03-23 10:15:15.000000000 -0700
++++ bin/pkfix
+@@ -1,5 +1,4 @@
+-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q'
+-    if 0;
++#! /usr/bin/perl
+ use strict;
+ $^W=1; # turn warning on
+ #



Home | Main Index | Thread Index | Old Index