aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-leveldb
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-08-19 13:07:07 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-08-19 13:07:07 +0800
commit10ac140f04b26ad463ad0ea074a9f0d674c3032f (patch)
tree028dae59a7d1df0d6fb692ec2fda9c5c5110adab /databases/py-leveldb
parent7d7815771ba233bba41dd1ff3ea6883eae3ccabf (diff)
downloadfreebsd-ports-gnome-10ac140f04b26ad463ad0ea074a9f0d674c3032f.tar.gz
freebsd-ports-gnome-10ac140f04b26ad463ad0ea074a9f0d674c3032f.tar.zst
freebsd-ports-gnome-10ac140f04b26ad463ad0ea074a9f0d674c3032f.zip
- Strip shared library
- Bump PORTREVISION for package change
Diffstat (limited to 'databases/py-leveldb')
-rw-r--r--databases/py-leveldb/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/py-leveldb/Makefile b/databases/py-leveldb/Makefile
index 919c3c913b09..c0080a9d2c86 100644
--- a/databases/py-leveldb/Makefile
+++ b/databases/py-leveldb/Makefile
@@ -3,7 +3,7 @@
PORTNAME= leveldb
PORTVERSION= 0.1.20130428
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= databases python
MASTER_SITES= LOCAL/sunpoet
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -25,4 +25,7 @@ post-patch:
-e "s|^\(extra_link_args = \).*$$|\1\['-L${LOCALBASE}/lib', '-lleveldb'\]|" \
${WRKSRC}/setup.py
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/leveldb.so
+
.include <bsd.port.mk>