aboutsummaryrefslogtreecommitdiffstats
path: root/math/numpy
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-05-14 15:38:56 +0800
committertg <tg@FreeBSD.org>1997-05-14 15:38:56 +0800
commit36326fd363d1ac3950a2e676c8cfd06b5c070345 (patch)
tree696e4f4d93c8854c038c2dc2fe08e8072d4d654d /math/numpy
parent7c1990229274b0681e3d6acd2ece21b35675c7b2 (diff)
downloadfreebsd-ports-gnome-36326fd363d1ac3950a2e676c8cfd06b5c070345.tar.gz
freebsd-ports-gnome-36326fd363d1ac3950a2e676c8cfd06b5c070345.tar.zst
freebsd-ports-gnome-36326fd363d1ac3950a2e676c8cfd06b5c070345.zip
Follow directory layout of python (shared objects -> lib/python1.4).
Diffstat (limited to 'math/numpy')
-rw-r--r--math/numpy/Makefile13
-rw-r--r--math/numpy/pkg-plist12
2 files changed, 13 insertions, 12 deletions
diff --git a/math/numpy/Makefile b/math/numpy/Makefile
index 6189849f4836..757915f284d2 100644
--- a/math/numpy/Makefile
+++ b/math/numpy/Makefile
@@ -3,7 +3,7 @@
# Date created: 20 April 1997
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.1.1.1 1997/04/28 09:22:59 tg Exp $
+# $Id: Makefile,v 1.2 1997/05/05 12:27:10 tg Exp $
#
DISTNAME= NumPy
@@ -22,8 +22,9 @@ LIB_DEPENDS= lapack\\.2\\.:${PORTSDIR}/math/lapack \
ALL_TARGET= sharedmods
MAKE_FLAGS+= 'OPT=${CFLAGS}'
-PYTHONDIR= ${PREFIX}/share/python1.4
-NUMPYDIR= ${PYTHONDIR}/${DISTNAME}
+PYTHONSCRIPTDIR= ${PREFIX}/share/python1.4
+PYTHONLIBDIR= ${PREFIX}/lib/python1.4/sharedmodules
+NUMPYDIR= ${PYTHONSCRIPTDIR}/${DISTNAME}
DOCDIR= ${PREFIX}/share/doc/${DISTNAME}
do-configure:
@@ -31,10 +32,10 @@ do-configure:
do-install:
@${MKDIR} ${NUMPYDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/*.so ${NUMPYDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.so ${PYTHONLIBDIR}
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}/*.py ${NUMPYDIR}
- @PYTHONPATH=${PYTHONDIR}:${NUMPYDIR} \
- ${PREFIX}/bin/python ${PYTHONDIR}/compileall.py ${NUMPYDIR}
+ @PYTHONPATH=${PYTHONSCRIPTDIR}:${NUMPYDIR} \
+ ${PREFIX}/bin/python ${PYTHONSCRIPTDIR}/compileall.py ${NUMPYDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/html/*.html ${DOCDIR}
diff --git a/math/numpy/pkg-plist b/math/numpy/pkg-plist
index b84c2095d7f1..ecb3b22f68e3 100644
--- a/math/numpy/pkg-plist
+++ b/math/numpy/pkg-plist
@@ -1,3 +1,9 @@
+lib/python1.4/sharedmodules/fast_umathmodule.so
+lib/python1.4/sharedmodules/fftpack.so
+lib/python1.4/sharedmodules/lapack_litemodule.so
+lib/python1.4/sharedmodules/multiarraymodule.so
+lib/python1.4/sharedmodules/ranlibmodule.so
+lib/python1.4/sharedmodules/umathmodule.so
share/python1.4/NumPy/ArrayPrinter.py
share/python1.4/NumPy/ArrayPrinter.pyc
share/python1.4/NumPy/FFT.py
@@ -16,12 +22,6 @@ share/python1.4/NumPy/RandomArray.py
share/python1.4/NumPy/RandomArray.pyc
share/python1.4/NumPy/UserArray.py
share/python1.4/NumPy/UserArray.pyc
-share/python1.4/NumPy/fast_umathmodule.so
-share/python1.4/NumPy/fftpack.so
-share/python1.4/NumPy/lapack_litemodule.so
-share/python1.4/NumPy/multiarraymodule.so
-share/python1.4/NumPy/ranlibmodule.so
-share/python1.4/NumPy/umathmodule.so
@dirrm share/python1.4/NumPy
share/doc/NumPy/contributions.html
share/doc/NumPy/doc.html