pkgsrc/graphics/SDL_image/buildlink3.mk

23 lines
709 B
Makefile
Raw Normal View History

# $NetBSD: buildlink3.mk,v 1.5 2004/02/10 20:45:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SDL_IMAGE_BUILDLINK3_MK:= ${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_DEPENDS.SDL_image+= SDL_image>=1.2.3nb1
BUILDLINK_PKGSRCDIR.SDL_image?= ../../graphics/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:S/+$//}