Port details
sdl2_ttf Library to use TrueType fonts to render text in SDL applications
2.24.0 graphics Σ=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.24.0Version of this port present on the latest quarterly branch.
Maintainer: amdmi3@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2013-06-21 19:56:49
Last Update: 2025-02-06 00:29:42
Commit Hash: 5e3f67f
People watching this port, also watch: lame, sudo, wget, rsync, graphviz
License: ZLIB
WWW:
https://github.com/libsdl-org/SDL_ttf
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (17 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/sdl2_ttf-2.24.0/catalog.mk
  3. /usr/local/share/licenses/sdl2_ttf-2.24.0/LICENSE
  4. /usr/local/share/licenses/sdl2_ttf-2.24.0/ZLIB
  5. include/SDL2/SDL_ttf.h
  6. lib/cmake/SDL2_ttf/SDL2_ttf-shared-targets-release.cmake
  7. lib/cmake/SDL2_ttf/SDL2_ttf-shared-targets.cmake
  8. lib/cmake/SDL2_ttf/SDL2_ttfConfig.cmake
  9. lib/cmake/SDL2_ttf/SDL2_ttfConfigVersion.cmake
  10. lib/libSDL2_ttf-2.0.so
  11. lib/libSDL2_ttf-2.0.so.0
  12. lib/libSDL2_ttf-2.0.so.0.2400.0
  13. lib/libSDL2_ttf.so
  14. libdata/pkgconfig/SDL2_ttf.pc
  15. @owner
  16. @group
  17. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • For RUN/BUILD depends:
    • sdl2_ttf>0:graphics/sdl2_ttf
  • For LIB depends:
    • libSDL2_ttf-2.0.so:graphics/sdl2_ttf
    • libSDL2_ttf.so:graphics/sdl2_ttf
To install the port: #
cd /usr/ports/graphics/sdl2_ttf/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/sdl2_ttf
  • pkg install sdl2_ttf
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: sdl2_ttf
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1736269858 SHA256 (libsdl-org-SDL_ttf-release-2.24.0_GH0.tar.gz) = 2c45241a56203a59d66ec6b4eae9457e5675fc609376566a257391fd29d341a2 SIZE (libsdl-org-SDL_ttf-release-2.24.0_GH0.tar.gz) = 8843901

Packages (timestamps in pop-ups are UTC): #
sdl2_ttf
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest2.24.02.24.0-2.24.02.24.0
FreeBSD:14:quarterly2.24.02.24.0-2.24.02.24.0
FreeBSD:15:latest2.24.02.24.0n/a2.24.0n/a
FreeBSD:15:quarterly2.24.02.24.0n/a-n/a
FreeBSD:16:latest CURRENT2.24.02.24.0n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
  3. sdl2-config : devel/sdl20
Library dependencies: #
  1. libfreetype.so : print/freetype2
  2. libharfbuzz.so : print/harfbuzz
  3. libSDL2.so : devel/sdl20
This port is required by: #
for Libraries #
  1. astro/mepo
  2. audio/klystrack
  3. audio/xwax
  4. devel/flatzebra
  5. devel/py-game
  6. devel/py-pysdl2
  7. devel/sdl2pp
Expand this list (54 items / 47 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. emulators/mame
  3. emulators/open-simh
  4. emulators/openmsx
  5. games/3omns
  6. games/afternoonstalker
  7. games/alephone
  8. games/barony
  9. games/blobwars
  10. games/blockattack
  11. games/burgerspace
  12. games/colobot
  13. games/cosmosmash
  14. games/domino-chain
  15. games/el
  16. games/enigma
  17. games/flare-engine
  18. games/glob2
  19. games/hedgewars
  20. games/hoverboard-sdl
  21. games/lbreakouthd
  22. games/legend-of-edgar
  23. games/lincity-ng
  24. games/meandmyshadow
  25. games/moonlight-qt
  26. games/neverball
  27. games/openclaw
  28. games/py-fife
  29. games/solarus
  30. games/solarus-quest-editor
  31. games/starfighter
  32. games/tome4
  33. games/tome4-beta
  34. games/trackballs
  35. games/tuxpaint
  36. games/vcmi
  37. games/wesnoth
  38. games/widelands
  39. games/xmoto
  40. graphics/grafx2
  41. net/freerdp3
  42. Collapse this list.

Deleted ports which required this port:

Expand this list of 7 deleted ports
  1. devel/py-game_sdl2*
  2. devel/py-sdl2*
  3. emulators/mess*
  4. games/adonthell*
  5. games/cataclysm-dda-tiles*
  6. games/manaplus*
  7. games/valyriatear*
  8. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options: #
===> The following configuration options are available for sdl2_ttf-2.24.0: DOCS=on: Build and/or install documentation HARFBUZZ=on: Enable HarfBuzz support ===> Use 'make config' to modify these settings
Options name: #
graphics_sdl2_ttf
USES: #
cmake sdl
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/libsdl-org/SDL_ttf/tar.gz/release-2.24.0?dummy=/
Collapse this list.

Number of commits found: 28 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.24.0
06 Feb 2025 00:29:42
commit hash: 5e3f67f8a73e1220229309421dbaff906e6fde3ecommit hash: 5e3f67f8a73e1220229309421dbaff906e6fde3ecommit hash: 5e3f67f8a73e1220229309421dbaff906e6fde3ecommit hash: 5e3f67f8a73e1220229309421dbaff906e6fde3e files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
graphics/sdl2_ttf: update 2.22.0 → 2.24.0

PR:		283865
2.22.0
08 Apr 2024 23:18:00
commit hash: d714ec032ef0125c352bd73312c795b3a973c9b9commit hash: d714ec032ef0125c352bd73312c795b3a973c9b9commit hash: d714ec032ef0125c352bd73312c795b3a973c9b9commit hash: d714ec032ef0125c352bd73312c795b3a973c9b9 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
graphics/sdl2_ttf: update 2.20.2 → 2.22.0
2.20.2
07 Feb 2023 18:43:45
commit hash: 562d007405d27eeded08e6b7de2e19d39d25255acommit hash: 562d007405d27eeded08e6b7de2e19d39d25255acommit hash: 562d007405d27eeded08e6b7de2e19d39d25255acommit hash: 562d007405d27eeded08e6b7de2e19d39d25255a files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
graphics/sdl2_ttf: update 2.20.1 → 2.20.2
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2.20.1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.20.1
31 Aug 2022 10:15:29
commit hash: 61182e16a54089471f9a35fef9d04457406361dbcommit hash: 61182e16a54089471f9a35fef9d04457406361dbcommit hash: 61182e16a54089471f9a35fef9d04457406361dbcommit hash: 61182e16a54089471f9a35fef9d04457406361db files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
graphics/sdl2_ttf: update 2.20.0 → 2.20.1

- Fix installation with WITH_DEBUG
- Update pkg-descr
2.20.0
19 Jul 2022 21:32:21
commit hash: a0f35b3aa52335d0661df3f0dd2a284e60ad0ae0commit hash: a0f35b3aa52335d0661df3f0dd2a284e60ad0ae0commit hash: a0f35b3aa52335d0661df3f0dd2a284e60ad0ae0commit hash: a0f35b3aa52335d0661df3f0dd2a284e60ad0ae0 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
graphics/sdl2_ttf: update 2.0.18 → 2.20.0
2.0.18
12 Jan 2022 14:16:50
commit hash: 68d149ef6d4c8b0f80071c1a9632f5d8fb8384eccommit hash: 68d149ef6d4c8b0f80071c1a9632f5d8fb8384eccommit hash: 68d149ef6d4c8b0f80071c1a9632f5d8fb8384eccommit hash: 68d149ef6d4c8b0f80071c1a9632f5d8fb8384ec files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
graphics/sdl2_ttf: update to 2.0.18
2.0.15
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2.0.15
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.0.15
21 Apr 2019 19:09:24
Revision:499583commit hash: 48f7ba1ab98172444846d4f93241f161ee367ccbcommit hash: 48f7ba1ab98172444846d4f93241f161ee367ccbcommit hash: 48f7ba1ab98172444846d4f93241f161ee367ccbcommit hash: 48f7ba1ab98172444846d4f93241f161ee367ccbOriginal commit files touched by this commit
sunpoet search for other commits by this committer
Update MASTER_SITES

Approved by:	portmgr (blanket)
2.0.15
02 Mar 2019 00:20:37
Revision:494347commit hash: 667269bee7057601d82372f402d7110d1889970acommit hash: 667269bee7057601d82372f402d7110d1889970acommit hash: 667269bee7057601d82372f402d7110d1889970acommit hash: 667269bee7057601d82372f402d7110d1889970aOriginal commit files touched by this commit
amdmi3 search for other commits by this committer
- Update to 2.0.15
- Fix dependency on OpenGL
- Update pkg-descr
2.0.14_1
05 Feb 2018 16:24:49
Revision:460979commit hash: c581e7eca69b57ad3e4f53cdbef2a77b8362f684commit hash: c581e7eca69b57ad3e4f53cdbef2a77b8362f684commit hash: c581e7eca69b57ad3e4f53cdbef2a77b8362f684commit hash: c581e7eca69b57ad3e4f53cdbef2a77b8362f684Original commit files touched by this commit
amdmi3 search for other commits by this committer
Take maintainership of SDL/SDL2 ports
2.0.14_1
23 May 2017 05:03:16
Revision:441503commit hash: b760897dde0d10ee08ffa823ea202fdc49a6ad38commit hash: b760897dde0d10ee08ffa823ea202fdc49a6ad38commit hash: b760897dde0d10ee08ffa823ea202fdc49a6ad38commit hash: b760897dde0d10ee08ffa823ea202fdc49a6ad38Original commit files touched by this commit
rezny search for other commits by this committer
Revision bump of all ports with USE_GL after consolidation of mesa-libs

Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10845
2.0.14
22 Jan 2017 22:27:55
Revision:432169commit hash: e132ea6fc3f1899e02ecf4f1e9dfa7d779945e80commit hash: e132ea6fc3f1899e02ecf4f1e9dfa7d779945e80commit hash: e132ea6fc3f1899e02ecf4f1e9dfa7d779945e80commit hash: e132ea6fc3f1899e02ecf4f1e9dfa7d779945e80Original commit files touched by this commit
rene search for other commits by this committer
Reset mva@'s ports, he handed in his ports bit.
2.0.14
06 Apr 2016 15:01:13
Revision:412624commit hash: c08f361805a3adcddb5954aef47e94618b1d1cd0commit hash: c08f361805a3adcddb5954aef47e94618b1d1cd0commit hash: c08f361805a3adcddb5954aef47e94618b1d1cd0commit hash: c08f361805a3adcddb5954aef47e94618b1d1cd0Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update sdl20 and satellite libraries to latest versions

sdl2: 2.0.3 -> 2.0.4
sdl2_image: 2.0.0 -> 2.0.1
sdl2_mixer: 2.0.0 -> 2.0.1
sdl2_net: 2.0.0 -> 2.0.1
sdl2_ttf: 2.0.12 -> 2.0.14

- Add LICENSE_FILE
- Strip libraries
- Switch to USES=localbase where applicable

PR:		207671
Submitted by:	devnexen@gmail.com, amdmi3
Approved by:	maintainer timeout (mva, 1 month)
Exp-run by:	antoine
2.0.12_5
01 Apr 2016 14:00:57
Revision:412346commit hash: 4e1b79a0a61f4973df8b4b0864d22086c769e219commit hash: 4e1b79a0a61f4973df8b4b0864d22086c769e219commit hash: 4e1b79a0a61f4973df8b4b0864d22086c769e219commit hash: 4e1b79a0a61f4973df8b4b0864d22086c769e219Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
2.0.12_5
10 Sep 2014 20:50:37
Revision:367888commit hash: 15945f8122ca36c901e1319b3270445458bdae02commit hash: 15945f8122ca36c901e1319b3270445458bdae02commit hash: 15945f8122ca36c901e1319b3270445458bdae02commit hash: 15945f8122ca36c901e1319b3270445458bdae02Original commit files touched by this commit
gerald search for other commits by this committer
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2.0.12_4
03 Jul 2014 17:25:30
Revision:360414commit hash: 6ddd7ebf8b86615358c5150729654dcd4e4b8595commit hash: 6ddd7ebf8b86615358c5150729654dcd4e4b8595commit hash: 6ddd7ebf8b86615358c5150729654dcd4e4b8595commit hash: 6ddd7ebf8b86615358c5150729654dcd4e4b8595Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Switch graphics/sdl2_ttf to USES=libtool, drop .la files
- Bump dependent ports as .so version has changed

Approved by:	portmgr blanket
2.0.12_3
13 Jun 2014 07:36:28
Revision:357654commit hash: 5e38556079dc1b29917574ab333469bcd6cb2826commit hash: 5e38556079dc1b29917574ab333469bcd6cb2826commit hash: 5e38556079dc1b29917574ab333469bcd6cb2826commit hash: 5e38556079dc1b29917574ab333469bcd6cb2826Original commit files touched by this commit
olgeni search for other commits by this committer
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories G-I.

CR:		D201
Approved by:	portmgr (bapt)
2.0.12_3
16 Apr 2014 18:28:50
Revision:351411commit hash: 39fc32e82863cce17f070122d498ce82cf7ea7afcommit hash: 39fc32e82863cce17f070122d498ce82cf7ea7afcommit hash: 39fc32e82863cce17f070122d498ce82cf7ea7afcommit hash: 39fc32e82863cce17f070122d498ce82cf7ea7afOriginal commit files touched by this commit
zeising search for other commits by this committer
The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.0.12_2
17 Nov 2013 12:33:49
Revision:334079commit hash: 7c19894cc2655ff3d2d6632c53bb6577e3ebe4b8commit hash: 7c19894cc2655ff3d2d6632c53bb6577e3ebe4b8commit hash: 7c19894cc2655ff3d2d6632c53bb6577e3ebe4b8commit hash: 7c19894cc2655ff3d2d6632c53bb6577e3ebe4b8Original commit files touched by this commit
mva search for other commits by this committer
- Switch devel/sdl20 to use the autotools-based configuration, since the
  cmake-based one is not maintained that well
- Fix library naming to ensure backwards compatibility on minor version
  changes
- Bump the PORTREVISION on ports depending on devel/sdl20, since its
  shared library name changed

PR:		ports/183975
Submitted by:	Jan Kokemuller <jan.kokemueller@gmail.com>
2.0.12_1
25 Oct 2013 16:15:37
Revision:331607commit hash: ce01f38cc12172b564306ef9b2251fe05a30a7bfcommit hash: ce01f38cc12172b564306ef9b2251fe05a30a7bfcommit hash: ce01f38cc12172b564306ef9b2251fe05a30a7bfcommit hash: ce01f38cc12172b564306ef9b2251fe05a30a7bfOriginal commit files touched by this commit
mva search for other commits by this committer
- Update devel/sdl20 to version 2.0.1
- Bump PORTREVISIONs for SDL2-related ports to chase the changed SDL2
  shlib version
- Enable staging support for the SDL2 ports
- Switch to new LIB_DEPENDS format for the SDL2 ports
- Add LICENSE to the SDL2 ports
- Use gmake USES for the SDL2 ports
2.0.12
20 Sep 2013 18:35:46
Revision:327733commit hash: eb08c5441cf4772f805b99523084b12164ed2495commit hash: eb08c5441cf4772f805b99523084b12164ed2495commit hash: eb08c5441cf4772f805b99523084b12164ed2495commit hash: eb08c5441cf4772f805b99523084b12164ed2495Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
graphics)
2.0.12
14 Aug 2013 22:35:54
Revision:324744commit hash: d4041784dc51fbd5b1e6a77c341ba00b18e4cd60commit hash: d4041784dc51fbd5b1e6a77c341ba00b18e4cd60commit hash: d4041784dc51fbd5b1e6a77c341ba00b18e4cd60commit hash: d4041784dc51fbd5b1e6a77c341ba00b18e4cd60Original commit files touched by this commit Sanity Test Failure
ak search for other commits by this committer
- Remove MAKE_JOBS_SAFE variable

Approved by:	portmgr (bdrewery)
2.0.12
14 Aug 2013 17:23:36
Revision:324741commit hash: 0fe3d4f76353de87a58ae8cdc9a4360dc94a1af0commit hash: 0fe3d4f76353de87a58ae8cdc9a4360dc94a1af0commit hash: 0fe3d4f76353de87a58ae8cdc9a4360dc94a1af0commit hash: 0fe3d4f76353de87a58ae8cdc9a4360dc94a1af0Original commit files touched by this commit
mva search for other commits by this committer
SDL2 has been officially released.

- Update devel/sdl20, audio/sdl2_mixer, graphics/sdl2_image,
  graphics/sdl2_ttf and net/sdl2_net to version 2.0.0
2.0.p2
06 Jul 2013 10:26:33
Revision:322380commit hash: 6e6c34a65d0723b5f7413fefeab42c656eb245dbcommit hash: 6e6c34a65d0723b5f7413fefeab42c656eb245dbcommit hash: 6e6c34a65d0723b5f7413fefeab42c656eb245dbcommit hash: 6e6c34a65d0723b5f7413fefeab42c656eb245dbOriginal commit files touched by this commit
mva search for other commits by this committer
- Update to the latest RC
2.0.p1
21 Jun 2013 19:56:28
Revision:321500commit hash: c5a4db7c111615dacf0bd184c7b78e927dce311bcommit hash: c5a4db7c111615dacf0bd184c7b78e927dce311bcommit hash: c5a4db7c111615dacf0bd184c7b78e927dce311bcommit hash: c5a4db7c111615dacf0bd184c7b78e927dce311bOriginal commit files touched by this commit
mva search for other commits by this committer
Welcome SDL2 to the FreeBSD ports system!

A set of new SDL2 related ports has been added, which are essentially
the same as their corresponding port for SDL1.2:

    audio/sdl2_mixer
    graphics/sdl2_image
    graphics/sdl2_ttf
    net/sdl2_net

A set of new USE_SDL knobs is available to enable SDL2 and its related
ports to be added as dependency to ports. Use either of

  USE_SDL= sdl2 image2 mixer2 net2 ttf2

to pull in the specific sdl2_* or sdl20 port.

Number of commits found: 28