aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-numeric/Makefile
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/py-numeric/Makefile
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/py-numeric/Makefile')
-rw-r--r--math/py-numeric/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/math/py-numeric/Makefile b/math/py-numeric/Makefile
index 6189849f4836..757915f284d2 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.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}