974d6e57e1
This is a sample library which allows you to use TrueType fonts in your SDL applications. It comes with an example program "showfont" which displays an example string for a given TrueType font file.
15 lines
406 B
Makefile
15 lines
406 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1 2013/06/13 11:29:08 othyro Exp $
|
|
|
|
BUILDLINK_TREE+= SDL2_ttf
|
|
|
|
.if !defined(SDL2_TTF_BUILDLINK3_MK)
|
|
SDL2_TTF_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.SDL2_ttf+= SDL2_ttf>=2.0.12
|
|
BUILDLINK_PKGSRCDIR.SDL2_ttf?= ../../wip/SDL2_ttf
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../wip/SDL2/buildlink3.mk"
|
|
.endif # SDL2_TTF_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -SDL2_ttf
|