diff options
author | tron <tron> | 1998-04-12 23:19:32 +0000 |
---|---|---|
committer | tron <tron> | 1998-04-12 23:19:32 +0000 |
commit | 8e6a0e744dc166bca8e3f4b31177aa1b2925e92b (patch) | |
tree | 277742b3abc88a26ba44bb4f86b99ae4586fd357 /math/py-Numeric/Makefile | |
parent | c8be24097e664b9c58b459b90b29b11946401869 (diff) | |
download | pkgsrc-8e6a0e744dc166bca8e3f4b31177aa1b2925e92b.tar.gz |
Integrate some improvements done by Ty Sarna.
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> |