aboutsummaryrefslogtreecommitdiff
path: root/devel/py-thrift/Makefile
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2009-07-04 21:32:30 +0000
committerBruce M Simpson <bms@FreeBSD.org>2009-07-04 21:32:30 +0000
commitf32fa7e44285818e318c148876cd55a67add08ff (patch)
treecd9042c2b3b2b6dd09da59373ecef35d9f1fd1af /devel/py-thrift/Makefile
parentd558b3f08baa74cae87dd557d9688e8e6e10e045 (diff)
downloadports-f32fa7e44285818e318c148876cd55a67add08ff.tar.gz
ports-f32fa7e44285818e318c148876cd55a67add08ff.zip
Notes
Diffstat (limited to 'devel/py-thrift/Makefile')
-rw-r--r--devel/py-thrift/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/devel/py-thrift/Makefile b/devel/py-thrift/Makefile
index 5ad81a0699b3..c2e68e4981e6 100644
--- a/devel/py-thrift/Makefile
+++ b/devel/py-thrift/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= thrift
-PORTVERSION= 20070917
+PORTVERSION= 20090622
CATEGORIES= devel python
PKGNAMEPREFIX= py-
DISTFILES=
@@ -14,8 +14,6 @@ DISTFILES=
MAINTAINER= jdugan@x1024.net
COMMENT= Python interface to Thrift
-BROKEN= needs updating for Apache Incubator version
-
EXTRACT_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/thrift:extract
USE_PYTHON= yes
@@ -25,4 +23,10 @@ post-extract:
@${LN} -sfh \
`cd ${PORTSDIR}/devel/thrift && ${MAKE} -V WRKSRC`/lib/py ${WRKSRC}
+do-patch:
+ ${REINPLACE_CMD} "/name = '/s/Thrift/thrift/" \
+ ${WRKSRC}/setup.py
+ ${REINPLACE_CMD} "/version = '/s/0\.1/${PORTVERSION}/" \
+ ${WRKSRC}/setup.py
+
.include <bsd.port.mk>