diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-29 14:01:09 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-29 14:01:09 +0000 |
commit | be17dde214a20fb2d26b647f8bab4fd7ff23e6d2 (patch) | |
tree | ab39a4fa0ed643112fc792caf6e8f8fabb1cd0f6 /devel/idlefork | |
parent | 3815d264a3056765cd78458ac559b83202d37f02 (diff) | |
download | ports-be17dde214a20fb2d26b647f8bab4fd7ff23e6d2.tar.gz ports-be17dde214a20fb2d26b647f8bab4fd7ff23e6d2.zip |
use USE_PYDISTUTILS
Notes
Notes:
svn path=/head/; revision=58314
Diffstat (limited to 'devel/idlefork')
-rw-r--r-- | devel/idlefork/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
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 |