aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-10-10 02:33:04 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-10-10 02:33:04 +0800
commitae0f83721466109da519cd860c52231528930306 (patch)
tree33b36bb1a07faa1f01a971cccfaea4765c3d7565 /science
parent04263bebdc0c7a89297fe9c1a3587bb16b2792bb (diff)
downloadfreebsd-ports-gnome-ae0f83721466109da519cd860c52231528930306.tar.gz
freebsd-ports-gnome-ae0f83721466109da519cd860c52231528930306.tar.zst
freebsd-ports-gnome-ae0f83721466109da519cd860c52231528930306.zip
- Strip shared library
- Bump PORTREVISION for package change
Diffstat (limited to 'science')
-rw-r--r--science/py-scipy/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/science/py-scipy/Makefile b/science/py-scipy/Makefile
index da357e17a6f9..5958a23031b6 100644
--- a/science/py-scipy/Makefile
+++ b/science/py-scipy/Makefile
@@ -3,6 +3,7 @@
PORTNAME= scipy
PORTVERSION= 0.16.0
+PORTREVISION= 1
CATEGORIES= science python
MASTER_SITES= http://docs.scipy.org/doc/${DISTNAME}/:doc \
SF:source
@@ -33,6 +34,9 @@ PORTDOCS= scipy-ref-${PORTVERSION}.pdf
post-extract:
@${CP} ${DISTDIR}/scipy-ref-${PORTVERSION}.pdf ${WRKDIR}
+post-install:
+ ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/scipy/ -name '*.so' | ${XARGS} ${STRIP_CMD}
+
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/scipy-ref-${PORTVERSION}.pdf ${STAGEDIR}${DOCSDIR}