[69479] trunk/dports/textproc/texi2html

jmr at macports.org jmr at macports.org
Wed Jul 7 13:45:58 PDT 2010


Revision: 69479
          http://trac.macports.org/changeset/69479
Author:   jmr at macports.org
Date:     2010-07-07 13:45:56 -0700 (Wed, 07 Jul 2010)
Log Message:
-----------
texi2html: update to 5.0

Modified Paths:
--------------
    trunk/dports/textproc/texi2html/Portfile
    trunk/dports/textproc/texi2html/files/patch-test-run_test.sh.diff

Modified: trunk/dports/textproc/texi2html/Portfile
===================================================================
--- trunk/dports/textproc/texi2html/Portfile	2010-07-07 20:38:38 UTC (rev 69478)
+++ trunk/dports/textproc/texi2html/Portfile	2010-07-07 20:45:56 UTC (rev 69479)
@@ -3,22 +3,21 @@
 PortSystem 1.0
 
 name		texi2html
-version		1.82
+version		5.0
 platforms	darwin
-if {[info exists supported_archs]} {
-    supported_archs noarch
-}
+supported_archs noarch
 categories	textproc
 maintainers	nomaintainer
 description	A Perl script which converts Texinfo source files to HTML output.
 long_description \
 	A Perl script which converts Texinfo source files to HTML output.
 homepage	http://www.nongnu.org/${name}
-master_sites	http://savannah.nongnu.org/download/${name}
+master_sites	savannah
 
-checksums       md5     7ea537a8c81ffbf5421b39c0333e91df \
-                sha1    e7bbe1197147566250abd5c456b94c8e37e0a81f \
-                rmd160  1949d1d857cb71e1b5070e36223a26896910d523
+use_bzip2       yes
+checksums       md5     f15ac876fcdc8be865b16535f480aa54 \
+                sha1    20072444ce814d0e74fd7e467d1506908f8c889c \
+                rmd160  193d2ab489e61546100a57943c410deffb8d4c4b
 
 patchfiles	patch-test-run_test.sh.diff
 
@@ -31,8 +30,6 @@
 test.run	yes
 test.target	check
 
-universal_variant   no
-
 livecheck.type	regex
-livecheck.url	${master_sites}
+livecheck.url	http://download.savannah.gnu.org/releases-noredirect/${name}/
 livecheck.regex	${name}-(\\d+(?:\\.\\d+)*)

Modified: trunk/dports/textproc/texi2html/files/patch-test-run_test.sh.diff
===================================================================
--- trunk/dports/textproc/texi2html/files/patch-test-run_test.sh.diff	2010-07-07 20:38:38 UTC (rev 69478)
+++ trunk/dports/textproc/texi2html/files/patch-test-run_test.sh.diff	2010-07-07 20:45:56 UTC (rev 69479)
@@ -1,6 +1,6 @@
---- test/run_test.sh.orig	2009-06-12 03:51:24.000000000 +0200
-+++ test/run_test.sh	2009-06-12 04:03:13.000000000 +0200
-@@ -103,7 +103,7 @@
+--- test/run_test.sh.orig	2010-02-22 05:27:16.000000000 +1100
++++ test/run_test.sh	2010-07-08 06:09:54.000000000 +1000
+@@ -108,7 +108,7 @@
  [ -d "$diffs_dir" ] || mkdir "$diffs_dir"
  [ -d "$out_dir" ] || mkdir "$out_dir"
  
@@ -9,7 +9,7 @@
    echo "\$L2H_TMP = '$tmp_dir';" > l2h_tmp_dir.init
    echo "1;" >> l2h_tmp_dir.init
  else
-@@ -174,15 +174,15 @@
+@@ -182,21 +182,21 @@
        $out_dir/$dir/*_tex4ht_tex.html
    fi
    if [ $ret = 0 ]; then
@@ -22,10 +22,50 @@
 +      sed -i '' -e 's/CONTENT="LaTeX2HTML.*/CONTENT="LaTeX2HTML">/' -e \
         's/with LaTeX2HTML.*/with LaTeX2HTML/' "$out_dir/$dir/"*"_l2h.html"
        # "*"_images.pl" files are not guaranteed to be present
-       for file in "$out_dir/$dir/"*"_images.pl" "$out_dir/$dir/"*"_labels.pl"; do
+       for file in "${outdir}$dir/"*"_images.pl" "${outdir}$dir/"*"_labels.pl"; do
         if [ -f "$file" ]; then
 -        sed -i -e 's/^# LaTeX2HTML.*/# LaTeX2HTML/' "$file"
 +        sed -i '' -e 's/^# LaTeX2HTML.*/# LaTeX2HTML/' "$file"
         fi
        done
+       for file in "${outdir}$dir/"*.htm* "${outdir}$dir/"*-l2h_cache.pm "${outdir}$dir/"*_l2h_images.pl; do
+        if [ -f "$file" ]; then
+        # different rounding on different computers !
+-        sed -i -e 's/WIDTH="\([0-9]*\)\([0-9]\)"/WIDTH="100"/' -e 's/HEIGHT="\([0-9]*\)\([0-9]\)"/HEIGHT="\10"/' "$file"
++        sed -i '' -e 's/WIDTH="\([0-9]*\)\([0-9]\)"/WIDTH="100"/' -e 's/HEIGHT="\([0-9]*\)\([0-9]\)"/HEIGHT="\10"/' "$file"
+        fi
+       done
        rm -f "$out_dir/$dir/"*".aux"  "$out_dir/$dir/"*"_images.out"
+--- test/run_test_all.sh.orig	2010-02-22 05:27:07.000000000 +1100
++++ test/run_test_all.sh	2010-07-08 06:16:53.000000000 +1000
+@@ -134,7 +134,7 @@
+   [ -d "${outdir}" ] || mkdir "${outdir}"
+ done
+ 
+-if tmp_dir=`mktemp -p /tmp -d l2h_t2h_XXXXXXXX`; then
++if tmp_dir=`mktemp -d l2h_t2h_XXXXXXXX`; then
+   echo "\$L2H_TMP = '$tmp_dir';" > l2h_tmp_dir.init
+   echo "1;" >> l2h_tmp_dir.init
+ else
+--- test/many_input_files/tex_l2h.sh.orig	2010-02-21 09:26:08.000000000 +1100
++++ test/many_input_files/tex_l2h.sh	2010-07-08 06:16:16.000000000 +1000
+@@ -18,7 +18,7 @@
+ echo "$basename" > $logfile
+ : > $stdout_file
+ 
+-if tmp_dir=`mktemp -p /tmp -d l2h_t2h_XXXXXXXX`; then
++if tmp_dir=`mktemp -d l2h_t2h_XXXXXXXX`; then
+   echo "\$L2H_TMP = '$tmp_dir';" > l2h_tmp_dir.init
+   echo "1;" >> l2h_tmp_dir.init
+ else
+--- test/many_input_files/tex_t4ht.sh.orig	2009-09-16 04:22:02.000000000 +1000
++++ test/many_input_files/tex_t4ht.sh	2010-07-08 06:15:28.000000000 +1000
+@@ -18,7 +18,7 @@
+ echo "$basename" > $logfile
+ : > $stdout_file
+ 
+-if tmp_dir=`mktemp -p /tmp -d l2h_t2h_XXXXXXXX`; then
++if tmp_dir=`mktemp -d l2h_t2h_XXXXXXXX`; then
+   echo "\$L2H_TMP = '$tmp_dir';" > l2h_tmp_dir.init
+   echo "1;" >> l2h_tmp_dir.init
+ else
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100707/b1b12892/attachment.html>


More information about the macports-changes mailing list