[52198] trunk/dports/textproc/texi2html

nox at macports.org nox at macports.org
Thu Jun 11 19:23:19 PDT 2009


Revision: 52198
          http://trac.macports.org/changeset/52198
Author:   nox at macports.org
Date:     2009-06-11 19:23:19 -0700 (Thu, 11 Jun 2009)
Log Message:
-----------
texi2html:
 * Update to 1.82.
 * Disable universal variant (arch-agnostic port).
 * Fix test support.
 * Enable parallel building.

Modified Paths:
--------------
    trunk/dports/textproc/texi2html/Portfile

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

Modified: trunk/dports/textproc/texi2html/Portfile
===================================================================
--- trunk/dports/textproc/texi2html/Portfile	2009-06-12 01:53:49 UTC (rev 52197)
+++ trunk/dports/textproc/texi2html/Portfile	2009-06-12 02:23:19 UTC (rev 52198)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name		texi2html
-version		1.80
+version		1.82
 platforms	darwin
 categories	textproc
 maintainers	nomaintainer
@@ -12,25 +12,24 @@
 	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}
-checksums	md5 4eec3730f39ba64534062483b174795d \
-		sha1 d42cbda89628314113d6c97ea25305e158cd8780 \
-		rmd160 7e1059095e017aef5b7694dc3c768c12575eb2b2
 
-depends_lib	path:bin/perl:perl5
+checksums       md5     7ea537a8c81ffbf5421b39c0333e91df \
+                sha1    e7bbe1197147566250abd5c456b94c8e37e0a81f \
+                rmd160  1949d1d857cb71e1b5070e36223a26896910d523
 
-configure.args	--infodir=${prefix}/share/info	\
-		--mandir=${prefix}/share/man
+patchfiles	patch-test-run_test.sh.diff
 
+depends_lib	path:bin/perl:perl5
+
 configure.perl	${prefix}/bin/perl
 
+use_parallel_build  yes
+
 test.run	yes
 test.target	check
 
+universal_variant   no
+
 livecheck.check	regex
-livecheck.url	${master_sites}?C=M&O=D
+livecheck.url	${master_sites}
 livecheck.regex	${name}-(\\d+(?:\\.\\d+)*)
-
-# configure script is not executable: fix it
-pre-configure {
-		file attributes ${worksrcpath}/configure -permissions 0755
-}

Added: trunk/dports/textproc/texi2html/files/patch-test-run_test.sh.diff
===================================================================
--- trunk/dports/textproc/texi2html/files/patch-test-run_test.sh.diff	                        (rev 0)
+++ trunk/dports/textproc/texi2html/files/patch-test-run_test.sh.diff	2009-06-12 02:23:19 UTC (rev 52198)
@@ -0,0 +1,31 @@
+--- 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 @@
+ [ -d "$diffs_dir" ] || mkdir "$diffs_dir"
+ [ -d "$out_dir" ] || mkdir "$out_dir"
+ 
+-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
+@@ -174,15 +174,15 @@
+       $out_dir/$dir/*_tex4ht_tex.html
+   fi
+   if [ $ret = 0 ]; then
+-    sed -i -e 's/^texexpand.*/texexpand /' "$out_dir/$dir/$basename.2"
+-    sed -i '/is no longer supported at.*line/d' "$out_dir/$dir/$basename.2"
++    sed -i '' -e 's/^texexpand.*/texexpand /' "$out_dir/$dir/$basename.2"
++    sed -i '' '/is no longer supported at.*line/d' "$out_dir/$dir/$basename.2"
+     if [ "$use_latex2html" = 'yes' ]; then
+-      sed -i -e 's/CONTENT="LaTeX2HTML.*/CONTENT="LaTeX2HTML">/' -e \
++      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
+        if [ -f "$file" ]; then
+-        sed -i -e 's/^# LaTeX2HTML.*/# LaTeX2HTML/' "$file"
++        sed -i '' -e 's/^# LaTeX2HTML.*/# LaTeX2HTML/' "$file"
+        fi
+       done
+       rm -f "$out_dir/$dir/"*".aux"  "$out_dir/$dir/"*"_images.out"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090611/b1c2f14b/attachment.html>


More information about the macports-changes mailing list