summaryrefslogtreecommitdiff
path: root/print/py-reportlab-renderPM
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-05-05 03:54:59 +0000
committersnj <snj@pkgsrc.org>2004-05-05 03:54:59 +0000
commit7fbcd781bf7c9aaa52825eb4c3296a2f03704fab (patch)
tree12930090129c2ed3351a2778448d68eb35c1d54a /print/py-reportlab-renderPM
parent961db477a74b63692d75b77f0d8bd88bc617455f (diff)
downloadpkgsrc-7fbcd781bf7c9aaa52825eb4c3296a2f03704fab.tar.gz
Convert to buildlink3.
Diffstat (limited to 'print/py-reportlab-renderPM')
-rw-r--r--print/py-reportlab-renderPM/Makefile6
-rw-r--r--print/py-reportlab-renderPM/buildlink3.mk20
2 files changed, 23 insertions, 3 deletions
diff --git a/print/py-reportlab-renderPM/Makefile b/print/py-reportlab-renderPM/Makefile
index bbda490b0d1..65afa134a2e 100644
--- a/print/py-reportlab-renderPM/Makefile
+++ b/print/py-reportlab-renderPM/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/01/20 12:24:29 agc Exp $
+# $NetBSD: Makefile,v 1.5 2004/05/05 04:03:19 snj Exp $
#
DISTNAME= renderPM-0-9
@@ -14,8 +14,8 @@ COMMENT= Pixmap rendering for reportlab
WRKSRC= ${WRKDIR}
PYBINMODULE= yes
PYDISTUTILSPKG= yes
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
.include "../../lang/python/extension.mk"
-.include "../../graphics/py-imaging/buildlink2.mk"
+.include "../../graphics/py-imaging/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/py-reportlab-renderPM/buildlink3.mk b/print/py-reportlab-renderPM/buildlink3.mk
new file mode 100644
index 00000000000..5960e0b5d50
--- /dev/null
+++ b/print/py-reportlab-renderPM/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/05 04:03:19 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PYRLRENDERPM_BUILDLINK3_MK:= ${PYRLRENDERPM_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= pyrlrenderpm
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npyrlrenderpm}
+BUILDLINK_PACKAGES+= pyrlrenderpm
+
+.if !empty(PYRLRENDERPM_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.pyrlrenderpm+= ${PYPKGPREFIX}-reportlab-renderPM-[0-9]*
+BUILDLINK_PKGSRCDIR.pyrlrenderpm?= ../../print/py-reportlab-renderPM
+.endif # PYRLRENDERPM_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}