From c41c21ac49ad29b50afe16170b5239a2c622a538 Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Wed, 7 Jan 2015 17:16:16 +0000 Subject: [PATCH] inconsolata: Update recipe * Convert to .recipe format * Move extra downloads from INSTALL() to SRC_URI_$n --- .../inconsolata/inconsolata-1.0.recipe | 41 +++++++++++++------ 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/media-fonts/inconsolata/inconsolata-1.0.recipe b/media-fonts/inconsolata/inconsolata-1.0.recipe index eceb5c6c1..0014f34a9 100644 --- a/media-fonts/inconsolata/inconsolata-1.0.recipe +++ b/media-fonts/inconsolata/inconsolata-1.0.recipe @@ -1,26 +1,41 @@ -DESCRIPTION="Inconsolata Programmer's font" +SUMMARY="Inconsolata Programmer's font" +DESCRIPTION="Inconsolata is a monospace font, designed for code listings \ +and the like, in print. There are a great many 'programmer fonts,' designed \ +primarily for use on the screen, but in most cases do not have the attention \ +to detail for high resolution rendering." HOMEPAGE="http://www.levien.com/type/myfonts/inconsolata.html" SRC_URI="http://media.nodnod.net/Inconsolata-dz.otf.zip" -REVISION="2" -STATUS_HAIKU="stable" -DEPEND="" -CHECKSUM_MD5="8510443343f43382566511e73abc06f8" +CHECKSUM_SHA256="002fed4b8c1e5417c03f9b55e009acc682da08b13cdbf8f601f52efaf5324d58" +SRC_URI_2="http://levien.com/type/myfonts/Inconsolata.otf#noarchive" +CHECKSUM_SHA256_2="1561e616c414a1b82d6e6dfbd18e5726fd65028913ade191e5fa38b6ec375a1a" +SRC_URI_3="http://www.cosmix.org/software/files/InconsolataHellenic.zip" +CHECKSUM_SHA256_3="415f6cd9badb1eefa90be8b10e6316e87f9824856b5e407213334bf5a77873e7" +REVISION="3" +LICENSE="SIL Open Font License v1.1" +COPYRIGHT="2006 Raph Levien + 2009 David Zhou + 2010-2012 Dimosthenis Kaponis +" + +ARCHITECTURES="any" +DISABLE_SOURCE_PACKAGE=yes + +PROVIDES="inconsolata = $portVersion" +REQUIRES="" +BUILD_REQUIRES="" +BUILD_PREREQUIRES="coreutils" + +SOURCE_DIR="" + BUILD() { - echo "No building required." + true } INSTALL() { FONTDIR=${fontsDir}/otfonts mkdir -p ${FONTDIR} - wget http://levien.com/type/myfonts/Inconsolata.otf - wget http://www.cosmix.org/software/files/InconsolataHellenic.zip - unzip -o InconsolataHellenic.zip cp -r *.otf ${FONTDIR}/ } -LICENSE="SIL Open Font License v1.1" -COPYRIGHT="2006 Raph Levien - 2009 David Zhou - 2010-2012 Dimosthenis Kaponis"