summaryrefslogtreecommitdiff
path: root/math/py-Numeric/Makefile
diff options
context:
space:
mode:
authortron <tron>1998-04-12 23:19:32 +0000
committertron <tron>1998-04-12 23:19:32 +0000
commit8e6a0e744dc166bca8e3f4b31177aa1b2925e92b (patch)
tree277742b3abc88a26ba44bb4f86b99ae4586fd357 /math/py-Numeric/Makefile
parentc8be24097e664b9c58b459b90b29b11946401869 (diff)
downloadpkgsrc-8e6a0e744dc166bca8e3f4b31177aa1b2925e92b.tar.gz
Integrate some improvements done by Ty Sarna.
Diffstat (limited to 'math/py-Numeric/Makefile')
-rw-r--r--math/py-Numeric/Makefile13
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>