pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/tex-pkfix Import tex-pkfix-1.5 as print/tex-pkfix.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/36ca172bed8a
branches:  trunk
changeset: 569412:36ca172bed8a
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Jan 16 03:48:32 2010 +0000

description:
Import tex-pkfix-1.5 as print/tex-pkfix.

The perl script pkfix looks for DVIPSBitmapFont comments in PostScript
files, generated by 'not too old' dvips, and replaces them by type 1
versions of the fonts, if possible.

diffstat:

 print/tex-pkfix/DESCR            |   3 +++
 print/tex-pkfix/Makefile         |  37 +++++++++++++++++++++++++++++++++++++
 print/tex-pkfix/PLIST            |   2 ++
 print/tex-pkfix/distinfo         |   6 ++++++
 print/tex-pkfix/patches/patch-aa |  24 ++++++++++++++++++++++++
 5 files changed, 72 insertions(+), 0 deletions(-)

diffs (92 lines):

diff -r 2cda51dfb109 -r 36ca172bed8a print/tex-pkfix/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-pkfix/DESCR     Sat Jan 16 03:48:32 2010 +0000
@@ -0,0 +1,3 @@
+The perl script pkfix looks for DVIPSBitmapFont comments in PostScript
+files, generated by 'not too old' dvips, and replaces them by type 1
+versions of the fonts, if possible.
diff -r 2cda51dfb109 -r 36ca172bed8a print/tex-pkfix/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-pkfix/Makefile  Sat Jan 16 03:48:32 2010 +0000
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/01/16 03:48:32 minskim Exp $
+# TeX Live Revision 15878
+
+DISTNAME=      pkfix
+PKGNAME=       tex-${DISTNAME}-1.5
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+COMMENT=       Script to replace pk fonts in PostScript with Type 1 fonts
+
+CONFLICTS+=    tex-bin-dvipsk<=2008.12898
+DEPENDS+=      dvipsk-[0-9]*:../../print/dvipsk
+DEPENDS+=      kpathsea-[0-9]*:../../print/kpathsea
+DEPENDS+=      web2c-[0-9]*:../../print/web2c
+
+USE_TOOLS+=    perl:run
+REPLACE_PERL=  bin/pkfix
+
+SUBST_CLASSES+=                paths
+SUBST_MESSAGE.paths=   Setting paths to commands.
+SUBST_STAGE.paths=     pre-configure
+SUBST_FILES.paths=     bin/pkfix
+SUBST_SED.paths=       -e 's,@DVIPS@,${LOCALBASE}/bin/dvips,g' \
+                       -e 's,@KPSEWHICH@,${LOCALBASE}/bin/kpsewhich,g' \
+                       -e 's,@TEX@,${LOCALBASE}/bin/tex,g'
+
+INSTALLATION_DIRS+=    bin
+
+TEX_TEXMF_DIRS=        none
+
+.include "../../print/texlive/package.mk"
+
+post-extract:
+       ${MKDIR} ${WRKSRC}/bin
+       ${MV} ${WRKSRC}/texmf-dist/scripts/pkfix/pkfix.pl ${WRKSRC}/bin/pkfix
+       ${RM} -rf ${WRKSRC}/texmf-dist
+
+.include "../../mk/bsd.pkg.mk"
diff -r 2cda51dfb109 -r 36ca172bed8a print/tex-pkfix/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-pkfix/PLIST     Sat Jan 16 03:48:32 2010 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/01/16 03:48:32 minskim Exp $
+bin/pkfix
diff -r 2cda51dfb109 -r 36ca172bed8a print/tex-pkfix/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-pkfix/distinfo  Sat Jan 16 03:48:32 2010 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/01/16 03:48:32 minskim Exp $
+
+SHA1 (tex-pkfix-1.5/pkfix.tar.xz) = 437303b31e613412d52907077256ce6ca890bc43
+RMD160 (tex-pkfix-1.5/pkfix.tar.xz) = e023086ba78df359db4f0bde9091b5ffb8adfa23
+Size (tex-pkfix-1.5/pkfix.tar.xz) = 7440 bytes
+SHA1 (patch-aa) = 7cba03d89d4757ac985be4649d6bb7e0a29cb963
diff -r 2cda51dfb109 -r 36ca172bed8a print/tex-pkfix/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-pkfix/patches/patch-aa  Sat Jan 16 03:48:32 2010 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/01/16 03:48:32 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
+ #
+@@ -117,9 +116,9 @@ my $PRT = \*STDOUT;
+ 
+ ### option variables
+ my @bool = ("false", "true");
+-$::opt_tex        = "tex";
+-$::opt_dvips      = "dvips";
+-$::opt_kpsewhich  = "kpsewhich --progname $project";
++$::opt_tex        = "@TEX@";
++$::opt_dvips      = "@DVIPS@";
++$::opt_kpsewhich  = "@KPSEWHICH@ --progname $project";
+ $::opt_options    = "-Ppdf -G0";
+ $::opt_usetex     = 0;
+ $::opt_help       = 0;



Home | Main Index | Thread Index | Old Index