pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/html2ps Adjust the hardcoded path to hyphen.tex.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/650a124d1b6b
branches:  trunk
changeset: 555772:650a124d1b6b
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Mar 08 19:17:10 2009 +0000

description:
Adjust the hardcoded path to hyphen.tex.

This package should use kpsewhich to find a .tex file in the texmf tree.

While here, add a dependency to dvipsk so that this package can find
dvips at run-time.

Noted by Bernd Ernesti.

diffstat:

 print/html2ps/Makefile         |  9 +++++----
 print/html2ps/distinfo         |  4 ++--
 print/html2ps/patches/patch-aa |  4 ++--
 3 files changed, 9 insertions(+), 8 deletions(-)

diffs (69 lines):

diff -r 2f21e3e5bbd4 -r 650a124d1b6b print/html2ps/Makefile
--- a/print/html2ps/Makefile    Sun Mar 08 19:13:42 2009 +0000
+++ b/print/html2ps/Makefile    Sun Mar 08 19:17:10 2009 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2006/10/04 21:56:34 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2009/03/08 19:17:10 minskim Exp $
 #
 
 DISTNAME=      html2ps-1.0b4
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    print
 MASTER_SITES=  http://user.it.uu.se/~jan/
 
@@ -10,14 +10,16 @@
 HOMEPAGE=      http://user.it.uu.se/~jan/html2ps.html
 COMMENT=       HTML to PostScript converter
 
+DEPENDS+=      dvipsk-[0-9]*:../../print/dvipsk
 DEPENDS+=      ImageMagick>=5.3.9nb1:../../graphics/ImageMagick
 DEPENDS+=      jpeg>=6b:../../graphics/jpeg
 DEPENDS+=      p5-PerlMagick-[0-9]*:../../graphics/p5-PerlMagick
 DEPENDS+=      p5-libwww-[0-9]*:../../www/p5-libwww
+DEPENDS+=      teTeX-bin-[0-9]*:../../print/teTeX3-bin
+DEPENDS+=      tex-hyphen-base-[0-9]*:../../print/tex-hyphen-base
 DEPENDS+=      weblint-[0-9]*:../../www/weblint
 
 USE_TOOLS+=    gs:run perl:run
-TEX_ACCEPTED=  teTeX3
 
 NO_CONFIGURE=  yes
 NO_BUILD=      yes
@@ -27,5 +29,4 @@
        @cd ${WRKSRC} && PATH=${LOCALBASE}/bin:${PREFIX}/bin ./install ${PREFIX}
        @${INSTALL_DATA} ${WRKSRC}/sample ${PREFIX}/share/html2ps/sample.rc
 
-.include "../../mk/tex.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2f21e3e5bbd4 -r 650a124d1b6b print/html2ps/distinfo
--- a/print/html2ps/distinfo    Sun Mar 08 19:13:42 2009 +0000
+++ b/print/html2ps/distinfo    Sun Mar 08 19:17:10 2009 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2006/05/26 18:19:15 wiz Exp $
+$NetBSD: distinfo,v 1.8 2009/03/08 19:17:10 minskim Exp $
 
 SHA1 (html2ps-1.0b4.tar.gz) = 09b1b6678e08eb08c49113e4837f0ac91942c095
 RMD160 (html2ps-1.0b4.tar.gz) = 248a6319eaddbf5fc342fd9150c6c8cb67c7df1f
 Size (html2ps-1.0b4.tar.gz) = 127901 bytes
-SHA1 (patch-aa) = 0666fe8aa37f141c44c51466b359a662d1e66090
+SHA1 (patch-aa) = 88a63b4ae589c5b46c5bbc9baa437e2e5c764f22
 SHA1 (patch-ab) = b541a724106572e2d82dfc9a73b3e11b22a9136b
diff -r 2f21e3e5bbd4 -r 650a124d1b6b print/html2ps/patches/patch-aa
--- a/print/html2ps/patches/patch-aa    Sun Mar 08 19:13:42 2009 +0000
+++ b/print/html2ps/patches/patch-aa    Sun Mar 08 19:17:10 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2006/05/26 18:19:15 wiz Exp $
+$NetBSD: patch-aa,v 1.5 2009/03/08 19:17:11 minskim Exp $
 
 --- install.orig       2005-03-03 12:25:29.000000000 +0000
 +++ install
@@ -74,7 +74,7 @@
      $hfile = "";
      ($texdir = $dir{'TeX'}) =~ s|/bin$||;
 -    SW:for("texmf/tex/generic/hyphen","macros","inputs","lib/macros",
-+    SW:for("share/texmf-dist/tex/generic/hyphen","macros","inputs","lib/macros",
++    SW:for("share/texmf/tex/generic/hyphen","macros","inputs","lib/macros",
          "lib/inputs","lib/tex/macros","lib/tex/inputs") {
          if(-f "$texdir/$_/ushyph1.tex") {
              $hyph = "$texdir/$_";



Home | Main Index | Thread Index | Old Index