From 91cb80d94325e8fcc4dd2bd428e58094b0f30891 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Mon, 29 Apr 2002 18:37:38 +0000 Subject: use USE_PYDISTUTILS --- print/py-reportlab/Makefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'print/py-reportlab/Makefile') diff --git a/print/py-reportlab/Makefile b/print/py-reportlab/Makefile index 695bf7ae19d7..a093274f3e23 100644 --- a/print/py-reportlab/Makefile +++ b/print/py-reportlab/Makefile @@ -15,10 +15,10 @@ EXTRACT_SUFX= .tgz MAINTAINER= perky@fallin.lv -BUILD_DEPENDS= ${PYDISTUTILS} RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_imaging.so:${PORTSDIR}/graphics/py-imaging USE_PYTHON= yes +USE_PYDISTUTILS= yes WRKSRC= ${WRKDIR}/reportlab CONFIGURE_ENV= PYTHON=${PYTHON_CMD} ALL_TARGET= sharedmods @@ -31,14 +31,7 @@ EXAMPLEDIR= ${PREFIX}/share/examples/reportlab post-patch: ${MV} ${WRKSRC}/lib/setup.py ${WRKDIR} -do-build: - @(cd ${WRKDIR}; \ - ${PYTHON_CMD} setup.py build) - -do-install: - @(cd ${WRKDIR}; \ - ${PYTHON_CMD} setup.py install -c -O1 --prefix="${PREFIX}") - +post-install: ${MKDIR} ${REPORTLABDIR}/fonts .for fontfile in LeERC___.AFM LeERC___.PFB (cd ${WRKDIR}/reportlab/fonts; \ -- cgit v1.2.3