Lines 3-14
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= scipy |
4 |
PORTNAME= scipy |
5 |
PORTVERSION= 0.14.0 |
5 |
PORTVERSION= 0.14.0 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= science python |
7 |
CATEGORIES= science python |
7 |
MASTER_SITES= http://docs.scipy.org/doc/${DISTNAME}/:doc \ |
8 |
MASTER_SITES= http://docs.scipy.org/doc/${DISTNAME}/:doc \ |
8 |
SF:source |
9 |
SF:source |
9 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
10 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
10 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:source \ |
11 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:source \ |
11 |
scipy-ref.pdf:doc |
12 |
scipy-ref-${PORTVERSION}.pdf:doc |
12 |
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
13 |
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
13 |
|
14 |
|
14 |
MAINTAINER= wen@FreeBSD.org |
15 |
MAINTAINER= wen@FreeBSD.org |
Lines 33-39
Link Here
|
33 |
ATLAS_DESC= Use optimized blas library |
34 |
ATLAS_DESC= Use optimized blas library |
34 |
SUITESPARSE_DESC= Use AMD and UMFPACK in SuiteSparse |
35 |
SUITESPARSE_DESC= Use AMD and UMFPACK in SuiteSparse |
35 |
|
36 |
|
36 |
PORTDOCS= scipy-ref.pdf |
37 |
PORTDOCS= scipy-ref-${PORTVERSION}.pdf |
37 |
|
38 |
|
38 |
post-patch: |
39 |
post-patch: |
39 |
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ |
40 |
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ |
Lines 60-71
Link Here
|
60 |
PYDISTUTILS_BUILDARGS+= --fcompiler=gnu95 |
61 |
PYDISTUTILS_BUILDARGS+= --fcompiler=gnu95 |
61 |
|
62 |
|
62 |
post-extract: |
63 |
post-extract: |
63 |
@${CP} ${DISTDIR}/scipy-ref.pdf ${WRKDIR} |
64 |
@${CP} ${DISTDIR}/scipy-ref-${PORTVERSION}.pdf ${WRKDIR} |
64 |
|
65 |
|
65 |
post-install: |
66 |
post-install: |
66 |
.if ${PORT_OPTIONS:MDOCS} |
67 |
.if ${PORT_OPTIONS:MDOCS} |
67 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
68 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
68 |
${INSTALL_DATA} ${WRKDIR}/scipy-ref.pdf ${STAGEDIR}${DOCSDIR} |
69 |
${INSTALL_DATA} ${WRKDIR}/scipy-ref-${PORTVERSION}.pdf ${STAGEDIR}${DOCSDIR} |
69 |
.endif |
70 |
.endif |
70 |
|
71 |
|
71 |
.include <bsd.port.post.mk> |
72 |
.include <bsd.port.post.mk> |