1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Add LICENSE

- Strip libraries
This commit is contained in:
Dmitry Marakasov 2015-03-24 13:30:44 +00:00
parent c935e9ca7c
commit b15b136352
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382094

View File

@ -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-