Taken from area51 Revision 10474
Revision Log: Update to Beta 3 Switch build system to cmake and patch CMakeLists.txt accordingly.
I opted to switch to use cmake instead of qmake because the later was giving me headaches on other ports and cmake is a deep-endency for x11-toolkits/qt5-widgets anyways.