diff options
author | Marcus von Appen <mva@FreeBSD.org> | 2013-06-21 19:56:27 +0000 |
---|---|---|
committer | Marcus von Appen <mva@FreeBSD.org> | 2013-06-21 19:56:27 +0000 |
commit | c5a4db7c111615dacf0bd184c7b78e927dce311b (patch) | |
tree | 16b6a36999fedc7fbad7af76e86d017a12040f78 /graphics/sdl2_ttf | |
parent | 2b6d9fd950bcce21b937ac81c7faa89131ebdfe9 (diff) |
Notes
Diffstat (limited to 'graphics/sdl2_ttf')
-rw-r--r-- | graphics/sdl2_ttf/Makefile | 36 | ||||
-rw-r--r-- | graphics/sdl2_ttf/distinfo | 2 | ||||
-rw-r--r-- | graphics/sdl2_ttf/pkg-descr | 15 | ||||
-rw-r--r-- | graphics/sdl2_ttf/pkg-plist | 9 |
4 files changed, 62 insertions, 0 deletions
diff --git a/graphics/sdl2_ttf/Makefile b/graphics/sdl2_ttf/Makefile new file mode 100644 index 000000000000..7ba9eb470fc4 --- /dev/null +++ b/graphics/sdl2_ttf/Makefile @@ -0,0 +1,36 @@ +# $FreeBSD$ + +PORTNAME= sdl2_ttf +PORTVERSION= 2.0.p1 +CATEGORIES= graphics +MASTER_SITES= http://www.libsdl.org/tmp/SDL_ttf/release/ +DISTNAME= SDL2_ttf-2.0.12 + +MAINTAINER= mva@FreeBSD.org +COMMENT= A library to use TrueType fonts to render text in SDL applications + +LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 + +USES= pkgconfig:build pathfix +USE_SDL= sdl2 +USE_AUTOTOOLS= libtool +USE_GMAKE= yes +GNU_CONFIGURE= yes +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +USE_LDCONFIG= yes +MAKE_JOBS_SAFE= yes + +OPTIONS_DEFINE= OPENGL + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MOPENGL} +USE_GL= yes +.endif + +post-install: + ${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${PREFIX}/bin/sdl2-glfont + ${INSTALL_PROGRAM} ${WRKSRC}/.libs/showfont ${PREFIX}/bin/sdl2-showfont + +.include <bsd.port.mk> diff --git a/graphics/sdl2_ttf/distinfo b/graphics/sdl2_ttf/distinfo new file mode 100644 index 000000000000..fca96d85902e --- /dev/null +++ b/graphics/sdl2_ttf/distinfo @@ -0,0 +1,2 @@ +SHA256 (SDL2_ttf-2.0.12.tar.gz) = ecb535c9735068cdef18a0f1f49faae4310273c0704d6cff85a1c0e0d3d5dcfb +SIZE (SDL2_ttf-2.0.12.tar.gz) = 5515661 diff --git a/graphics/sdl2_ttf/pkg-descr b/graphics/sdl2_ttf/pkg-descr new file mode 100644 index 000000000000..f105e2225e7b --- /dev/null +++ b/graphics/sdl2_ttf/pkg-descr @@ -0,0 +1,15 @@ +This library is a wrapper around the excellent FreeType library. + +WARNING: There may be patent issues with using the FreeType library. Check the +FreeType website for up-to-date details. + +This library allows you to use TrueType fonts to render text in SDL +applications. + +Be careful when including fonts with your application, as many of them are +copyrighted. The Microsoft fonts, for example, are not freely redistributable +and even the free "web" fonts they provide are only redistributable in their +special executable installer form (May 1998). There are plenty of freeware and +shareware fonts available on the Internet though, and may suit your purposes. + +WWW: http://www.libsdl.org/projects/SDL_ttf/ diff --git a/graphics/sdl2_ttf/pkg-plist b/graphics/sdl2_ttf/pkg-plist new file mode 100644 index 000000000000..29d739f88fe3 --- /dev/null +++ b/graphics/sdl2_ttf/pkg-plist @@ -0,0 +1,9 @@ +bin/sdl2-glfont +bin/sdl2-showfont +include/SDL2/SDL_ttf.h +lib/libSDL2_ttf-2.0.so +lib/libSDL2_ttf-2.0.so.10 +lib/libSDL2_ttf.a +lib/libSDL2_ttf.la +lib/libSDL2_ttf.so +libdata/pkgconfig/SDL2_ttf.pc |