summaryrefslogtreecommitdiff
path: root/devel/cdk/buildlink3.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-04-26 05:09:29 +0000
committerjlam <jlam@pkgsrc.org>2004-04-26 05:09:29 +0000
commit2e35202baa0928ba419523579a6ff947bc4a91f8 (patch)
tree02e4a657fdcdd0533474163dbb90a30a60f5e435 /devel/cdk/buildlink3.mk
parentd61a61e1323d95a976d07051c086a5c5cfcf5e9e (diff)
downloadpkgsrc-2e35202baa0928ba419523579a6ff947bc4a91f8.tar.gz
Add buildlink3.mk and builtin.mk files for devel/cdk that match the
behaviour of cdk/buildlink2.mk.
Diffstat (limited to 'devel/cdk/buildlink3.mk')
-rw-r--r--devel/cdk/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/cdk/buildlink3.mk b/devel/cdk/buildlink3.mk
new file mode 100644
index 00000000000..11e924dab21
--- /dev/null
+++ b/devel/cdk/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/26 05:09:29 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+CDK_BUILDLINK3_MK:= ${CDK_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= cdk
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncdk}
+BUILDLINK_PACKAGES+= cdk
+
+.if !empty(CDK_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.cdk+= cdk>=4.9.9nb1
+BUILDLINK_PKGSRCDIR.cdk?= ../../devel/cdk
+.endif # CDK_BUILDLINK3_MK
+
+.include "../../devel/ncurses/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}