Recipe cosmetics: improved SUMMARY/DESCRIPTION and re-ordered blocks.

This commit is contained in:
Humdinger
2015-08-31 17:16:33 +02:00
parent e9901f64b8
commit ae698c8c3b
15 changed files with 265 additions and 309 deletions

View File

@@ -1,19 +1,17 @@
SUMMARY="Simple Direct Media Layer Image Library"
DESCRIPTION="
SDL_ttf is a TrueType font rendering library that is used with the SDL \
library, and almost as portable. It depends on freetype2 to handle the \
TrueType font data. It allows a programmer to use multiple TrueType fonts \
SUMMARY="Simple Direct Media Layer font library"
DESCRIPTION="sdl_ttf is a TrueType font rendering library that is used with \
the SDL library, and almost as portable. It depends on freetype2 to handle \
the TrueType font data. It allows programmers to use multiple TrueType fonts \
without having to code a font rendering routine themselves. With the power of \
outline fonts and antialiasing, high quality text output can be obtained \
without much effort.
"
without much effort."
HOMEPAGE="http://www.libsdl.org/projects/SDL_ttf/release-1.2.html"
COPYRIGHT="1997-2012 Sam Lantinga"
LICENSE="Zlib"
REVISION="2"
SOURCE_URI="http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.tar.gz"
CHECKSUM_SHA256="724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7"
LICENSE="Zlib"
COPYRIGHT="1997-2012 Sam Lantinga"
REVISION="2"
SOURCE_DIR="SDL_ttf-$portVersion"
ARCHITECTURES="x86 x86_gcc2 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
@@ -23,7 +21,6 @@ PROVIDES="
lib:libSDL_ttf$secondaryArchSuffix = 2.0_0.10.1 compat >= 2.0_0
lib:libSDL_ttf_2.0$secondaryArchSuffix = 0.10.1 compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
@@ -34,6 +31,16 @@ REQUIRES="
lib:libbz2$secondaryArchSuffix
"
PROVIDES_devel="
sdl_ttf${secondaryArchSuffix}_devel = 2.0.11 compat >= 1.2
devel:sdl_ttf$secondaryArchSuffix = 2.0.11 compat >= 1.2
devel:libSDL_ttf$secondaryArchSuffix = 2.0_0.10.1 compat >= 2.0_0
devel:libSDL_ttf_2.0$secondaryArchSuffix = 0.10.1 compat >= 0
"
REQUIRES_devel="
sdl_ttf$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl$secondaryArchSuffix
@@ -42,7 +49,6 @@ BUILD_REQUIRES="
devel:libbz2$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:libtoolize
cmd:aclocal
@@ -55,8 +61,6 @@ BUILD_PREREQUIRES="
cmd:freetype_config$secondaryArchSuffix
"
SOURCE_DIR="SDL_ttf-$portVersion"
BUILD()
{
libtoolize --copy --force --install
@@ -80,14 +84,3 @@ INSTALL()
packageEntries devel \
$developDir
}
PROVIDES_devel="
sdl_ttf${secondaryArchSuffix}_devel = 2.0.11 compat >= 1.2
devel:sdl_ttf$secondaryArchSuffix = 2.0.11 compat >= 1.2
devel:libSDL_ttf$secondaryArchSuffix = 2.0_0.10.1 compat >= 2.0_0
devel:libSDL_ttf_2.0$secondaryArchSuffix = 0.10.1 compat >= 0
"
REQUIRES_devel="
sdl_ttf$secondaryArchSuffix == $portVersion base
"