1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/science/py-scipy03/Makefile
Tom McLaughlin 37ce325bac - Assign maintainership over to Diane Bruce
- Remove leftover USE_REINPLACE

PR:		93842
Submitted by:	new maintainer
2006-03-21 04:39:28 +00:00

49 lines
1.3 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: SciPy
# Date created: Jun 8, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= scipy
PORTVERSION= 0.3.2
PORTREVISION= 1
CATEGORIES= science python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= scipy
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= SciPy_complete-${PORTVERSION}
MAINTAINER= db@db.net
COMMENT= Scientific tools for Python
BUILD_DEPENDS= ${PYNUMERIC} \
${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft \
f2py:${PORTSDIR}/lang/f2py \
${PYTHON_SITELIBDIR}/wx/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython24
LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw \
atlas.1:${PORTSDIR}/math/atlas
USE_PYTHON= 2.3+
USE_PYDISTUTILS= yes
post-patch:
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
-e "s@malloc\.h@stdlib.h@"
.include <bsd.port.pre.mk>
post-install:
@${RMDIR} ${PYTHON_SITELIBDIR}/weave/swig # empty
.for dir in ${PYTHON_SITELIBDIR}/gui_thread ${PYTHON_SITELIBDIR}/scipy \
${PYTHON_SITELIBDIR}/scipy_base ${PYTHON_SITELIBDIR}/scipy_distutils \
${PYTHON_SITELIBDIR}/scipy_test ${PYTHON_SITELIBDIR}/weave
@${FIND} ${dir} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${dir} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.endfor
.include <bsd.port.post.mk>