summaryrefslogtreecommitdiff
path: root/graphics/compface/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/compface/buildlink3.mk')
-rw-r--r--graphics/compface/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/compface/buildlink3.mk b/graphics/compface/buildlink3.mk
new file mode 100644
index 00000000000..8a80a1067c4
--- /dev/null
+++ b/graphics/compface/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/14 18:08:44 minskim Exp $
+#
+# This Makefile fragment is included by packages that use compface.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+COMPFACE_BUILDLINK3_MK:= ${COMPFACE_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= compface
+.endif
+
+.if !empty(COMPFACE_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= compface
+BUILDLINK_DEPENDS.compface+= compface>=1.4
+BUILDLINK_PKGSRCDIR.compface?= ../../graphics/compface
+
+.endif # COMPFACE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}