diff options
Diffstat (limited to 'math/py-numeric17/Makefile')
-rw-r--r-- | math/py-numeric17/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/math/py-numeric17/Makefile b/math/py-numeric17/Makefile index 605f2a8f9f69..d61fcaf49990 100644 --- a/math/py-numeric17/Makefile +++ b/math/py-numeric17/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} |