SUMMARY="A typeface designed for source code"
DESCRIPTION="Hack includes monospaced regular, bold, oblique, and bold oblique sets to \
cover all of your syntax highlighting needs."
HOMEPAGE="https://sourcefoundry.org/hack/"
COPYRIGHT="2015-2018 Christopher Simpkins"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/source-foundry/Hack/releases/download/v$portVersion/Hack-v$portVersion-ttf.zip"
CHECKSUM_SHA256="0c2604631b1f055041c68a0e09ae4801acab6c5072ba2db6a822f53c3f8290ac"
SOURCE_DIR="ttf"

ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"

PROVIDES="
	hack = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_PREREQUIRES="
	cmd:cp
	cmd:mkdir
	"

INSTALL()
{
	FONTDIR=$fontsDir/ttfonts
	mkdir -p ${FONTDIR}
	cp -r *.ttf ${FONTDIR}/
}
