summaryrefslogtreecommitdiff
path: root/graphics/SDL_image/buildlink3.mk
blob: fbb3c3b54d8f1592db4f9c928e29be19a852bbf6 (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
# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
SDL_IMAGE_BUILDLINK3_MK:=	${SDL_IMAGE_BUILDLINK3_MK}+

.if !empty(SDL_IMAGE_BUILDLINK3_MK:M\+)
BUILDLINK_DEPENDS.SDL_image?=	SDL_image>=1.2.2nb2
BUILDLINK_PKGSRCDIR.SDL_image?=	../../graphics/SDL_image
.endif	# SDL_IMAGE_BUILDLINK3_MK

.if !empty(BUILDLINK_DEPTH:M\+)
BUILDLINK_DEPENDS+=	SDL_image
.endif

.if !empty(SDL_IMAGE_BUILDLINK3_MK:M\+)
BUILDLINK_PACKAGES+=		SDL_image
BUILDLINK_INCDIRS.SDL_image?=	include/SDL

.  include "../../graphics/jpeg/buildlink3.mk"
.  include "../../graphics/png/buildlink3.mk"
.  include "../../graphics/tiff/buildlink3.mk"
.  include "../../devel/SDL/buildlink3.mk"
.endif	# SDL_IMAGE_BUILDLINK3_MK

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH:C/\+$//}