From 37160a2e3bc47f01c2a8bef8639df4ffb59b41cf Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Thu, 8 Jan 2015 05:13:58 +0000 Subject: [PATCH] liberation_fonts: Update recipe (broken) * This builds the fonts from source, and relies on fontforge for that (which is currently marked as broken) * Either way, update the recipe the the latest version of the source as well as the new format TODO: Add fontforge dependency, properly. --- .../liberation_fonts-1.06.0.20100721.recipe | 27 -------------- .../liberation_fonts-2.00.1.recipe | 37 +++++++++++++++++++ 2 files changed, 37 insertions(+), 27 deletions(-) delete mode 100644 media-fonts/liberation_fonts/liberation_fonts-1.06.0.20100721.recipe create mode 100644 media-fonts/liberation_fonts/liberation_fonts-2.00.1.recipe diff --git a/media-fonts/liberation_fonts/liberation_fonts-1.06.0.20100721.recipe b/media-fonts/liberation_fonts/liberation_fonts-1.06.0.20100721.recipe deleted file mode 100644 index a6f4c14a4..000000000 --- a/media-fonts/liberation_fonts/liberation_fonts-1.06.0.20100721.recipe +++ /dev/null @@ -1,27 +0,0 @@ -DESCRIPTION=" -The Liberation(tm) Fonts is a font family which aims at metric compatibility \ -with Arial, Times New Roman, and Courier New. It is sponsored by Red Hat. -" -HOMEPAGE="https://fedorahosted.org/liberation-fonts" -SRC_URI="http://ports-space.haiku-files.org/media-fonts/source/liberation-fonts-1.06.0.20100721.tar.gz" -REVISION="2" -STATUS_HAIKU="broken" -DEPEND="fontforge" -CHECKSUM_MD5="2f45bd873ab48cf0c3a00fbd350c0e80" -BUILD() -{ - cd liberation-fonts-1.06.0.20100721 - make -} - -INSTALL() -{ - cd liberation-fonts-1.06.0.20100721 - FONTDIR=${fontsDir}/ttfonts - mkdir -p ${FONTDIR} - cp -a *.ttf ${FONTDIR}/. -} - -LICENSE="GNU GPL v2 - Liberation Exceptions" -COPYRIGHT="2007-2010 Red Hat, Inc." diff --git a/media-fonts/liberation_fonts/liberation_fonts-2.00.1.recipe b/media-fonts/liberation_fonts/liberation_fonts-2.00.1.recipe new file mode 100644 index 000000000..8a92678d4 --- /dev/null +++ b/media-fonts/liberation_fonts/liberation_fonts-2.00.1.recipe @@ -0,0 +1,37 @@ +SUMMARY="The Liberation Fonts" +DESCRIPTION=" +The Liberation(tm) Fonts is a font family which aims at metric compatibility \ +with Arial, Times New Roman, and Courier New. It is sponsored by Red Hat. +" +HOMEPAGE="https://fedorahosted.org/liberation-fonts" +SRC_URI="https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-2.00.1.tar.gz" +CHECKSUM_SHA256="7acbc612c3665292d2d94fd38fe7cd88d826281d31f8c209af92702bdaf6b9fa" +REVISION="3" +LICENSE="GNU GPL v2 + Liberation Exceptions" +COPYRIGHT="2007-2010 Red Hat, Inc." + +ARCHITECTURES="any" + +PROVIDES="liberation_fonts = $portVersion" +REQUIRES="" +BUILD_REQUIRES="" +BUILD_PREREQUIRES=" + cmd:make + coreutils +" + + +SOURCE_DIR="liberation-fonts-2.00.1" + +BUILD() +{ + make $jobArgs +} + +INSTALL() +{ + FONTDIR=${fontsDir}/ttfonts + mkdir -p ${FONTDIR} + cp -a *.ttf ${FONTDIR} +}