I've created an ebuild for version 0.3 of the ANSITerminal OCaml module which is available from http://math.umh.ac.be/an/software.php#x4-90008 The module compiles and the example program works fine on my Athlon64. The ebuild is attached.
Created attachment 61394 [details] ANSITerminal-0.3.ebuild
wow it's been time, but added to the tree, thanks