graphics/sdl_ttf 2.0.11_5 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 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.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | graphics/sdl_ttf | 2.0.11_5 |
| FreeBSD | graphics/sdl_ttf | 2.0.11_8 |
| DragonFly | graphics/sdl_ttf | 2.0.11_8 |
| HardenedBSD | graphics/sdl_ttf | 2.0.11_8 |
| GhostBSD | graphics/sdl_ttf | 2.0.11_8 |
Install
Binary package:
mport install sdl_ttf
From mports:
cd /usr/mports/graphics/sdl_ttf && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= sdl_ttf>0:graphics/sdl_ttf
LIB_DEPENDS= libSDL_ttf.so:graphics/sdl_ttf
Dependencies
As this port's Makefile names them.
Library 1
libfreetype.so: print/freetype2
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- gmake iconv gl libtool localbase pathfix pkgconfig sdl xorg
- Service scripts
- none
Files
pkg-plist 8
- bin/glfont
- bin/sdl-showfont
- include/SDL/SDL_ttf.h
- lib/libSDL_ttf-2.0.so.0
- lib/libSDL_ttf-2.0.so.0.10.1
- lib/libSDL_ttf.a
- lib/libSDL_ttf.so
- libdata/pkgconfig/SDL_ttf.pc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| SDL_ttf-2.0.11.tar.gz | 4.053686e+06 | 724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7 |
Master sites 1
- https://www.libsdl.org/projects/SDL_ttf/release/