summaryrefslogtreecommitdiff
path: root/devel/SDL_ttf/buildlink2.mk
blob: 1e641c5e3d75991dee87c2ba9e59731196fce8d4 (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.6 2003/07/26 21:41:12 jmmv Exp $

.if !defined(SDL_TTF_BUILDLINK2_MK)
SDL_TTF_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		SDL_ttf
BUILDLINK_DEPENDS.SDL_ttf?=	SDL_ttf>=2.0.3nb3
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