summaryrefslogtreecommitdiff
path: root/x11/py-Pmw/buildlink3.mk
diff options
context:
space:
mode:
authorsnj <snj>2004-05-02 04:59:23 +0000
committersnj <snj>2004-05-02 04:59:23 +0000
commitb15f33ae007e10bd5c8a5e3053c166f01474c8eb (patch)
treeb757de06eb0d56c6dbdf4390a5c3d259e4842025 /x11/py-Pmw/buildlink3.mk
parent9c4c1f5001943f3692cad313655ca62e30453966 (diff)
downloadpkgsrc-b15f33ae007e10bd5c8a5e3053c166f01474c8eb.tar.gz
Convert to buildlink3.
Diffstat (limited to 'x11/py-Pmw/buildlink3.mk')
-rw-r--r--x11/py-Pmw/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/py-Pmw/buildlink3.mk b/x11/py-Pmw/buildlink3.mk
new file mode 100644
index 00000000000..530b072bc8d
--- /dev/null
+++ b/x11/py-Pmw/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/02 05:23:21 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_PMW_BUILDLINK3_MK:= ${PY_PMW_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= pypmw
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npypmw}
+BUILDLINK_PACKAGES+= pypmw
+
+.if !empty(PY_PMW_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.pypmw+= ${PYPKGPREFIX}-Pmw-[0-9]*
+BUILDLINK_PKGSRCDIR.pypmw?= ../../x11/py-Pmw
+.endif # PY_PMW_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}