iI've played around with the new release of MariaDB and managed to compile and launch it. Here is what iI did so far:
At first install the Galera lib from ports. This should also build most dependencies which are needed to build MariaDB. Then download source code from here (click).