summaryrefslogtreecommitdiff
path: root/devel/py-pyjq/Makefile
blob: 3cebd1a3f676cae6e202d0b8c77c588ffc9399c1 (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
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>