aboutsummaryrefslogtreecommitdiff
path: root/devel/py-twisted
diff options
context:
space:
mode:
authorJohann Visagie <wjv@FreeBSD.org>2001-08-20 14:25:05 +0000
committerJohann Visagie <wjv@FreeBSD.org>2001-08-20 14:25:05 +0000
commitd21ae48a780cdf1b30a03a05d938f10f01d36080 (patch)
tree2813eb48962f00f68e069956030a146917575165 /devel/py-twisted
parent41400366381434a9371c8f17b428deafd6298302 (diff)
downloadports-d21ae48a780cdf1b30a03a05d938f10f01d36080.tar.gz
ports-d21ae48a780cdf1b30a03a05d938f10f01d36080.zip
Notes
Diffstat (limited to 'devel/py-twisted')
-rw-r--r--devel/py-twisted/Makefile15
-rw-r--r--devel/py-twisted/pkg-plist1
2 files changed, 11 insertions, 5 deletions
diff --git a/devel/py-twisted/Makefile b/devel/py-twisted/Makefile
index dfb97ebc5bec..66b51ccaff2b 100644
--- a/devel/py-twisted/Makefile
+++ b/devel/py-twisted/Makefile
@@ -7,6 +7,7 @@
PORTNAME= twisted
PORTVERSION= 0.10.0
+PORTREVISION= 1
CATEGORIES= devel net python
MASTER_SITES= http://twistedmatrix.com/downloads/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -20,11 +21,13 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/unittest.py:${PORTSDIR}/devel/py-unit
USE_PYTHON= yes
EXAMPLESDIR= ${PREFIX}/share/examples/twisted
-
+SCRIPTS= accepttests build-deb cpyrght faucet gnusto im malyon \
+ manhole mapeditor mktap runtests tap2deb twistd \
+ twistd-debug
MAN1= faucet.1 gnusto.1 im.1 manhole.1 mktap.1 tap2deb.1 twistd.1
post-patch:
- @ ${PERL} -pi.orig -e 's/from pyunit import/import/g' \
+ @ ${PERL} -pi -e 's/from pyunit import/import/g' \
${WRKSRC}/bin/runtests ${WRKSRC}/twisted/test/*.py
do-build:
@@ -33,8 +36,12 @@ do-build:
do-install:
@ cd ${WRKSRC} && ${PYTHON_CMD} setup.py install -c -O1 \
--prefix=${PREFIX}
- @ ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${PREFIX}/bin
- @ ${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${MANPREFIX}/man/man1
+.for script in ${SCRIPTS}
+ @ ${INSTALL_SCRIPT} ${WRKSRC}/bin/${script} ${PREFIX}/bin
+.endfor
+.for manpage in ${MAN1}
+ @ ${INSTALL_MAN} ${WRKSRC}/doc/man/${manpage} ${MANPREFIX}/man/man1
+.endfor
post-install:
.if !defined(NOPORTDOCS)
diff --git a/devel/py-twisted/pkg-plist b/devel/py-twisted/pkg-plist
index 9e203ac2fe12..3c27d5088832 100644
--- a/devel/py-twisted/pkg-plist
+++ b/devel/py-twisted/pkg-plist
@@ -21,7 +21,6 @@ bin/manhole
bin/mapeditor
bin/mktap
bin/runtests
-bin/runtests.orig
bin/tap2deb
bin/twistd
bin/twistd-debug