BSD Ports

graphics/sdl2_ttf 2.24.0 FreeBSD

Library to use TrueType fonts to render text in SDL applications

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ZLIB
Categories
graphics
Package size
40.2 KiB, 166.3 KiB installed

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
FreeBSDgraphics/sdl2_ttf2.24.0
DragonFlygraphics/sdl2_ttf2.24.0
MidnightBSDgraphics/sdl2_ttf2.20.2
HardenedBSDgraphics/sdl2_ttf2.24.0
GhostBSDgraphics/sdl2_ttf2.24.0

Install

Binary package:

pkg install sdl2_ttf

From the ports tree:

cd /usr/ports/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

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.24.02.24.0-2.24.02.24.0
FreeBSD:14:quarterly2.24.02.24.0n/a2.24.02.24.0
FreeBSD:15:latest2.24.02.24.0n/a2.24.02.24.0
FreeBSD:15:quarterly2.24.02.24.0n/an/an/a
FreeBSD:16:latest2.24.02.24.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 60
Run dependencies 52

Configuration

Options name: graphics_sdl2_ttf

OptionDefaultDescription
DOCSoffBuild and/or install documentation
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.2400.0
  • lib/libSDL2_ttf.so
  • libdata/pkgconfig/SDL2_ttf.pc
distinfo 1
FileSizeSHA256
libsdl-org-SDL_ttf-release-2.24.0_GH0.tar.gz8.843901e+062c45241a56203a59d66ec6b4eae9457e5675fc609376566a257391fd29d341a2

Commit history 0

No commits in the history this site was built from.