aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-numeric/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-04-28 17:22:59 +0800
committertg <tg@FreeBSD.org>1997-04-28 17:22:59 +0800
commitf0434a5b7e95cadfacbc8fc36a491bef523fa43e (patch)
tree02dd09104d9e265f6e937a2d115010dc17b39ecd /math/py-numeric/Makefile
parentdfc830dca82b7bd3b9deed1e1548827b78265570 (diff)
downloadfreebsd-ports-gnome-f0434a5b7e95cadfacbc8fc36a491bef523fa43e.tar.gz
freebsd-ports-gnome-f0434a5b7e95cadfacbc8fc36a491bef523fa43e.tar.zst
freebsd-ports-gnome-f0434a5b7e95cadfacbc8fc36a491bef523fa43e.zip
Import of the NumPy port. The Numeric extensions to Python contain
multi-dimensional arrays and interfaces to the lapack-, fftpack- and ranlib-libraries from netlib.
Diffstat (limited to 'math/py-numeric/Makefile')
-rw-r--r--math/py-numeric/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/math/py-numeric/Makefile b/math/py-numeric/Makefile
new file mode 100644
index 000000000000..77f74a7e7a54
--- /dev/null
+++ b/math/py-numeric/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: numpy
+# Version required: 1.0b3
+# Date created: 20 April 1997
+# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= NumPy
+PKGNAME= numpy-1.0b3
+CATEGORIES= math
+MASTER_SITES= http://www.sls.lcs.mit.edu/~jjh/numpy/
+DISTFILES= NumPy-1.0b3.tar.gz NumPyLib-1.0b2.tar.gz
+
+MAINTAINER= tg@FreeBSD.ORG
+
+BUILD_DEPENDS= python:${PORTSDIR}/lang/python
+LIB_DEPENDS= lapack\\.2\\.:${PORTSDIR}/math/lapack \
+ ranlib\\.1\\.:${PORTSDIR}/math/libranlib
+
+ALL_TARGET= sharedmods
+MAKE_FLAGS+= 'OPT=${CFLAGS}'
+
+PYTHONDIR= ${PREFIX}/share/python1.4
+NUMPYDIR= ${PYTHONDIR}/${DISTNAME}
+DOCDIR= ${PREFIX}/share/doc/${DISTNAME}
+
+do-configure:
+ @cd ${WRKSRC}; ${MAKE} -f Makefile.pre.in Makefile
+
+do-install:
+ @${MKDIR} ${NUMPYDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.so ${NUMPYDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}/*.py ${NUMPYDIR}
+ @PYTHONPATH=${PYTHONDIR}:${NUMPYDIR} \
+ ${PREFIX}/bin/python ${PYTHONDIR}/compileall.py ${NUMPYDIR}
+ @${MKDIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/html/*.html ${DOCDIR}
+
+.include <bsd.port.mk>