summaryrefslogtreecommitdiff
path: root/devel/SDL_ttf/buildlink2.mk
blob: d8e020cb5e3fe254daf4dc5f05f527311c9e1f7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: buildlink2.mk,v 1.3 2002/08/28 02:50:03 jlam Exp $

.if !defined(SDL_TTF_BUILDLINK2_MK)
SDL_TTF_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		SDL_ttf
BUILDLINK_DEPENDS.SDL_ttf?=	SDL_ttf>=2.0.3
BUILDLINK_PKGSRCDIR.SDL_ttf?=	../../devel/SDL_ttf

EVAL_PREFIX+=			BUILDLINK_PREFIX.SDL_ttf=SDL_ttf
BUILDLINK_PREFIX.SDL_ttf_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.SDL_ttf=	include/SDL/SDL_ttf.h
BUILDLINK_FILES.SDL_ttf+=	lib/libSDL_ttf-*
BUILDLINK_FILES.SDL_ttf+=	lib/libSDL_ttf.*

.include "../../devel/SDL/buildlink2.mk"
.include "../../graphics/freetype2/buildlink2.mk"

BUILDLINK_TARGETS+=	SDL_ttf-buildlink

SDL_ttf-buildlink: _BUILDLINK_USE

.endif	# SDL_TTF_BUILDLINK2_MK