aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2000-09-12 19:54:11 +0800
committertg <tg@FreeBSD.org>2000-09-12 19:54:11 +0800
commit0caafb3a6c9d91f7737addb392f2fbd749edffbb (patch)
tree3bd77773d5709e6b5c4dc4c2fc5531210285ce26 /print
parent54d1e69edb725b40cbb7f9314fcfeb1db0528d4f (diff)
downloadfreebsd-ports-gnome-0caafb3a6c9d91f7737addb392f2fbd749edffbb.tar.gz
freebsd-ports-gnome-0caafb3a6c9d91f7737addb392f2fbd749edffbb.tar.zst
freebsd-ports-gnome-0caafb3a6c9d91f7737addb392f2fbd749edffbb.zip
Use bsd.python.mk.
Diffstat (limited to 'print')
-rw-r--r--print/py-reportlab/Makefile14
-rw-r--r--print/py-reportlab/pkg-plist172
2 files changed, 90 insertions, 96 deletions
diff --git a/print/py-reportlab/Makefile b/print/py-reportlab/Makefile
index 9cbd07d8706a..ba73dc4967a3 100644
--- a/print/py-reportlab/Makefile
+++ b/print/py-reportlab/Makefile
@@ -15,15 +15,10 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
-BUILD_DEPENDS= python:${PORTSDIR}/lang/python
-RUN_DEPENDS= python:${PORTSDIR}/lang/python
-
+USE_PYTHON= yes
NO_BUILD= yes
-PLIST_SUB= PYVERSION=${PYVERSION}
-PYVERSION= python1.5
-PYTHONSCRIPTDIR= ${PREFIX}/lib/${PYVERSION}
-REPORTLABDIR= ${PYTHONSCRIPTDIR}/site-packages/reportlab
+REPORTLABDIR= ${PYTHON_SITELIBDIR}/reportlab
DOCDIR= ${PREFIX}/share/doc/reportlab
EXAMPLEDIR= ${PREFIX}/share/examples/reportlab
@@ -33,9 +28,8 @@ do-install:
@${MKDIR} ${REPORTLABDIR}/${dir}
${INSTALL_DATA} ${WRKSRC}/${dir}/*.py ${REPORTLABDIR}/${dir}
.endfor
- ${ECHO} 'reportlab' > ${PYTHONSCRIPTDIR}/reportlab.pth
- @${PREFIX}/bin/python ${PYTHONSCRIPTDIR}/compileall.py ${REPORTLABDIR}
- @${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${REPORTLABDIR}
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${REPORTLABDIR}
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${REPORTLABDIR}
@${MKDIR} ${EXAMPLEDIR}
cd ${WRKSRC}/demos; tar cpf - * | (cd ${EXAMPLEDIR}; tar xpf -)
diff --git a/print/py-reportlab/pkg-plist b/print/py-reportlab/pkg-plist
index 804d14477cfd..e9b8cb83fd7d 100644
--- a/print/py-reportlab/pkg-plist
+++ b/print/py-reportlab/pkg-plist
@@ -1,84 +1,84 @@
-lib/%%PYVERSION%%/site-packages/reportlab/__init__.py
-lib/%%PYVERSION%%/site-packages/reportlab/__init__.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/__init__.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/lib/__init__.py
-lib/%%PYVERSION%%/site-packages/reportlab/lib/__init__.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/lib/__init__.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/lib/colors.py
-lib/%%PYVERSION%%/site-packages/reportlab/lib/colors.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/lib/colors.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/lib/corp.py
-lib/%%PYVERSION%%/site-packages/reportlab/lib/corp.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/lib/corp.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/lib/enums.py
-lib/%%PYVERSION%%/site-packages/reportlab/lib/enums.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/lib/enums.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/lib/fonts.py
-lib/%%PYVERSION%%/site-packages/reportlab/lib/fonts.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/lib/fonts.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/lib/pagesizes.py
-lib/%%PYVERSION%%/site-packages/reportlab/lib/pagesizes.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/lib/pagesizes.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/lib/sequencer.py
-lib/%%PYVERSION%%/site-packages/reportlab/lib/sequencer.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/lib/sequencer.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/lib/styles.py
-lib/%%PYVERSION%%/site-packages/reportlab/lib/styles.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/lib/styles.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/lib/units.py
-lib/%%PYVERSION%%/site-packages/reportlab/lib/units.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/lib/units.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/lib/xmllib.py
-lib/%%PYVERSION%%/site-packages/reportlab/lib/xmllib.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/lib/xmllib.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/pdfbase/__init__.py
-lib/%%PYVERSION%%/site-packages/reportlab/pdfbase/__init__.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/pdfbase/__init__.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/pdfbase/pdfdoc.py
-lib/%%PYVERSION%%/site-packages/reportlab/pdfbase/pdfdoc.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/pdfbase/pdfdoc.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/pdfbase/pdfmetrics.py
-lib/%%PYVERSION%%/site-packages/reportlab/pdfbase/pdfmetrics.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/pdfbase/pdfmetrics.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/pdfbase/pdfutils.py
-lib/%%PYVERSION%%/site-packages/reportlab/pdfbase/pdfutils.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/pdfbase/pdfutils.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/pdfgen/__init__.py
-lib/%%PYVERSION%%/site-packages/reportlab/pdfgen/__init__.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/pdfgen/__init__.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/pdfgen/canvas.py
-lib/%%PYVERSION%%/site-packages/reportlab/pdfgen/canvas.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/pdfgen/canvas.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/pdfgen/pathobject.py
-lib/%%PYVERSION%%/site-packages/reportlab/pdfgen/pathobject.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/pdfgen/pathobject.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/pdfgen/pdfgeom.py
-lib/%%PYVERSION%%/site-packages/reportlab/pdfgen/pdfgeom.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/pdfgen/pdfgeom.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/pdfgen/textobject.py
-lib/%%PYVERSION%%/site-packages/reportlab/pdfgen/textobject.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/pdfgen/textobject.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/__init__.py
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/__init__.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/__init__.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/doctemplate.py
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/doctemplate.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/doctemplate.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/flowables.py
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/flowables.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/flowables.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/frames.py
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/frames.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/frames.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/paragraph.py
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/paragraph.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/paragraph.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/paraparser.py
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/paraparser.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/paraparser.pyo
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/tables.py
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/tables.pyc
-lib/%%PYVERSION%%/site-packages/reportlab/platypus/tables.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/__init__.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/__init__.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/colors.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/colors.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/colors.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/corp.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/corp.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/corp.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/enums.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/enums.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/enums.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/fonts.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/fonts.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/fonts.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/pagesizes.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/pagesizes.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/pagesizes.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/sequencer.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/sequencer.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/sequencer.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/styles.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/styles.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/styles.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/units.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/units.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/units.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/xmllib.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/xmllib.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/xmllib.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/__init__.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/pdfdoc.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/pdfdoc.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/pdfdoc.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/pdfmetrics.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/pdfmetrics.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/pdfmetrics.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/pdfutils.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/pdfutils.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/pdfutils.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/__init__.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/canvas.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/canvas.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/canvas.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/pathobject.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/pathobject.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/pathobject.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/pdfgeom.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/pdfgeom.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/pdfgeom.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/textobject.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/textobject.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/textobject.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/__init__.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/doctemplate.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/doctemplate.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/doctemplate.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/flowables.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/flowables.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/flowables.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/frames.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/frames.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/frames.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/paragraph.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/paragraph.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/paragraph.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/paraparser.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/paraparser.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/paraparser.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/tables.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/tables.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/tables.pyo
share/doc/reportlab/reference.pdf
share/doc/reportlab/userguide.pdf
share/examples/reportlab/colors/colortest.py
@@ -123,8 +123,8 @@ share/examples/reportlab/tests/testdemos.py
@dirrm share/examples/reportlab/colors
@dirrm share/examples/reportlab
@dirrm share/doc/reportlab
-@dirrm lib/%%PYVERSION%%/site-packages/reportlab/platypus
-@dirrm lib/%%PYVERSION%%/site-packages/reportlab/pdfgen
-@dirrm lib/%%PYVERSION%%/site-packages/reportlab/pdfbase
-@dirrm lib/%%PYVERSION%%/site-packages/reportlab/lib
-@dirrm lib/%%PYVERSION%%/site-packages/reportlab
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/reportlab