diff options
author | tg <tg@FreeBSD.org> | 2000-09-12 11:54:11 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2000-09-12 11:54:11 +0000 |
commit | 0caafb3a6c9d91f7737addb392f2fbd749edffbb (patch) | |
tree | 3bd77773d5709e6b5c4dc4c2fc5531210285ce26 /print/py-reportlab/Makefile | |
parent | 54d1e69edb725b40cbb7f9314fcfeb1db0528d4f (diff) | |
download | FreeBSD-ports-0caafb3a6c9d91f7737addb392f2fbd749edffbb.zip FreeBSD-ports-0caafb3a6c9d91f7737addb392f2fbd749edffbb.tar.gz |
Use bsd.python.mk.
Diffstat (limited to 'print/py-reportlab/Makefile')
-rw-r--r-- | print/py-reportlab/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/print/py-reportlab/Makefile b/print/py-reportlab/Makefile index 9cbd07d..ba73dc4 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 -) |