Add recipe for the Hack font.

This commit is contained in:
Kostadin Damyanov
2015-08-30 12:18:13 +03:00
parent a862488be8
commit 8a452d7bf7

View File

@@ -0,0 +1,32 @@
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="http://sourcefoundry.org/hack/"
COPYRIGHT="Christopher Simpkins"
LICENSE="SIL Open Font License v1.1"
REVISION="1"
SOURCE_URI="https://github.com/chrissimpkins/Hack/releases/download/v$portVersion/Hack-v2_010-ttf.zip"
CHECKSUM_SHA256="d28782fc3154fcdda97df66ffc138b087d0f1249f2d9e83d32d209a7935e8493"
SOURCE_DIR=""
ARCHITECTURES="x86 x86_gcc2 x86_64"
PROVIDES="
hack_font = $portVersion
"
BUILD_PREREQUIRES="
cmd:cp
cmd:mkdir
"
BUILD()
{
echo "No building required."
}
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cp -r *.ttf ${FONTDIR}/
}