PortSystem 1.0 PortGroup github 1.0 name libsdl2_ttf github.setup libsdl-org SDL_ttf 2.24.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 e230a023b037e91f8fb7ae05a925b8cfb5d6e993 \ sha256 0b2bf1e7b6568adbdbc9bb924643f79d9dedafe061fa1ed687d1d9ac4e453bfd depends_build path:bin/pkg-config:pkgconfig depends_lib port:libsdl2 \ port:freetype configure.args --disable-sdltest \ --disable-freetype-builtin \ --disable-harfbuzz compiler.blacklist *gcc-4.* { 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 }