PortSystem 1.0 PortGroup github 1.0 name libsdl2_ttf github.setup libsdl-org SDL_ttf 2.22.0 release- categories devel graphics license zlib maintainers {jmr @jmroot} openmaintainer description add on library for libSDL for rendering TrueType fonts long_description \ This library is a wrapper around FreeType and \ allows rendering TrueType fonts in SDL applications. github.tarball_from releases distname SDL2_ttf-${version} checksums rmd160 9502abfa468fd88ea79deb6986e451e4b161f374 \ sha256 d48cbd1ce475b9e178206bf3b72d56b66d84d44f64ac05803328396234d67723 depends_build port:pkgconfig depends_lib port:libsdl2 \ port:freetype configure.args --disable-sdltest \ --disable-freetype-builtin \ --disable-harfbuzz compiler.blacklist *gcc* { clang < 211 } post-destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \ ${destroot}${docdir} } variant harfbuzz description {Use harfbuzz for text shaping} { depends_lib-append path:lib/pkgconfig/harfbuzz.pc:harfbuzz configure.args-delete --disable-harfbuzz configure.args-append --enable-harfbuzz \ --disable-harfbuzz-builtin }