1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/devel/py-thrift/Makefile
Pav Lucistnik e6a220e5c0 - Unbreak by updating to 0.6.1
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-08-28 21:05:03 +00:00

34 lines
719 B
Makefile

# New ports collection makefile for: thrift
# Date created: 30 Nov 2007
# Whom: Jon M. Dugan <jdugan@x1024.net>
#
# $FreeBSD$
#
PORTNAME= thrift
PORTVERSION= 0.6.1
PORTEPOCH= 1
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTFILES=
MAINTAINER= jdugan@x1024.net
COMMENT= Python interface to Thrift
EXTRACT_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/thrift:extract
USE_PYTHON= yes
USE_PYDISTUTILS= yes
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>