1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/databases/py-hiredis/Makefile
Ruslan Makhmatkhanov ef303ed857 - make it build against system hiredis, instead of bundled one
- bump PORTREVISION because of dependency change

while here:
- trim Makefile header
- tab -> space change in pkg-descr:WWW

PR:		172090
Submitted by:	Kubilay Kocak <koobs.freebsd at gmail dot com>
Approved by:	Denis Generalov <gd at rambler-co dot ru> (maintainer)
2012-09-29 19:53:11 +00:00

34 lines
872 B
Makefile

# 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>