summaryrefslogtreecommitdiff
path: root/audio/SDL_mixer/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'audio/SDL_mixer/buildlink3.mk')
-rw-r--r--audio/SDL_mixer/buildlink3.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/audio/SDL_mixer/buildlink3.mk b/audio/SDL_mixer/buildlink3.mk
new file mode 100644
index 00000000000..c2d217ddede
--- /dev/null
+++ b/audio/SDL_mixer/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:43 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SDL_MIXER_BUILDLINK3_MK:= ${SDL_MIXER_BUILDLINK3_MK}+
+
+.if !empty(SDL_MIXER_BUILDLINK3_MK:M\+)
+BUILDLINK_DEPENDS.SDL_mixer?= SDL_mixer>=1.2.5nb1
+BUILDLINK_PKGSRCDIR.SDL_mixer?= ../../audio/SDL_mixer
+.endif # SDL_MIXER_BUILDLINK3_MK
+
+.if !empty(BUILDLINK_DEPTH:M\+)
+BUILDLINK_DEPENDS+= SDL_mixer
+.endif
+
+.if !empty(SDL_MIXER_BUILDLINK3_MK:M\+)
+BUILDLINK_PACKAGES+= SDL_mixer
+BUILDLINK_INCDIRS.SDL_mixer?= include/SDL
+
+. include "../../devel/SDL/buildlink3.mk"
+.endif # SDL_MIXER_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//}