aboutsummaryrefslogtreecommitdiff
path: root/net/py-twistedPair/Makefile
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2009-01-31 09:53:10 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2009-01-31 09:53:10 +0000
commitaf9663a4de1819e2def1cadedfbc6cd38b8af20d (patch)
tree223c634e4c824ba31f818f775b8bf3aa21bda7c3 /net/py-twistedPair/Makefile
parent57a07b183c66284b5d21c92f70023267ac18ca4d (diff)
downloadports-af9663a4de1819e2def1cadedfbc6cd38b8af20d.tar.gz
ports-af9663a4de1819e2def1cadedfbc6cd38b8af20d.zip
Notes
Diffstat (limited to 'net/py-twistedPair/Makefile')
-rw-r--r--net/py-twistedPair/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/net/py-twistedPair/Makefile b/net/py-twistedPair/Makefile
index cf62a8e9a974..375fae5275f5 100644
--- a/net/py-twistedPair/Makefile
+++ b/net/py-twistedPair/Makefile
@@ -6,11 +6,9 @@
#
PORTNAME= twistedPair
-PORTVERSION= 0.1.0
-PORTREVISION= 2
+PORTVERSION= 8.0.0
CATEGORIES= net devel python
-MASTER_SITES= http://twistedmatrix.com/downloads/Pair/0.1/ \
- http://tmrc.mit.edu/mirror/twisted/Pair/0.1/
+MASTER_SITES= http://tmrc.mit.edu/mirror/twisted/Pair/${PORTVERSION:R}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= TwistedPair-${PORTVERSION}
@@ -23,15 +21,8 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
WRKSRC= ${WRKDIR}/TwistedPair-${PORTVERSION}
USE_BZIP2= yes
-USE_PYTHON= 2.2+
+USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= Twisted_Pair
-PLIST_SUB+= S=${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}
-
-post-extract:
- # temporal hack to work with Twisted 2.4
- ${ECHO_CMD} "from twisted.python import versions" > ${WRKSRC}/twisted/pair/_version.py
- ${ECHO_CMD} "version = versions.Version(__name__[:__name__.rfind('.')], 0, 1, 0)" >> ${WRKSRC}/twisted/pair/_version.py
-
.include <bsd.port.mk>