1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/databases/py-leveldb/Makefile
Sunpoet Po-Chuan Hsieh fe33fa7e2f Update to 0.201
- Add LICENSE_FILE

Changes:	https://github.com/rjpower/py-leveldb/releases
2019-12-30 16:57:49 +00:00

31 lines
717 B
Makefile

# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= leveldb
PORTVERSION= 0.201
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Thread-safe Python binding for LevelDB
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libleveldb.so:databases/leveldb
PORTSCOUT= skipv:0.194
USES= compiler:c11 localbase python
USE_PYTHON= autoplist concurrent distutils
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>