summaryrefslogtreecommitdiff
path: root/devel/SDL_ttf/buildlink2.mk
blob: 97a112f02bb70833a2cfaad6938e76203225c589 (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.5 2003/05/02 11:54:19 wiz Exp $

.if !defined(SDL_TTF_BUILDLINK2_MK)
SDL_TTF_BUILDLINK2_MK=	# defined

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