diff --git a/media-fonts/fontawesome/fontawesome-5.0.6.recipe b/media-fonts/fontawesome/fontawesome-5.0.6.recipe new file mode 100644 index 000000000..3dfb55064 --- /dev/null +++ b/media-fonts/fontawesome/fontawesome-5.0.6.recipe @@ -0,0 +1,32 @@ +SUMMARY="A font containing scalable vector icons" +DESCRIPTION="FontAwesome contains over 600 icons and is most widely used on \ +the internet to depict certain actions. Haiku's discussion forum at \ +https://discuss.haiku-os.org uses it as well. +As long as Haiku doesn't support loading a font that's not installed, you \ +should install this webfont to see all the icons on the discussion forum." +HOMEPAGE="https://fontawesome.com/" +COPYRIGHT="2013-2018 Dave Gandy" +LICENSE="SIL Open Font License v1.1" +REVISION="1" +SOURCE_URI="https://use.fontawesome.com/releases/v$portVersion/fontawesome-free-$portVersion.zip" +CHECKSUM_SHA256="6a4be82b5ebfa4c8afd8d88ac6b0a9092efd7bfcc7f7affb03e051c9c26eddaf" +SOURCE_DIR="fontawesome-free-$portVersion" + +ARCHITECTURES="any" +DISABLE_SOURCE_PACKAGE=yes + +PROVIDES=" + fontawesome = $portVersion + " + +BUILD_PREREQUIRES=" + cmd:cp + cmd:mkdir + " + +INSTALL() +{ + FONTDIR=$fontsDir/ttfonts + mkdir -p ${FONTDIR} + cp -a on-server/webfonts/*.ttf ${FONTDIR} +}