summaryrefslogtreecommitdiff
path: root/devel/SDL_gfx/buildlink2.mk
blob: 2c1c46eec7169d879b09908535f9546df45226bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: buildlink2.mk,v 1.4 2003/07/26 21:41:11 jmmv Exp $

.if !defined(SDL_GFX_BUILDLINK2_MK)
SDL_GFX_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		SDL_gfx
BUILDLINK_DEPENDS.SDL_gfx?=	SDL_gfx>=2.0.3nb2
BUILDLINK_PKGSRCDIR.SDL_gfx?=	../../devel/SDL_gfx

EVAL_PREFIX+=			BUILDLINK_PREFIX.SDL_gfx=SDL_gfx

BUILDLINK_PREFIX.SDL_gfx_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.SDL_gfx=	include/SDL_framerate.h
BUILDLINK_FILES.SDL_gfx+=	include/SDL_gfxPrimitives.h
BUILDLINK_FILES.SDL_gfx+=	include/SDL_gfxPrimitives_font.h
BUILDLINK_FILES.SDL_gfx+=	include/SDL_imageFilter.h
BUILDLINK_FILES.SDL_gfx+=	include/SDL_rotozoom.h
BUILDLINK_FILES.SDL_gfx+=	lib/libSDL_gfx.*

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

BUILDLINK_TARGETS+=	SDL_gfx-buildlink

SDL_gfx-buildlink: _BUILDLINK_USE

.endif	# SDL_GFX_BUILDLINK2_MK