blob: dfa636c80e09ea60a9a5310f69bf17904ec72f06 (
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
28
29
30
31
32
33
|
# Created by: Denis Generalov <gd@rambler-co.ru>
# $FreeBSD$
PORTNAME= hiredis
PORTVERSION= 0.1.1
PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= gd@rambler-co.ru
COMMENT= Python extension that wraps hiredis
LICENSE= BSD
LIB_DEPENDS= hiredis:${PORTSDIR}/databases/hiredis
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PLIST_FILES= %%PYTHON_SITELIBDIR%%/hiredis/__init__.py \
%%PYTHON_SITELIBDIR%%/hiredis/__init__.pyc \
%%PYTHON_SITELIBDIR%%/hiredis/__init__.pyo \
%%PYTHON_SITELIBDIR%%/hiredis/hiredis.so \
%%PYTHON_SITELIBDIR%%/hiredis/version.py \
%%PYTHON_SITELIBDIR%%/hiredis/version.pyc \
%%PYTHON_SITELIBDIR%%/hiredis/version.pyo
PLIST_DIRS= %%PYTHON_SITELIBDIR%%/hiredis
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/${PYSETUP}
.include <bsd.port.mk>
|