diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-10-19 20:19:59 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-10-19 20:19:59 +0000 |
commit | b87918c4c09f75b54994be1c0fae082198ca4170 (patch) | |
tree | a4e44f2a08b63b5fe5ebab1e097a73d6f266d2b9 /databases | |
parent | 892f0e0fa4b28cac2a33927e26b4102550140d66 (diff) | |
download | ports-b87918c4c09f75b54994be1c0fae082198ca4170.tar.gz ports-b87918c4c09f75b54994be1c0fae082198ca4170.zip |
- Add LICENSE_FILE
- Use USES=localbase
Notes
Notes:
svn path=/head/; revision=399750
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-leveldb/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/databases/py-leveldb/Makefile b/databases/py-leveldb/Makefile index 30a6f2741725..fc237e8d7baf 100644 --- a/databases/py-leveldb/Makefile +++ b/databases/py-leveldb/Makefile @@ -13,17 +13,12 @@ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Thread-safe Python binding for LevelDB LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libleveldb.so:${PORTSDIR}/databases/leveldb USE_PYTHON= autoplist concurrent distutils -USES= python tar:xz - -post-patch: - @${REINPLACE_CMD} \ - -e "s|^\(extra_compile_args = \).*$$|\1\['-I${LOCALBASE}/include'\]|" \ - -e "s|^\(extra_link_args = \).*$$|\1\['-L${LOCALBASE}/lib', '-lleveldb'\]|" \ - ${WRKSRC}/setup.py +USES= localbase python tar:xz post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/leveldb.so |