PORTNAME= sdl2_ttf DISTVERSIONPREFIX= release- DISTVERSION= 2.22.0 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= Library to use TrueType fonts to render text in SDL applications WWW= https://github.com/libsdl-org/SDL_ttf LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libfreetype.so:print/freetype2 USES= cmake sdl USE_GITHUB= yes GH_ACCOUNT= libsdl-org GH_PROJECT= SDL_ttf USE_SDL= sdl2 CMAKE_OFF= SDL2TTF_SAMPLES CMAKE_ARGS= -DSDL2TTF_DEBUG_POSTFIX:STRING= USE_LDCONFIG= yes PORTDOCS= * OPTIONS_DEFINE= HARFBUZZ DOCS OPTIONS_DEFAULT=HARFBUZZ OPTIONS_SUB= yes HARFBUZZ_DESC= Enable HarfBuzz support HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CMAKE_BOOL= SDL2TTF_HARFBUZZ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGES.txt ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/ .include