diff options
Diffstat (limited to 'math/py-numeric17/Makefile')
-rw-r--r-- | math/py-numeric17/Makefile | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/math/py-numeric17/Makefile b/math/py-numeric17/Makefile index bfd8090a7a30..d78205a532a2 100644 --- a/math/py-numeric17/Makefile +++ b/math/py-numeric17/Makefile @@ -1,44 +1,40 @@ # New ports collection makefile for: numpy -# Version required: 1.0b3 +# Version required: 1.1 # Date created: 20 April 1997 # Whom: Thomas Gellekum <tg@FreeBSD.ORG> # -# $Id: Makefile,v 1.4 1998/01/21 11:44:57 asami Exp $ +# $Id: Makefile,v 1.5 1998/01/21 13:07:44 tg Exp $ # -DISTNAME= NumPy -PKGNAME= numpy-1.0b3 +DISTNAME= NumPy-11 +PKGNAME= numpy-1.1 CATEGORIES= math -MASTER_SITES= http://www.sls.lcs.mit.edu/~jjh/numpy/ -DISTFILES= NumPy-1.0b3.tar.gz NumPyLib-1.0b2.tar.gz +MASTER_SITES= ftp://ftp-icf.llnl.gov/pub/python/ +EXTRACT_SUFX= .tgz MAINTAINER= tg@FreeBSD.ORG BUILD_DEPENDS= python:${PORTSDIR}/lang/python RUN_DEPENDS= python:${PORTSDIR}/lang/python -LIB_DEPENDS= lapack\\.2\\.:${PORTSDIR}/math/lapack \ - ranlib\\.1\\.:${PORTSDIR}/math/libranlib +WRKSRC= ${WRKDIR}/LLNLDistribution/Numerical CONFIGURE_ENV= PREFIX=${PREFIX} ALL_TARGET= sharedmods MAKE_FLAGS+= 'OPT=${CFLAGS}' PYTHONSCRIPTDIR= ${PREFIX}/lib/python1.5 -NUMPYDIR= ${PYTHONSCRIPTDIR}/${DISTNAME} -DOCDIR= ${PREFIX}/share/doc/${DISTNAME} +NUMPYDIR= ${PREFIX}/lib/python1.5/site-packages +DOCDIR= ${PREFIX}/share/doc/NumPy do-configure: - @(cd ${WRKSRC} && ${CONFIGURE_ENV} ${MAKE} -f Makefile.pre.in Makefile) + @(cd ${WRKSRC} && ${CONFIGURE_ENV} python makethis.py) -do-install: - @${MKDIR} ${NUMPYDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/*.so ${NUMPYDIR} - ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}/*.py ${NUMPYDIR} - @${PREFIX}/bin/python ${PYTHONSCRIPTDIR}/compileall.py ${NUMPYDIR} +post-install: + ${INSTALL_DATA} ${WRKSRC}/Lib/* ${NUMPYDIR} @${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${NUMPYDIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/html/*.html ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/Doc/*.html ${DOCDIR} .endif .include <bsd.port.mk> |