mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Adding recipe for webfont FontAwesome
This commit is contained in:
39
media-fonts/fontawesome/fontawesome-4.6.3.recipe
Normal file
39
media-fonts/fontawesome/fontawesome-4.6.3.recipe
Normal file
@@ -0,0 +1,39 @@
|
||||
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="http://fontawesome.io"
|
||||
COPYRIGHT="2013-2016 Dave Gandy"
|
||||
LICENSE="SIL Open Font License v1.1"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/FortAwesome/Font-Awesome/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="669fb1210c64eda3f998c86941641f1bcd0af4450643daf8841cb62d2b6c71a4"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
DISABLE_SOURCE_PACKAGE=yes
|
||||
|
||||
PROVIDES="
|
||||
fontawesome = $portVersion
|
||||
"
|
||||
REQUIRES=""
|
||||
BUILD_REQUIRES=""
|
||||
BUILD_PREREQUIRES="
|
||||
coreutils
|
||||
"
|
||||
|
||||
SOURCE_DIR=""
|
||||
|
||||
BUILD()
|
||||
{
|
||||
true
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
FONTDIR=$fontsDir/ttfonts
|
||||
mkdir -p ${FONTDIR}
|
||||
cd Font-Awesome-$portVersion
|
||||
cp -a fonts/fontawesome-webfont.ttf ${FONTDIR}
|
||||
}
|
||||
Reference in New Issue
Block a user