FreeBSD 10 comes with a pkgng package manager which allows to install binary packages faster and easier.

Unfortunately, there is no binary package available for hack-font for FreeBSD 10. What is hack-font? It’s a very good font which looks very good for source code.

Here’s how to install it from source.

Check /usr/ports/x11-fonts to see if there is a directory named hack-font. If not, you might need to download or update the ports first. If you don’t have ports installed at all, do this:

If you already have ports install previously, but just need to run the update:

Then navigate to /usr/ports/x11-fonts/hack-font, run make command as the following:

That’s it. If you use portmaster command to install package from source, you probably can just run:

Enjoy hack-(font)ing!