summaryrefslogtreecommitdiff
path: root/print/py-reportlab
diff options
context:
space:
mode:
authorsnj <snj>2004-05-05 03:54:59 +0000
committersnj <snj>2004-05-05 03:54:59 +0000
commit308629e12c9cb1dfff5fe2fd5f65df7c30fb9827 (patch)
tree12930090129c2ed3351a2778448d68eb35c1d54a /print/py-reportlab
parentb7571d071faafd9f5c7d05ad2c0592aba009c9ce (diff)
downloadpkgsrc-308629e12c9cb1dfff5fe2fd5f65df7c30fb9827.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/+$//}