summaryrefslogtreecommitdiff
path: root/math/py-numeric/Makefile
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1998-11-16 08:54:42 +0000
committerThomas Gellekum <tg@FreeBSD.org>1998-11-16 08:54:42 +0000
commit92ba84aea710c7ccb605e70f22d114fd14b7bd24 (patch)
treebd8b3cbdfa15819f31bc4c1e5ed8ded16fc8266f /math/py-numeric/Makefile
parentInstall header files. (diff)
Use subdirectories for the library files.
Notes
Notes: svn path=/head/; revision=14555
Diffstat (limited to 'math/py-numeric/Makefile')
-rw-r--r--math/py-numeric/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/math/py-numeric/Makefile b/math/py-numeric/Makefile
index 605f2a8f9f69..d61fcaf49990 100644
--- a/math/py-numeric/Makefile
+++ b/math/py-numeric/Makefile
@@ -3,7 +3,7 @@
# Date created: 20 April 1997
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.11 1998/09/01 07:03:47 tg Exp $
+# $Id: Makefile,v 1.12 1998/11/02 08:42:37 tg Exp $
#
DISTNAME= LLNLPython6
@@ -23,7 +23,7 @@ ALL_TARGET= sharedmods
MAKE_FLAGS+= 'OPT=${CFLAGS}'
PYTHONSCRIPTDIR= ${PREFIX}/lib/python1.5
-NUMPYDIR= ${PYTHONSCRIPTDIR}/site-packages
+NUMPYDIR= ${PYTHONSCRIPTDIR}/site-packages/NumPy
DOCDIR= ${PREFIX}/share/doc/NumPy
EXAMPLEDIR= ${PREFIX}/share/examples/NumPy
@@ -31,8 +31,10 @@ do-configure:
@(cd ${WRKSRC} && ${CONFIGURE_ENV} python makethis.py)
post-install:
+ @${MKDIR} ${NUMPYDIR}
${INSTALL_DATA} ${WRKSRC}/Lib/* ${NUMPYDIR}
@${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${NUMPYDIR}
+ @${ECHO} "NumPy" > ${NUMPYDIR}/../NumPy.pth
${INSTALL_DATA} ${WRKSRC}/Include/*object.h ${PREFIX}/include/python1.5
@${MKDIR} ${EXAMPLEDIR}
${INSTALL_DATA} ${WRKSRC}/Demo/* ${EXAMPLEDIR}