From 0df730529e32dc6577e9dde6611e763f774d57c1 Mon Sep 17 00:00:00 2001 From: minskim Date: Sun, 8 Mar 2009 19:17:10 +0000 Subject: 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. --- print/html2ps/Makefile | 9 +++++---- print/html2ps/distinfo | 4 ++-- print/html2ps/patches/patch-aa | 4 ++-- 3 files changed, 9 insertions(+), 8 deletions(-) (limited to 'print/html2ps') diff --git a/print/html2ps/Makefile b/print/html2ps/Makefile index be4b9a043ed..3eb7a96de36 100644 --- a/print/html2ps/Makefile +++ b/print/html2ps/Makefile @@ -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 @@ MAINTAINER= kim@tac.nyc.ny.us 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 @@ do-install: @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 --git a/print/html2ps/distinfo b/print/html2ps/distinfo index 2d17d7221d8..179ebaba56f 100644 --- a/print/html2ps/distinfo +++ b/print/html2ps/distinfo @@ -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 --git a/print/html2ps/patches/patch-aa b/print/html2ps/patches/patch-aa index 56932cb07ac..df715b12e43 100644 --- a/print/html2ps/patches/patch-aa +++ b/print/html2ps/patches/patch-aa @@ -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 @@ $NetBSD: patch-aa,v 1.4 2006/05/26 18:19:15 wiz Exp $ $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/$_"; -- cgit v1.2.3