aboutsummaryrefslogtreecommitdiffstats
path: root/print/py-reportlab
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-30 02:37:38 +0800
committerijliao <ijliao@FreeBSD.org>2002-04-30 02:37:38 +0800
commit0070b55b94bc9275fcfe0f076ef9627329c33849 (patch)
tree52777c4ec6298053248e53c8426ce08f742734ab /print/py-reportlab
parent800d720f882ceb06aa66e91d393bbab507490821 (diff)
downloadfreebsd-ports-gnome-0070b55b94bc9275fcfe0f076ef9627329c33849.tar.gz
freebsd-ports-gnome-0070b55b94bc9275fcfe0f076ef9627329c33849.tar.zst
freebsd-ports-gnome-0070b55b94bc9275fcfe0f076ef9627329c33849.zip
use USE_PYDISTUTILS
Diffstat (limited to 'print/py-reportlab')
-rw-r--r--print/py-reportlab/Makefile11
1 files changed, 2 insertions, 9 deletions
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; \