diff options
author | Bruce M Simpson <bms@FreeBSD.org> | 2009-07-04 21:32:30 +0000 |
---|---|---|
committer | Bruce M Simpson <bms@FreeBSD.org> | 2009-07-04 21:32:30 +0000 |
commit | f32fa7e44285818e318c148876cd55a67add08ff (patch) | |
tree | cd9042c2b3b2b6dd09da59373ecef35d9f1fd1af /devel/py-thrift/Makefile | |
parent | d558b3f08baa74cae87dd557d9688e8e6e10e045 (diff) | |
download | ports-f32fa7e44285818e318c148876cd55a67add08ff.tar.gz ports-f32fa7e44285818e318c148876cd55a67add08ff.zip |
Notes
Diffstat (limited to 'devel/py-thrift/Makefile')
-rw-r--r-- | devel/py-thrift/Makefile | 10 |
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> |