Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/math/py-Numeric/Attic/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/math/py-Numeric/Attic/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.15 retrieving revision 1.16 diff -u -p -r1.15 -r1.16 --- pkgsrc/math/py-Numeric/Attic/Makefile 2000/09/05 08:47:38 1.15 +++ pkgsrc/math/py-Numeric/Attic/Makefile 2000/12/05 10:05:45 1.16 @@ -1,37 +1,31 @@ -# $NetBSD: Makefile,v 1.15 2000/09/05 08:47:38 rh Exp $ +# $NetBSD: Makefile,v 1.16 2000/12/05 10:05:45 drochner Exp $ -DISTNAME= LLNLPython4 -PKGNAME= py-Numeric-1.3 +DISTNAME= Numeric-17.1.2 +PKGNAME= py-Numeric-17.1.2 CATEGORIES= math -MASTER_SITES= ftp://ftp-icf.llnl.gov/pub/python/ -EXTRACT_SUFX= .tgz +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=numpy/} MAINTAINER= tsarna@netbsd.org -HOMEPAGE= http://www.python.org/sigs/matrix-sig/ +HOMEPAGE= http://numpy.sourceforge.net/ -DEPENDS+= python-1.5.2:../../lang/python - -WRKSRC= ${WRKDIR}/LLNLPython4/Numerical -ALL_TARGET= default -MAKE_FLAGS= 'OPT=${CFLAGS}' -DOCDIR= ${PREFIX}/share/doc/py-Numeric +DEPENDS+= python>=1.6:../../lang/python .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "vax" IGNORE="${PKGNAME} needs dynamic loading" .endif -do-configure: - @(cd ${WRKSRC} && PREFIX=${PREFIX} python makethis.py) +PLIST_SRC= ${WRKDIR}/.PLIST_SRC +EVAL_PREFIX+= PYPREFIX=python + +do-build: + (cd ${WRKSRC} && ${PYPREFIX}/bin/python setup_all.py build) + +post-build: + (eval `${PYPREFIX}/bin/python ${FILESDIR}/printpypath.py` && \ + ${SED} "s|PYINC|$${PYINC}|g;s|PYSITELIB|$${PYSITELIB}|g" \ + <${PKGDIR}/PLIST >${PLIST_SRC}) -post-install: - @(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} -.for incs in arrayobject.h f2c.h fftpack.h ranlib.h ufuncobject.h - ${INSTALL_DATA} ${WRKSRC}/Include/${incs} \ - ${PREFIX}/include/python1.5 -.endfor +do-install: + (cd ${WRKSRC} && ${PYPREFIX}/bin/python setup_all.py install) .include "../../mk/bsd.pkg.mk"