Changeset 69479


Ignore:
Timestamp:
Jul 7, 2010, 8:45:56 PM (10 years ago)
Author:
jmr@…
Message:

texi2html: update to 5.0

Location:
trunk/dports/textproc/texi2html
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/texi2html/Portfile

    r66129 r69479  
    44
    55name            texi2html
    6 version         1.82
     6version         5.0
    77platforms       darwin
    8 if {[info exists supported_archs]} {
    9     supported_archs noarch
    10 }
     8supported_archs noarch
    119categories      textproc
    1210maintainers     nomaintainer
     
    1513        A Perl script which converts Texinfo source files to HTML output.
    1614homepage        http://www.nongnu.org/${name}
    17 master_sites    http://savannah.nongnu.org/download/${name}
     15master_sites    savannah
    1816
    19 checksums       md5     7ea537a8c81ffbf5421b39c0333e91df \
    20                 sha1    e7bbe1197147566250abd5c456b94c8e37e0a81f \
    21                 rmd160  1949d1d857cb71e1b5070e36223a26896910d523
     17use_bzip2       yes
     18checksums       md5     f15ac876fcdc8be865b16535f480aa54 \
     19                sha1    20072444ce814d0e74fd7e467d1506908f8c889c \
     20                rmd160  193d2ab489e61546100a57943c410deffb8d4c4b
    2221
    2322patchfiles      patch-test-run_test.sh.diff
     
    3231test.target     check
    3332
    34 universal_variant   no
    35 
    3633livecheck.type  regex
    37 livecheck.url   ${master_sites}
     34livecheck.url   http://download.savannah.gnu.org/releases-noredirect/${name}/
    3835livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
  • trunk/dports/textproc/texi2html/files/patch-test-run_test.sh.diff

    r52198 r69479  
    1 --- test/run_test.sh.orig       2009-06-12 03:51:24.000000000 +0200
    2 +++ test/run_test.sh    2009-06-12 04:03:13.000000000 +0200
    3 @@ -103,7 +103,7 @@
     1--- test/run_test.sh.orig       2010-02-22 05:27:16.000000000 +1100
     2+++ test/run_test.sh    2010-07-08 06:09:54.000000000 +1000
     3@@ -108,7 +108,7 @@
    44 [ -d "$diffs_dir" ] || mkdir "$diffs_dir"
    55 [ -d "$out_dir" ] || mkdir "$out_dir"
     
    1010   echo "1;" >> l2h_tmp_dir.init
    1111 else
    12 @@ -174,15 +174,15 @@
     12@@ -182,21 +182,21 @@
    1313       $out_dir/$dir/*_tex4ht_tex.html
    1414   fi
     
    2323        's/with LaTeX2HTML.*/with LaTeX2HTML/' "$out_dir/$dir/"*"_l2h.html"
    2424       # "*"_images.pl" files are not guaranteed to be present
    25        for file in "$out_dir/$dir/"*"_images.pl" "$out_dir/$dir/"*"_labels.pl"; do
     25       for file in "${outdir}$dir/"*"_images.pl" "${outdir}$dir/"*"_labels.pl"; do
    2626        if [ -f "$file" ]; then
    2727-        sed -i -e 's/^# LaTeX2HTML.*/# LaTeX2HTML/' "$file"
     
    2929        fi
    3030       done
     31       for file in "${outdir}$dir/"*.htm* "${outdir}$dir/"*-l2h_cache.pm "${outdir}$dir/"*_l2h_images.pl; do
     32        if [ -f "$file" ]; then
     33        # different rounding on different computers !
     34-        sed -i -e 's/WIDTH="\([0-9]*\)\([0-9]\)"/WIDTH="100"/' -e 's/HEIGHT="\([0-9]*\)\([0-9]\)"/HEIGHT="\10"/' "$file"
     35+        sed -i '' -e 's/WIDTH="\([0-9]*\)\([0-9]\)"/WIDTH="100"/' -e 's/HEIGHT="\([0-9]*\)\([0-9]\)"/HEIGHT="\10"/' "$file"
     36        fi
     37       done
    3138       rm -f "$out_dir/$dir/"*".aux"  "$out_dir/$dir/"*"_images.out"
     39--- test/run_test_all.sh.orig   2010-02-22 05:27:07.000000000 +1100
     40+++ test/run_test_all.sh        2010-07-08 06:16:53.000000000 +1000
     41@@ -134,7 +134,7 @@
     42   [ -d "${outdir}" ] || mkdir "${outdir}"
     43 done
     44 
     45-if tmp_dir=`mktemp -p /tmp -d l2h_t2h_XXXXXXXX`; then
     46+if tmp_dir=`mktemp -d l2h_t2h_XXXXXXXX`; then
     47   echo "\$L2H_TMP = '$tmp_dir';" > l2h_tmp_dir.init
     48   echo "1;" >> l2h_tmp_dir.init
     49 else
     50--- test/many_input_files/tex_l2h.sh.orig       2010-02-21 09:26:08.000000000 +1100
     51+++ test/many_input_files/tex_l2h.sh    2010-07-08 06:16:16.000000000 +1000
     52@@ -18,7 +18,7 @@
     53 echo "$basename" > $logfile
     54 : > $stdout_file
     55 
     56-if tmp_dir=`mktemp -p /tmp -d l2h_t2h_XXXXXXXX`; then
     57+if tmp_dir=`mktemp -d l2h_t2h_XXXXXXXX`; then
     58   echo "\$L2H_TMP = '$tmp_dir';" > l2h_tmp_dir.init
     59   echo "1;" >> l2h_tmp_dir.init
     60 else
     61--- test/many_input_files/tex_t4ht.sh.orig      2009-09-16 04:22:02.000000000 +1000
     62+++ test/many_input_files/tex_t4ht.sh   2010-07-08 06:15:28.000000000 +1000
     63@@ -18,7 +18,7 @@
     64 echo "$basename" > $logfile
     65 : > $stdout_file
     66 
     67-if tmp_dir=`mktemp -p /tmp -d l2h_t2h_XXXXXXXX`; then
     68+if tmp_dir=`mktemp -d l2h_t2h_XXXXXXXX`; then
     69   echo "\$L2H_TMP = '$tmp_dir';" > l2h_tmp_dir.init
     70   echo "1;" >> l2h_tmp_dir.init
     71 else
Note: See TracChangeset for help on using the changeset viewer.