I have a CMake-integrated branch
here, that I keep in synch with the official repository. I've tested it on Windows (MSVC++ 8 and 9) and FreeBSD (without GUI).
There's also this
hsoft's clone of mine that has added support of OS X and is cleaning up the code.