aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-hiredis/Makefile
blob: cbf5884f378dc2428f75cca22687c9e79c55a4ce (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
# Created by: Denis Generalov <gd@rambler-co.ru>
# $FreeBSD$

PORTNAME=   hiredis
PORTVERSION=    0.1.2
CATEGORIES= databases python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= gd.workbox@gmail.com
COMMENT=    Python extension that wraps hiredis

LICENSE=    BSD

LIB_DEPENDS=    libhiredis.so:${PORTSDIR}/databases/hiredis

USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST=yes

post-patch:
    @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/${PYSETUP}

.include <bsd.port.mk>