1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/databases/py-leveldb/Makefile
Sunpoet Po-Chuan Hsieh e74143d90c Use setup.py instead of PYSETUP
- Add GitHub repository to WWW
2017-12-16 20:55:10 +00:00

31 lines
687 B
Makefile

# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= leveldb
PORTVERSION= 0.20
PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Thread-safe Python binding for LevelDB
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libleveldb.so:databases/leveldb
PORTSCOUT= skipv:0.194
USE_PYTHON= autoplist concurrent distutils
USES= localbase python
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/setup.py
@${RM} -r ${WRKSRC}/leveldb/ ${WRKSRC}/snappy/
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/leveldb.so
.include <bsd.port.mk>