summaryrefslogtreecommitdiff
path: root/x11/py-Tk
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-05-02 03:54:45 +0000
committersnj <snj@pkgsrc.org>2004-05-02 03:54:45 +0000
commit51d6d38b1a85a7ff032b3f9b7e1a41464450f3ef (patch)
tree82e89ca840347befe8b5245748b9c6bdcdaf3e35 /x11/py-Tk
parentcd1b05e67087788a873ed7b542ad48e773b902e0 (diff)
downloadpkgsrc-51d6d38b1a85a7ff032b3f9b7e1a41464450f3ef.tar.gz
Add a buildlink3.mk.
Diffstat (limited to 'x11/py-Tk')
-rw-r--r--x11/py-Tk/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/py-Tk/buildlink3.mk b/x11/py-Tk/buildlink3.mk
new file mode 100644
index 00000000000..ecb3bcac301
--- /dev/null
+++ b/x11/py-Tk/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/02 03:54:45 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PYTK_BUILDLINK3_MK:= ${PYTK_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= pytk
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npytk}
+BUILDLINK_PACKAGES+= pytk
+
+.if !empty(PYTK_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.pytk+= ${PYPKGPREFIX}-Tk-[0-9]*
+BUILDLINK_PKGSRCDIR.pytk?= ../../x11/py-Tk
+.endif # PYTK_BUILDLINK3_MK
+
+.include "../../x11/tk/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}