aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2015-02-15 11:08:36 +0800
committerkoobs <koobs@FreeBSD.org>2015-02-15 11:08:36 +0800
commitee462a6f91e38230e572788bc85b83764b8af903 (patch)
tree939bdad169d2187c7043b93d1978902b0ad62d21
parent4b0df2cbd192644a06caa8623562e46cf67bf06e (diff)
downloadfreebsd-ports-gnome-ee462a6f91e38230e572788bc85b83764b8af903.tar.gz
freebsd-ports-gnome-ee462a6f91e38230e572788bc85b83764b8af903.tar.zst
freebsd-ports-gnome-ee462a6f91e38230e572788bc85b83764b8af903.zip
devel/py-msgpack: Strip shared libraries
- Strip shared libraries - Add rename TODO comment - Sort USE_PYTHON values QA: 81 passed in 0.40 seconds (unit tests) Approved by: portmgr (blanket)
-rw-r--r--devel/py-msgpack/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/py-msgpack/Makefile b/devel/py-msgpack/Makefile
index 441bc3e43c09..aff11c7c7b4c 100644
--- a/devel/py-msgpack/Makefile
+++ b/devel/py-msgpack/Makefile
@@ -3,17 +3,25 @@
PORTNAME= msgpack
PORTVERSION= 0.4.2
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-python-${PORTVERSION}
+# TODO: Rename to py-msgpack-python (upstream name)
+
MAINTAINER= zont@FreeBSD.org
COMMENT= MessagePack (de)serializer for Python
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/COPYING
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= autoplist distutils
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/msgpack/_packer.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/msgpack/_unpacker.so
.include <bsd.port.mk>