aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-thrift/Makefile
blob: 626c05b3a00445210791922c79d23433c60568cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PORTNAME=	thrift
PORTVERSION=	${THRIFT_PORTVERSION} # to keep in sync with thrift
PORTEPOCH=	1
CATEGORIES=	devel python
MASTER_SITES=	APACHE/thrift/${PORTVERSION}
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Python interface to Thrift
WWW=		https://thrift.apache.org/

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/../../LICENSE

DISTINFO_FILE=	${PORTSDIR}/devel/thrift/distinfo

USES=		cpe python
CPE_VENDOR=	apache
USE_PYTHON=	distutils autoplist

WRKSRC=		${WRKDIR}/${DISTNAME}/lib/py

post-patch:
	@${REINPLACE_CMD} -e 's|setuptools|do_not_use_&|' ${WRKSRC}/${PYSETUP}

.include "../thrift/bsd.thrift.mk"
.include <bsd.port.mk>