2018-01-12 19:32:54 +00:00

29 lines
629 B
Makefile

# $OpenBSD: Makefile,v 1.7 2018/01/12 19:32:54 bentley Exp $
V = 2.0.14
COMMENT = SDL2 TrueType fonts library
DISTNAME = SDL2_ttf-${V}
PKGNAME = sdl2-ttf-${V}
CATEGORIES = devel graphics fonts
REVISION = 0
SHARED_LIBS += SDL2_ttf 0.0 # 10.2
HOMEPAGE = https://www.libsdl.org/projects/SDL_ttf/
# zlib
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += SDL2 freetype m pthread sndio usbhid z
MASTER_SITES = https://www.libsdl.org/projects/SDL_ttf/release/
LIB_DEPENDS = devel/sdl2
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>