freebsd-ports/math/py-numpy/Makefile
Pav Lucistnik ecf737426d The fundamental package needed for scientific computing with Python is
called NumPy.  This package contains:

    * a powerful N-dimensional array object
    * sophisticated (broadcasting) functions
    * basic linear algebra functions
    * basic Fourier transforms
    * sophisticated random number capabilities
    * tools for integrating Fortran code.

NumPy derives from the old Numeric code base and can be used as a
replacement for Numeric.   It also adds the features introduced by numarray
and can also be used to replace numarray.

Note:	Development for Numeric has ceased, and users should transisition to
	NumPy as quickly as possible.

WWW: http://numpy.scipy.org/

PR:		ports/102458
Submitted by:	Tony Maher <anthony.maher@uts.edu.au>
2006-09-01 18:14:17 +00:00

46 lines
1 KiB
Makefile

# New ports collection makefile for: numpy
# Date created: 24 July 2006
# Whom: Tony Maher
#
# $FreeBSD$
#
PORTNAME= numpy
PORTVERSION= 1.0b3
CATEGORIES= math python
MASTER_SITES= http://numpy.scipy.org/:doc \
${MASTER_SITE_SOURCEFORGE:S/$/:source/}
MASTER_SITE_SUBDIR= numpy/:source
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTFILES= numpy-${PORTVERSION}${EXTRACT_SUFX}:source \
numpy.pdf:doc
EXTRACT_ONLY= numpy-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= tonymaher@optusnet.com.au
COMMENT= The New Numeric Extension to Python
LIB_DEPENDS= lapack.3:${PORTSDIR}/math/lapack \
blas.1:${PORTSDIR}/math/blas
USE_PYTHON= yes
USE_PYDISTUTILS=yes
.include <bsd.port.pre.mk>
pre-fetch:
.if ${PYTHON_REL} < 200
@${ECHO} "Py-numpy doesn't work with Python versions < 2.0."
@${ECHO} "Please use the py-numeric17 port for these."
@${FALSE}
.endif
post-extract:
@${CP} ${DISTDIR}/numpy.pdf ${WRKDIR}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/numpy.pdf ${DOCSDIR}
.endif
.include <bsd.port.post.mk>