mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
e74143d90c
- Add GitHub repository to WWW
31 lines
687 B
Makefile
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>
|