summaryrefslogtreecommitdiff
path: root/audio/pulseaudio/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'audio/pulseaudio/buildlink3.mk')
-rw-r--r--audio/pulseaudio/buildlink3.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/pulseaudio/buildlink3.mk b/audio/pulseaudio/buildlink3.mk
new file mode 100644
index 00000000000..f7a27158b9a
--- /dev/null
+++ b/audio/pulseaudio/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2008/12/18 15:03:22 jmcneill Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PULSEAUDIO_BUILDLINK3_MK:= ${PULSEAUDIO_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= pulseaudio
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npulseaudio}
+BUILDLINK_PACKAGES+= pulseaudio
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pulseaudio
+
+.if ${PULSEAUDIO_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.pulseaudio+= pulseaudio>=0.9.13
+BUILDLINK_PKGSRCDIR.pulseaudio?= ../../audio/pulseaudio
+.endif # PULSEAUDIO_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}