2016-03-11 19:59:11 +00:00

28 lines
612 B
Makefile

# $OpenBSD: Makefile,v 1.5 2016/03/11 19:59:14 naddy Exp $
V = 2.0.13
COMMENT = SDL2 TrueType fonts library
DISTNAME = SDL2_ttf-${V}
PKGNAME = sdl2-ttf-${V}
CATEGORIES = devel graphics fonts
SHARED_LIBS += SDL2_ttf 0.0 # 10.2
HOMEPAGE = http://www.libsdl.org/projects/SDL_ttf/
# zlib
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += SDL2 freetype m pthread sndio usbhid z
MASTER_SITES = http://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>