summaryrefslogtreecommitdiff
path: root/print/py-reportlab
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
parent961db477a74b63692d75b77f0d8bd88bc617455f (diff)
downloadpkgsrc-7fbcd781bf7c9aaa52825eb4c3296a2f03704fab.tar.gz
Convert to buildlink3.
Diffstat (limited to 'print/py-reportlab')
-rw-r--r--print/py-reportlab/Makefile6
-rw-r--r--print/py-reportlab/buildlink3.mk20
2 files changed, 23 insertions, 3 deletions
diff --git a/print/py-reportlab/Makefile b/print/py-reportlab/Makefile
index 6ffbd17d222..13e21e0345c 100644
--- a/print/py-reportlab/Makefile
+++ b/print/py-reportlab/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2004/01/23 16:48:54 recht Exp $
+# $NetBSD: Makefile,v 1.18 2004/05/05 04:03:19 snj Exp $
#
DISTNAME= ReportLab_1_18
@@ -15,12 +15,12 @@ COMMENT= Powerful PDF-generating toolkit for Python
WRKSRC= ${WRKDIR}/reportlab/lib
PYBINMODULE= yes
PYDISTUTILSPKG= yes
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
post-install:
cd ${WRKDIR} && ${PAX} -rw -pp reportlab ${PREFIX}/${PYSITELIB}
${RM} -rf ${PREFIX}/${PYSITELIB}/reportlab/lib/build
.include "../../lang/python/extension.mk"
-.include "../../textproc/py-xml/buildlink2.mk"
+.include "../../textproc/py-xml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/py-reportlab/buildlink3.mk b/print/py-reportlab/buildlink3.mk
new file mode 100644
index 00000000000..edd2d697d41
--- /dev/null
+++ b/print/py-reportlab/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/05 04:03:19 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PYREPORTLAB_BUILDLINK3_MK:= ${PYREPORTLAB_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= pyreportlab
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npyreportlab}
+BUILDLINK_PACKAGES+= pyreportlab
+
+.if !empty(PYREPORTLAB_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.pyreportlab+= ${PYPKGPREFIX}-reportlab-[0-9]*
+BUILDLINK_PKGSRCDIR.pyreportlab?= ../../print/py-reportlab
+.endif # PYREPORTLAB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}