summaryrefslogtreecommitdiff
path: root/devel/py-pyjq/Makefile
blob: 053f82db28342a723473f40ffa3ca49b66690120 (plain)
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

PORTNAME=	pyjq
PORTVERSION=	2.4.0
CATEGORIES=	devel python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	gmm@tutanota.com
COMMENT=	Python binding for jq

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libjq.so:textproc/jq \
		libonig.so:devel/oniguruma

USES=		localbase python:3.6+
USE_PYTHON=	autoplist distutils

post-patch:
	@${RM} -r ${WRKSRC}/dependencies

post-install:
	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_pyjq*.so

.include <bsd.port.mk>