1SUMMARY="Perl script that converts Texinfo to HTML"
2DESCRIPTION="Texi2HTML is a Perl script which converts Texinfo source files \
3to HTML output.
4
5This is an evolving version of the script originally developed by Lionel Cons \
6and later maintained for a time by Olaf Bachmann. It now supports many \
7advanced features, such as internationalization and extremely configurable \
8output formats. Development of Texi2HTML moved to the GNU Texinfo repository \
9in 2010, since it was meant to replace the makeinfo implementation in GNU \
10Texinfo.
11There was no release of GNU Texinfo with makeinfo based on Texi2HTML, \
12however, because the implementation based on Texi2HTML was abandoned in favor \
13of the current program in GNU Texinfo, which parses the Texinfo input into a \
14tree for processing and supports nearly all the features of Texi2HTML. Latest \
15Texi2HTML sources are thus in the GNU Texinfo repository, although development \
16of Texi2HTML and of the Texi2HTML based makeinfo implementation stopped in 2011.
17
18There are some differences between Texi2HTML and the GNU Texinfo \
19makeinfo/texi2any implementation, even in the Texi2HTML compatibility mode, \
20they are documented in the GNU Texinfo manual. Nevertheless, the route forward \
21for authors is, in most cases, to alter manuals and build processes as \
22necessary to use the new features of the makeinfo/texi2any implementation of \
23GNU Texinfo.
24
25The Texi2HTML maintainers (one of whom is the principal author of \
26the GNU Texinfo implementation) do not intend to make further releases of \
27Texi2HTML. If you have difficulties using the new implementation, you could \
28try to ask on the GNU Texinfo mailing lists."
29HOMEPAGE="http://www.nongnu.org/texi2html/"
30COPYRIGHT="1999-2005 Patrice Dumas, Derek Price, Adrian Aichner & others."
31LICENSE="GNU GPL v2"
32REVISION="2"
33SOURCE_URI="http://download.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.bz2"
34CHECKSUM_SHA256="d69c1effc416896409003ea64fdb21152cc0a9a7c665d437a0a3bef9b588b4f1"
35PATCHES="texi2html-1.82.patchset"
36
37ARCHITECTURES="any"
38
39PROVIDES="
40	texi2html = $portVersion compat >= 1.82
41	cmd:texi2html = $portVersion compat >= 1.82
42	"
43REQUIRES="
44	cmd:perl
45	"
46
47BUILD_REQUIRES="
48	haiku_devel
49	"
50BUILD_PREREQUIRES="
51	cmd:aclocal
52	cmd:autoconf
53	cmd:automake
54	cmd:libtoolize
55	cmd:make
56	cmd:perl
57	"
58
59BUILD()
60{
61	libtoolize --force --copy --install
62	./autogen.sh
63	PERL="$portPackageLinksDir/cmd~perl/bin/perl" runConfigure ./configure
64	make $jobArgs
65}
66
67INSTALL()
68{
69	make install
70}
71
72TEST()
73{
74	make check
75}
76