aboutsummaryrefslogtreecommitdiff
path: root/devel/py-twisted
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 14:01:09 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 14:01:09 +0000
commitbe17dde214a20fb2d26b647f8bab4fd7ff23e6d2 (patch)
treeab39a4fa0ed643112fc792caf6e8f8fabb1cd0f6 /devel/py-twisted
parent3815d264a3056765cd78458ac559b83202d37f02 (diff)
downloadports-be17dde214a20fb2d26b647f8bab4fd7ff23e6d2.tar.gz
ports-be17dde214a20fb2d26b647f8bab4fd7ff23e6d2.zip
Notes
Diffstat (limited to 'devel/py-twisted')
-rw-r--r--devel/py-twisted/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/devel/py-twisted/Makefile b/devel/py-twisted/Makefile
index 46a5d8eecb76..27ef64b31dc0 100644
--- a/devel/py-twisted/Makefile
+++ b/devel/py-twisted/Makefile
@@ -15,13 +15,12 @@ DISTNAME= Twisted-${PORTVERSION}
MAINTAINER= wjv@FreeBSD.org
-BUILD_DEPENDS= ${PYDISTUTILS}
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/unittest.py:${PORTSDIR}/devel/py-unit \
${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
USE_BZIP2= yes
USE_PYTHON= yes
-PYTHON_SETUP= ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
+USE_PYDISTUTILS= yes
CPIO= cpio --quiet -pdum -R
MAN1= coil.1 im.1 manhole.1 mktap.1 t-im.1 twistd.1
@@ -29,20 +28,13 @@ post-patch:
@ ${PERL} -pi -e 's/from pyunit import/import/g' \
${WRKSRC}/admin/runtests ${WRKSRC}/twisted/test/*.py
-do-build:
- @ cd ${WRKSRC} && ${PYTHON_SETUP} build
-
-do-install:
- @ cd ${WRKSRC} && ${PYTHON_SETUP} install -c -O1 \
- --prefix=${PREFIX}
+post-install:
@ ${MKDIR} ${DATADIR}/admin
@ ${INSTALL_SCRIPT} ${WRKSRC}/admin/accepttests \
${WRKSRC}/admin/runtests ${DATADIR}/admin
.for manpage in ${MAN1}
@ ${INSTALL_MAN} ${WRKSRC}/doc/man/${manpage} ${MANPREFIX}/man/man1
.endfor
-
-post-install:
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${DOCSDIR}/api
@ cd ${WRKSRC}/doc/api && find * \