summaryrefslogtreecommitdiff
path: root/graphics/freeglut/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/freeglut/buildlink3.mk')
-rw-r--r--graphics/freeglut/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/graphics/freeglut/buildlink3.mk b/graphics/freeglut/buildlink3.mk
new file mode 100644
index 00000000000..90ff5ae50b9
--- /dev/null
+++ b/graphics/freeglut/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/04/19 18:36:02 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+FREEGLUT_BUILDLINK3_MK:= ${FREEGLUT_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= freeglut
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfreeglut}
+BUILDLINK_PACKAGES+= freeglut
+
+.if !empty(FREEGLUT_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.freeglut+= freeglut>=2.2.0
+BUILDLINK_PKGSRCDIR.freeglut?= ../../graphics/freeglut
+.endif # FREEGLUT_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}