summaryrefslogtreecommitdiff
path: root/audio/libvorbis
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-17 15:46:27 +0000
committerjlam <jlam@pkgsrc.org>2004-01-17 15:46:27 +0000
commit8f3436a1ce64ec9da06328131ed0dc168bd0a9f6 (patch)
tree12a85ce26471772c077e26d92d3477bcc814db8d /audio/libvorbis
parentdb9a53593c954256d5e4d67cf05fdc201ca699a2 (diff)
downloadpkgsrc-8f3436a1ce64ec9da06328131ed0dc168bd0a9f6.tar.gz
Add a buildlink3.mk file for audio/libvorbis.
Diffstat (limited to 'audio/libvorbis')
-rw-r--r--audio/libvorbis/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/audio/libvorbis/buildlink3.mk b/audio/libvorbis/buildlink3.mk
new file mode 100644
index 00000000000..18aeccbb062
--- /dev/null
+++ b/audio/libvorbis/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/17 15:46:27 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBVORBIS_BUILDLINK3_MK:= ${LIBVORBIS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libvorbis
+.endif
+
+.if !empty(LIBVORBIS_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= libvorbis
+BUILDLINK_DEPENDS.libvorbis?= libvorbis>=1.0.1
+BUILDLINK_PKGSRCDIR.libvorbis?= ../../audio/libvorbis
+
+. include "../../audio/libogg/buildlink3.mk"
+.endif # LIBVORBIS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}