summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjoerg <joerg>2009-03-20 17:30:09 +0000
committerjoerg <joerg>2009-03-20 17:30:09 +0000
commit572cec3939d3a28810a3297ec5ad4a5d7abb3a7e (patch)
tree9f978b303280101c03b347d950a3af070d2c7dd8 /graphics
parentb72ba506becb821112fb1c433c63459af9b0dd84 (diff)
downloadpkgsrc-572cec3939d3a28810a3297ec5ad4a5d7abb3a7e.tar.gz
Include pyversion.mk include the protected part of the buildlink3.mk
files, not over and over again.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-cairo/buildlink3.mk3
-rw-r--r--graphics/py-imaging/buildlink3.mk6
-rw-r--r--graphics/py-matplotlib/buildlink3.mk6
3 files changed, 8 insertions, 7 deletions
diff --git a/graphics/py-cairo/buildlink3.mk b/graphics/py-cairo/buildlink3.mk
index 741000befc1..880f800af13 100644
--- a/graphics/py-cairo/buildlink3.mk
+++ b/graphics/py-cairo/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:53 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2009/03/20 17:30:11 joerg Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_CAIRO_BUILDLINK3_MK:= ${PY_CAIRO_BUILDLINK3_MK}+
@@ -13,6 +13,7 @@ BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pycairo
.if !empty(PY_CAIRO_BUILDLINK3_MK:M+)
. include "../../lang/python/pyversion.mk"
+
BUILDLINK_API_DEPENDS.pycairo+= ${PYPKGPREFIX}-cairo>=1.0.2
BUILDLINK_ABI_DEPENDS.pycairo+= ${PYPKGPREFIX}-cairo>=1.0.2nb1
BUILDLINK_PKGSRCDIR.pycairo?= ../../graphics/py-cairo
diff --git a/graphics/py-imaging/buildlink3.mk b/graphics/py-imaging/buildlink3.mk
index 8d3d158a310..b75bdf77033 100644
--- a/graphics/py-imaging/buildlink3.mk
+++ b/graphics/py-imaging/buildlink3.mk
@@ -1,10 +1,8 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:53 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2009/03/20 17:30:11 joerg Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_IMAGING_BUILDLINK3_MK:= ${PY_IMAGING_BUILDLINK3_MK}+
-.include "../../lang/python/pyversion.mk"
-
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= pyimaging
.endif
@@ -14,6 +12,8 @@ BUILDLINK_PACKAGES+= pyimaging
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pyimaging
.if !empty(PY_IMAGING_BUILDLINK3_MK:M+)
+.include "../../lang/python/pyversion.mk"
+
BUILDLINK_API_DEPENDS.pyimaging+= ${PYPKGPREFIX}-imaging>=1.1.4
BUILDLINK_ABI_DEPENDS.pyimaging?= ${PYPKGPREFIX}-imaging>=1.1.5nb1
BUILDLINK_PKGSRCDIR.pyimaging?= ../../graphics/py-imaging
diff --git a/graphics/py-matplotlib/buildlink3.mk b/graphics/py-matplotlib/buildlink3.mk
index 2c68b6d449d..eaae70abc68 100644
--- a/graphics/py-matplotlib/buildlink3.mk
+++ b/graphics/py-matplotlib/buildlink3.mk
@@ -1,10 +1,8 @@
-# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:10:53 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2009/03/20 17:30:11 joerg Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_MATPLOTLIB_BUILDLINK3_MK:= ${PY_MATPLOTLIB_BUILDLINK3_MK}+
-.include "../../lang/python/pyversion.mk"
-
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= pymatplotlib
.endif
@@ -14,6 +12,8 @@ BUILDLINK_PACKAGES+= pymatplotlib
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pymatplotlib
.if !empty(PY_MATPLOTLIB_BUILDLINK3_MK:M+)
+.include "../../lang/python/pyversion.mk"
+
BUILDLINK_API_DEPENDS.pymatplotlib+= ${PYPKGPREFIX}-matplotlib>=0.87.2
BUILDLINK_PKGSRCDIR.pymatplotlib?= ../../graphics/py-matplotlib
.endif # PY_MATPLOTLIB_BUILDLINK3_MK