diff --git a/app-text/texi2html/patches/texi2html-1.82.patchset b/app-text/texi2html/patches/texi2html-1.82.patchset new file mode 100644 index 000000000..168b71776 --- /dev/null +++ b/app-text/texi2html/patches/texi2html-1.82.patchset @@ -0,0 +1,22 @@ +From 280524560a17d59215d9641b50abaf0e87ca296a Mon Sep 17 00:00:00 2001 +From: Ingo Weinhold +Date: Sun, 30 Jun 2013 10:24:11 +0200 +Subject: doc/Makefile.am: fix location of HTML documentation + + +diff --git a/doc/Makefile.am b/doc/Makefile.am +index f27b3bf..4567c56 100644 +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -5,7 +5,7 @@ info_TEXINFOS = texi2html.texi + # texi2html.ascii + # + texinfodata = $(datadir)/texinfo +-texinfohtmldir = $(texinfodata)/html ++texinfohtmldir = $(htmldir)/html + texinfohtml_DATA = texi2html.html + + # use the script out of the distribution NOT +-- +1.7.10.2 + diff --git a/app-text/texi2html/texi2html-1.82.recipe b/app-text/texi2html/texi2html-1.82.recipe index 3aea7ad1f..4ed8158c8 100644 --- a/app-text/texi2html/texi2html-1.82.recipe +++ b/app-text/texi2html/texi2html-1.82.recipe @@ -1,30 +1,54 @@ -DESCRIPTION="Perl script that converts Texinfo to HTML" +SUMMARY="Perl script that converts Texinfo to HTML" +DESCRIPTION="Texi2HTML is a Perl script which converts Texinfo source files to HTML output, licensed under the GNU General Public License, version 3, or any later version. + +This is an evolving version of the script originally developed by Lionel Cons and later maintained for a time by Olaf Bachmann. It now supports many advanced features, such as internationalization and extremely configurable output formats. Development of Texi2HTML moved to the GNU Texinfo repository in 2010, since it was meant to replace the makeinfo implementation in GNU Texinfo. There was no release of GNU Texinfo with makeinfo based on Texi2HTML, however, because the implementation based on Texi2HTML was abandoned in favor of the current program in GNU Texinfo, which parses the Texinfo input into a tree for processing and supports nearly all the features of Texi2HTML. Latest Texi2HTML sources are thus in the GNU Texinfo repository, although development of Texi2HTML and of the Texi2HTML based makeinfo implementation stopped in 2011. + +There are some differences between Texi2HTML and the GNU Texinfo makeinfo/texi2any implementation, even in the Texi2HTML compatibility mode, they are documented in the GNU Texinfo manual. Nevertheless, the route forward for authors is, in most cases, to alter manuals and build processes as necessary to use the new features of the makeinfo/texi2any implementation of GNU Texinfo. The Texi2HTML maintainers (one of whom is the principal author of the GNU Texinfo implementation) do not intend to make further releases of Texi2HTML. If you have difficulties using the new implementation, you could try to ask on the GNU Texinfo mailing lists." HOMEPAGE="http://www.nongnu.org/texi2html/" +COPYRIGHT="1999-2005 Patrice Dumas, Derek Price, Adrian Aichner & others." +LICENSE="GNU GPL v2" SRC_URI="http://download.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.bz2" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" CHECKSUM_MD5="a8a9193c0ac1bec2f3ca7be40a5a82eb" +REVISION="1" +ARCHITECTURES="any" + +PATCHES="texi2html-1.82.patchset" + +PROVIDES=" + texi2html = $portVersion compat >= 1.82 + cmd:texi2html = $portVersion compat >= 1.82 + " +REQUIRES=" + cmd:perl + " +BUILD_REQUIRES=" + cmd:aclocal + cmd:autoconf + cmd:automake + cmd:libtoolize + cmd:make + cmd:perl + " +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + " + +SOURCE_DIR="$portVersionedName" + BUILD() { - cd texi2html-1.82 libtoolize --force --copy --install ./autogen.sh - ./configure --prefix=`finddir B_COMMON_DIRECTORY` - make + PERL="$portPackageLinksDir/cmd:perl/bin/perl" runConfigure ./configure + make $jobArgs } INSTALL() { - cd texi2html-1.82 make install } TEST() { - cd texi2html-1.82 make check } - -LICENSE="GNU GPL v2" -COPYRIGHT="1999-2005 Patrice Dumas, Derek Price, Adrian Aichner & others."