diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-10-01 15:04:41 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-10-01 15:04:41 +0800 |
commit | fd7f7723315b41730b217cdff54ddb385f6af8c9 (patch) | |
tree | f9ff558877747139f76cd917249d4a167383f7f7 /math/py-gsl/Makefile | |
parent | 805063e0299ce51c9265d0904655e1ab9b9ec0c9 (diff) | |
download | freebsd-ports-gnome-fd7f7723315b41730b217cdff54ddb385f6af8c9.tar.gz freebsd-ports-gnome-fd7f7723315b41730b217cdff54ddb385f6af8c9.tar.zst freebsd-ports-gnome-fd7f7723315b41730b217cdff54ddb385f6af8c9.zip |
- Add LICENSE_FILE
- Strip library
Approved by: portmgr blanket
Diffstat (limited to 'math/py-gsl/Makefile')
-rw-r--r-- | math/py-gsl/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/math/py-gsl/Makefile b/math/py-gsl/Makefile index c3eb47b3c585..a68490a8df9f 100644 --- a/math/py-gsl/Makefile +++ b/math/py-gsl/Makefile @@ -3,6 +3,7 @@ PORTNAME= gsl PORTVERSION= 2.1.1 +PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/py${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,6 +14,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Python interface to GNU Scientific Library LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} @@ -21,4 +23,9 @@ LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl USES= python USE_PYTHON= autoplist distutils +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pygsl/*.so \ + ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pygsl/statistics/*.so \ + ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pygsl/testing/*.so + .include <bsd.port.mk> |