mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
2280033577
- Update to 0.8.0 to keep in sync with main thrift port [1] - added bsd.thrift.mk file to make sync easier [2] - add python egg in makefile and pkg-plist [2] - pet portlint [1], [2] PR: ports/163678 Submitted by: Valery Komarov <komarov@valerka.net> [1] Reviewed by: scheidell [2] Approved by: komarov@valerka.net (maintainer), gabor (mentor)
36 lines
860 B
Makefile
36 lines
860 B
Makefile
# New ports collection makefile for: thrift
|
|
# Date created: 30 Nov 2007
|
|
# Whom: Jon M. Dugan <jdugan@x1024.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= thrift
|
|
PORTVERSION= ${THRIFT_PORTVERSION} # to keep in sync with thrift
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTFILES=
|
|
|
|
MAINTAINER= komarov@valerka.net
|
|
COMMENT= Python interface to Thrift
|
|
|
|
EXTRACT_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/thrift:extract
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
|
|
PLIST_SUB+= PYDISTUTILS_EGGINFO=${PYDISTUTILS_EGGINFO}
|
|
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 "../thrift/bsd.thrift.mk"
|
|
.include <bsd.port.mk>
|