Files
ports/databases/py-hiredis/Makefile
T
Antoine Brodin aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00

24 lines
502 B
Makefile

# Created by: Denis Generalov <gd@rambler-co.ru>
# $FreeBSD$
PORTNAME= hiredis
PORTVERSION= 0.2.0
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= gd.workbox@gmail.com
COMMENT= Python extension that wraps hiredis
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libhiredis.so:databases/hiredis
USES= python:3.6+
USE_PYTHON= distutils autoplist
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/${PYSETUP}
.include <bsd.port.mk>