PortSystem      1.0
PortGroup       github 1.0

github.setup    libsdl-org SDL_ttf 2648c22c4f9e32d05a11b32f636b1c225a1502ac
name            libsdl_ttf
version         2.0.11-20220526
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.

homepage        https://web.archive.org/web/20201111165552/https://www.libsdl.org/projects/SDL_ttf/release-1.2.html

github.tarball_from archive
checksums       rmd160 20b74c690aac0f1b7aab460d56daf2540620f9ca \
                sha256 27e6c0b5314068c1e88a05b11dd2e60f4dfe269d5f8997836df0dfa7198c3a1e

depends_build   path:bin/pkg-config:pkgconfig
depends_lib     port:libsdl \
                port:freetype

configure.args  --disable-sdltest

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
        ${destroot}${docdir}
}

livecheck.type  none
