From be17dde214a20fb2d26b647f8bab4fd7ff23e6d2 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Mon, 29 Apr 2002 14:01:09 +0000 Subject: use USE_PYDISTUTILS --- devel/idlefork/Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'devel/idlefork') diff --git a/devel/idlefork/Makefile b/devel/idlefork/Makefile index 7d7e609e3bb3..44de2f60cecf 100644 --- a/devel/idlefork/Makefile +++ b/devel/idlefork/Makefile @@ -16,17 +16,14 @@ MAINTAINER= sobomax@FreeBSD.org RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter USE_PYTHON= yes +USE_PYDISTUTILS= yes -SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py - -do-build: - ${SETUP_CMD} build - -do-install: - @printf "#!/bin/sh\nexec ${PYTHON_CMD} ${PREFIX}/lib/${PYTHON_VERSION}/site-packages/idlelib/idle.pyc\n" \ +pre-install: + @printf "#!/bin/sh\nexec ${PYTHON_CMD} ${PYTHON_SITELIBDIR}/idlelib/idle.pyc\n" \ > ${WRKSRC}/idle - ${SETUP_CMD} install -c -O1 --prefix=${PREFIX} + .if !defined(NOPORTDOCS) +post-install: @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/[^c]*.txt ${DOCSDIR} .endif -- cgit v1.2.3