O'Caml program to convert latex documents to html 4.0. The ebuild should go in dev-tex/ or app-text/
Created attachment 18794 [details] ebuild package The tarball contains an ebuild for hevea 1.06 and an env.d file for setting the LATEXINPUTS variable
added EBUILD keyword
Thanks for submitting the ebuild. I put it in Portage tree. However, I couldn't build the latest hevea 1.07 (I renamed your ebuild to hevea-1.07.ebuild) with ocaml-3.06-r1. Do you have any thoughts on this? setup unpack >>> Unpacking source... >>> Unpacking hevea-1.07.tar.gz to /var/tmp/portage/hevea-1.07/work >>> Source unpacked. compile make TARGET=opt hevea.opt hacha.opt esponja.opt cutfoot-fra.html cutfoot-eng.ht ml make[1]: Entering directory `/var/tmp/portage/hevea-1.07/work/hevea-1.07' ocamlc -c version.mli ocamlopt -c version.ml ocamlc -c mysys.mli ocamlopt -c mysys.ml ocamlc -c stack.mli ocamlopt -c stack.ml ocamlc -c location.mli ocamlopt -c location.ml ocamlc -c misc.mli ocamlopt -c misc.ml ocamlc -c element.mli ocamlopt -c element.ml ocamlc -c out.mli ocamlopt -c out.ml ocamlc -c table.mli ocamlopt -c table.ml ocamlc -c mylib.mli ocamlopt -pp 'cpp -E -P -DLIBDIR=\"/usr/lib/hevea\"' -c mylib.ml ocamlc -c parse_opts.mli ocamlopt -c parse_opts.ml ocamlc -c myfiles.mli ocamlopt -c myfiles.ml ocamlc -c symb.mli ocamlopt -c symb.ml ocamllex save.mll 162 states, 1307 transitions, table size 6200 bytes ocamlc -c save.mli ocamlopt -c save.ml ocamlc -c auxx.mli ocamlopt -c auxx.ml ocamlc -c lexstate.mli ocamlopt -c lexstate.ml ocamllex subst.mll Reference to unbound regexp name `as' at char 1009 make[1]: *** [subst.ml] Error 2 make[1]: Leaving directory `/var/tmp/portage/hevea-1.07/work/hevea-1.07' make: *** [opt] Error 2 !!! ERROR: dev-tex/hevea-1.07 failed. !!! Function src_compile, Line 21, Exitcode 2 !!! (no error message)
The lexer uses a 3.07 feature, so no you have no chance too compile it with this version of ocaml. I emerged it using ocaml-3.07 without problems.
Thanks for the comment. I had no problem after emerging ocaml-3.07 so I changed DEPEND of hevea-1.06.ebuild and committed.