diff options
Diffstat (limited to 'math/py-Numeric/Makefile')
-rw-r--r-- | math/py-Numeric/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/math/py-Numeric/Makefile b/math/py-Numeric/Makefile index 548806abd6a..ea860c29c05 100644 --- a/math/py-Numeric/Makefile +++ b/math/py-Numeric/Makefile @@ -3,7 +3,7 @@ # Date created: 18 March 1998 # Whom: tsarna@endicor.com # -# $NetBSD: Makefile,v 1.2 1998/04/12 21:54:37 tron Exp $ +# $NetBSD: Makefile,v 1.3 1998/04/12 23:19:32 tron Exp $ DISTNAME= NumPy-11 PKGNAME= py-Numeric-1.1 @@ -18,14 +18,21 @@ RUN_DEPENDS= python:${PORTSDIR}/lang/python WRKSRC= ${WRKDIR}/LLNLDistribution/Numerical ALL_TARGET= default +MAKE_FLAGS= 'OPT=${CFLAGS}' +DOCDIR= ${PREFIX}/share/doc/py-Numeric .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "alpha" IGNORE="Needs dynamic loading" .endif +do-configure: + @(cd ${WRKSRC} && PREFIX=${PREFIX} python makethis.py) + post-install: - (cd ${WRKSRC}/Lib ; \ - python -O ${PREFIX}/lib/python1.5/compileall.py . ; \ + @(cd ${WRKSRC}/Lib ; \ + ${PREFIX}/bin/python -O ${PREFIX}/lib/python1.5/compileall.py . ; \ ${INSTALL_DATA} *.py *.pyc *.pyo ${PREFIX}/lib/python1.5/site-packages) + @${MKDIR} ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/Doc/*.html ${DOCDIR} .include <bsd.port.mk> |