summaryrefslogtreecommitdiff
path: root/multimedia/libogg/buildlink3.mk
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2004-04-12 23:02:59 +0000
committersalo <salo@pkgsrc.org>2004-04-12 23:02:59 +0000
commit0d382d10b023b5a4fc796af392a3f6f74583c843 (patch)
tree66c56b83d4ff703eda7e66011390de9057cbae8c /multimedia/libogg/buildlink3.mk
parentc8379bcb2ff71c35adc57420ad8835aaa8e6f1a4 (diff)
downloadpkgsrc-0d382d10b023b5a4fc796af392a3f6f74583c843.tar.gz
Reimport from audio/libogg.
Diffstat (limited to 'multimedia/libogg/buildlink3.mk')
-rw-r--r--multimedia/libogg/buildlink3.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/multimedia/libogg/buildlink3.mk b/multimedia/libogg/buildlink3.mk
new file mode 100644
index 00000000000..44242150774
--- /dev/null
+++ b/multimedia/libogg/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/04/12 23:03:03 salo Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBOGG_BUILDLINK3_MK:= ${LIBOGG_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libogg
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibogg}
+BUILDLINK_PACKAGES+= libogg
+
+.if !empty(LIBOGG_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libogg+= libogg>=1.1
+BUILDLINK_PKGSRCDIR.libogg?= ../../multimedia/libogg
+.endif # LIBOGG_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}