diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-03-24 21:30:44 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-03-24 21:30:44 +0800 |
commit | 483e34abb44fbebc203d7d5e20900ab4340ecfcc (patch) | |
tree | 7e47e9e5294e39e002b656173bf2d23873102ea4 | |
parent | 41c1c53d9ff9d5f837a33b5f80ad1a1135067af1 (diff) | |
download | freebsd-ports-gnome-483e34abb44fbebc203d7d5e20900ab4340ecfcc.tar.gz freebsd-ports-gnome-483e34abb44fbebc203d7d5e20900ab4340ecfcc.tar.zst freebsd-ports-gnome-483e34abb44fbebc203d7d5e20900ab4340ecfcc.zip |
- Add LICENSE
- Strip libraries
-rw-r--r-- | math/py-numarray/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/math/py-numarray/Makefile b/math/py-numarray/Makefile index 63b506eecf3c..ab949868d824 100644 --- a/math/py-numarray/Makefile +++ b/math/py-numarray/Makefile @@ -3,6 +3,7 @@ PORTNAME= numarray PORTVERSION= 1.5.2 +PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= SF/numpy/Old%20Numarray/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,6 +11,8 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Numeric array manipulation extension module for Python +LICENSE= BSD3CLAUSE + USES= python USE_PYTHON= distutils autoplist @@ -20,10 +23,12 @@ OPTIONS_DEFINE= DOCS EXAMPLES post-configure: cd ${WRKSRC} && \ - ${PYTHON_CMD} generate.py && \ - ${PYTHON_CMD} Include/numarray/genapis.py + ${PYTHON_CMD} generate.py && \ + ${PYTHON_CMD} Include/numarray/genapis.py post-install: + ${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/numarray -name "*.so" -exec \ + ${STRIP_CMD} {} \; @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} @${TAR} -C ${WRKSRC}/Doc -cf- .|${TAR} -C ${STAGEDIR}${DOCSDIR} -xf- @${TAR} -C ${WRKSRC}/Examples -cf- .|${TAR} -C ${STAGEDIR}${EXAMPLESDIR} -xf- |