BSD Ports

graphics/sdl2_ttf 2.20.2 MidnightBSD

Library to use TrueType fonts to render text in SDL applications

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
zlib
Categories
graphics

Description

This library is a wrapper around the FreeType and Harfbuzz libraries, allowing you to use TrueType fonts to render text in SDL applications.

It allows a programmer 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.

In the other systems

SystemPortVersion
MidnightBSDgraphics/sdl2_ttf2.20.2
FreeBSDgraphics/sdl2_ttf2.24.0
DragonFlygraphics/sdl2_ttf2.24.0
HardenedBSDgraphics/sdl2_ttf2.24.0
GhostBSDgraphics/sdl2_ttf2.24.0

Install

Binary package:

mport install sdl2_ttf

From mports:

cd /usr/mports/graphics/sdl2_ttf && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	sdl2_ttf>0:graphics/sdl2_ttf
LIB_DEPENDS=	libSDL2_ttf-2.0.so:graphics/sdl2_ttf

Dependencies

As this port's Makefile names them.

Library 1

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

Options name: graphics_sdl2_ttf

OptionDefaultDescription
DOCSoff
HARFBUZZonEnable HarfBuzz support
USES
cmake sdl
Service scripts
none

Files

pkg-plist 10
  • include/SDL2/SDL_ttf.h
  • lib/cmake/SDL2_ttf/SDL2_ttf-shared-targets-.cmake
  • lib/cmake/SDL2_ttf/SDL2_ttf-shared-targets.cmake
  • lib/cmake/SDL2_ttf/SDL2_ttfConfig.cmake
  • lib/cmake/SDL2_ttf/SDL2_ttfConfigVersion.cmake
  • lib/libSDL2_ttf-2.0.so
  • lib/libSDL2_ttf-2.0.so.0
  • lib/libSDL2_ttf-2.0.so.0.2000.2
  • lib/libSDL2_ttf.so
  • libdata/pkgconfig/SDL2_ttf.pc
distinfo 1
FileSizeSHA256
libsdl-org-SDL_ttf-release-2.20.2_GH0.tar.gz8.814413e+060fe9d587cdc4e6754b647536d0803bea8ca6ac77146c4209e0bed22391cf8241