Installing LDC on FreeBSD
The LDC is now part of FreeBSD ports tree. LDC can be installed from source code or it can be installed from FreeBSD binary package
Installing from ports tree (source code)
# cd /usr/ports/lang/ldc && make install clean clean-depends
Installing from package (binary)
# pkg install ldc
Currently, LDC can be installed on FreeBSD 11.x, 12.x and 13.x (i386 and amd64)
Installs as /usr/local/bin/ldc2