dmd package in FreeBSD repositories?

Well, if there's no binary package that probably means there were some problems somewhere. Sometimes licenses or other things get in the way. Seems that Freshports confirms this.

So it refuses to build due to some reasons, therefor your only option is to try and build it yourself using the ports collection. Still, bottom line, this software is already available for FreeBSD (more or less).
 
Have you tried running their install script?

curl https://dlang.org/install.sh | bash -s

It has worked pretty well for me on 11.2. See this page for more details.
 
And doing that as root... is unwise.

You should fetch this kind of script and manually check those scripts. Only then throw them into a shell.
 
Back
Top