From 57240cc6eb7dc0dd88b18f9584e2beed87222f98 Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Tue, 6 Jan 2015 19:10:15 +0000 Subject: [PATCH] Add a new font, Open Sans --- media-fonts/open_sans/open_sans-1.0.recipe | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 media-fonts/open_sans/open_sans-1.0.recipe diff --git a/media-fonts/open_sans/open_sans-1.0.recipe b/media-fonts/open_sans/open_sans-1.0.recipe new file mode 100644 index 000000000..c87863ebe --- /dev/null +++ b/media-fonts/open_sans/open_sans-1.0.recipe @@ -0,0 +1,36 @@ +SUMMARY="The Open Sans font" +DESCRIPTION="Open Sans is a humanist sans serif typeface designed by Steve Matteson, \ +Type Director of Ascender Corp. Open Sans was designed with an upright stress, \ +open forms and a neutral, yet friendly appearance. It was optimized for print, web, \ +and mobile interfaces, and has excellent legibility characteristics in its letterforms." +HOMEPAGE="http://www.google.com/fonts/specimen/Open+Sans" +# From Google fonts, +# http://www.google.com/fonts#UsePlace:use/Collection:Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800 +# Leave out the checksum here as the file is generated on the fly. +SRC_URI="http://www.google.com/fonts/download?kit=3hvsV99qyKCBS55e5pvb3ltkqrIMaAZWyLYEoB48lSQ" +SRC_FILENAME="open-sans.zip" +LICENSE="Apache v2" +COPYRIGHT="2010-2011 Google Corporation" +REVISION="1" + +ARCHITECTURES="any" +DISABLE_SOURCE_PACKAGE=yes + +PROVIDES="open_sans = $portVersion" +REQUIRES="" +BUILD_REQUIRES="" +BUILD_PREREQUIRES="coreutils" + +SOURCE_DIR="" + +BUILD() +{ + true +} + +INSTALL() +{ + FONTDIR=$fontsDir/ttfonts + mkdir -p ${FONTDIR} + cp *.ttf ${FONTDIR} +}