summaryrefslogtreecommitdiff
path: root/print/py-cups/buildlink3.mk
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2009-01-10 20:13:29 +0000
committermarkd <markd@pkgsrc.org>2009-01-10 20:13:29 +0000
commit40cd9cc28253d319c78ac5a93c938537c4aac9e5 (patch)
tree90adb4ab149cbb58b99cb6aa921cd9b8c7b60d85 /print/py-cups/buildlink3.mk
parent1f38df73e705853f3ccfd8142a6c41a15ce65f11 (diff)
downloadpkgsrc-40cd9cc28253d319c78ac5a93c938537c4aac9e5.tar.gz
Reimport py-pycups as py-cups.
Diffstat (limited to 'print/py-cups/buildlink3.mk')
-rw-r--r--print/py-cups/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/print/py-cups/buildlink3.mk b/print/py-cups/buildlink3.mk
new file mode 100644
index 00000000000..b3808e3a2f5
--- /dev/null
+++ b/print/py-cups/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/01/10 20:13:29 markd Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_CUPS_BUILDLINK3_MK:= ${PY_CUPS_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= py-cups
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-cups}
+BUILDLINK_PACKAGES+= py-cups
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-cups
+
+.if ${PY_CUPS_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.py-cups+= ${PYPKGPREFIX}-cups>=1.9.44
+BUILDLINK_PKGSRCDIR.py-cups?= ../../print/py-cups
+.endif # PY_CUPS_BUILDLINK3_MK
+
+#.include "../../print/cups/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}