the WITH_NDB=1 switch that will enable building with cluster support, the
rest is up to you. Then use the portinstall command to build the port.
>From there on it is like any other OS to build the MySQL cluster.
MAKE_ARGS = {
'databases/mysql*' => 'WITH_NDB=1 WITH_ARCHIVE=1 BUILD_OPTIMIZED=1
WITH_OPENSSL=1',
}
http://www.mail-archive.com/freebsd-questions@freebsd.org/msg130462.html