summaryrefslogtreecommitdiff
path: root/graphics/SDL_image/buildlink2.mk
blob: 1c6ebef74482c9a1e12efc1827b672580a784df9 (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 2004/01/03 18:49:41 reed Exp $
#

.if !defined(SDL_IMAGE_BUILDLINK2_MK)
SDL_IMAGE_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=			SDL_image
BUILDLINK_DEPENDS.SDL_image?=		SDL_image>=1.2.3nb1
BUILDLINK_PKGSRCDIR.SDL_image?=		../../graphics/SDL_image

EVAL_PREFIX+=	BUILDLINK_PREFIX.SDL_image=SDL_image
BUILDLINK_PREFIX.SDL_image_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.SDL_image+=	include/SDL/SDL_image.h
BUILDLINK_FILES.SDL_image+=	lib/libSDL_image-1.2.*
BUILDLINK_FILES.SDL_image+=	lib/libSDL_image.*

.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"
.include "../../devel/SDL/buildlink2.mk"

BUILDLINK_TARGETS+=	SDL_image-buildlink

SDL_image-buildlink: _BUILDLINK_USE

.endif	# SDL_IMAGE_BUILDLINK2_MK