[71774] trunk/dports/print/latex2html
ryandesign at macports.org
ryandesign at macports.org
Wed Sep 22 17:22:07 PDT 2010
Revision: 71774
http://trac.macports.org/changeset/71774
Author: ryandesign at macports.org
Date: 2010-09-22 17:22:05 -0700 (Wed, 22 Sep 2010)
Log Message:
-----------
latex2html: convert reinplace to patchfile
Modified Paths:
--------------
trunk/dports/print/latex2html/Portfile
Added Paths:
-----------
trunk/dports/print/latex2html/files/patch-pstoimg.pin.diff
Modified: trunk/dports/print/latex2html/Portfile
===================================================================
--- trunk/dports/print/latex2html/Portfile 2010-09-23 00:08:10 UTC (rev 71773)
+++ trunk/dports/print/latex2html/Portfile 2010-09-23 00:22:05 UTC (rev 71774)
@@ -28,17 +28,14 @@
depends_lib path:bin/perl:perl5
-patchfiles patch-config-config.pl.diff
+patchfiles patch-config-config.pl.diff \
+ patch-pstoimg.pin.diff
configure.perl ${prefix}/bin/perl
configure.args --without-mktexlsr \
--with-texpath=${prefix}/share/texmf/tex/latex/html
-post-destroot {
- reinplace "s|gray85|rgb:d9/d9/d9|g" ${destroot}${prefix}/bin/pstoimg
-}
-
post-activate {
system "mktexlsr"
}
Added: trunk/dports/print/latex2html/files/patch-pstoimg.pin.diff
===================================================================
--- trunk/dports/print/latex2html/files/patch-pstoimg.pin.diff (rev 0)
+++ trunk/dports/print/latex2html/files/patch-pstoimg.pin.diff 2010-09-23 00:22:05 UTC (rev 71774)
@@ -0,0 +1,20 @@
+--- pstoimg.pin.orig 2008-09-23 14:41:54.000000000 -0500
++++ pstoimg.pin 2010-09-22 19:18:22.000000000 -0500
+@@ -27,7 +27,7 @@
+ # run afoul when $POSIXLY_CORRECT is set.
+ #
+ # Revision 1.18 2004/01/02 06:51:03 RRM
+-# -- set the default transparent-color for PNG to 'gray85'
++# -- set the default transparent-color for PNG to 'rgb:d9/d9/d9'
+ # -- allow the transparent-color to be set using an environment variable
+ # $ENV{'TRANSPARENT_COLOR'}
+ #
+@@ -1508,7 +1508,7 @@
+ $pnmtoimg .= ' -interlace';
+ }
+ if($TRANSPARENT) {
+- $trans_color = $TRANSPARENT_COLOR||'gray85';
++ $trans_color = $TRANSPARENT_COLOR||'rgb:d9/d9/d9';
+ $pnmtoimg .= ' -trans ' . L2hos->quote($trans_color);
+ }
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100922/633033f1/attachment.html>
More information about the macports-changes
mailing list