summaryrefslogtreecommitdiff
path: root/audio/SDL_mixer/buildlink2.mk
blob: 6b210d202a25391206790379540f56dd5d43ed00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: buildlink2.mk,v 1.2 2003/05/02 11:53:36 wiz Exp $

.if !defined(SDL_MIXER_BUILDLINK2_MK)
SDL_MIXER_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		SDL_mixer
BUILDLINK_DEPENDS.SDL_mixer?=	SDL_mixer>=1.2.4nb2
BUILDLINK_PKGSRCDIR.SDL_mixer?=	../../audio/SDL_mixer

EVAL_PREFIX+=				BUILDLINK_PREFIX.SDL_mixer=SDL_mixer
BUILDLINK_PREFIX.SDL_mixer_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.SDL_mixer=		include/SDL_mixer/*
BUILDLINK_FILES.SDL_mixer+=		lib/libSDL_mixer-*
BUILDLINK_FILES.SDL_mixer+=		lib/libSDL_mixer.*

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

BUILDLINK_TARGETS+=	SDL_mixer-buildlink

SDL_mixer-buildlink: _BUILDLINK_USE

.endif	# SDL_MIXER_BUILDLINK2_MK