blob: 7279417b74a031444f3665e0e243d7016abe6aec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Created by: Hye-Shik Chang
# $FreeBSD$
PORTNAME= numarray
PORTVERSION= 1.5.2
PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= SF/numpy/Old%20Numarray/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Numeric array manipulation extension module for Python
LICENSE= BSD3CLAUSE
USES= python
USE_PYTHON= distutils autoplist
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
post-configure:
cd ${WRKSRC} && \
${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-
@${RM} -r ${STAGEDIR}${EXAMPLESDIR}/ufunc/build
.include <bsd.port.mk>
|