mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
The RNG extension is now part of py-numeric.
This commit is contained in:
parent
40b2a920e9
commit
eb64e250bb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32333
1 changed files with 9 additions and 2 deletions
|
@ -18,10 +18,10 @@ MAINTAINER= tg@FreeBSD.org
|
|||
BUILD_DEPENDS= python:${PORTSDIR}/lang/python \
|
||||
${LOCALBASE}/lib/yorick/1.4/lib/libgist.a:${PORTSDIR}/lang/yorick \
|
||||
${NUMPYDIR}/Numeric.py:${PORTSDIR}/math/numpy \
|
||||
${RNGDIR}/Ranf.py:${PORTSDIR}/math/rng
|
||||
${RNGDIR}/RNG.so:${PORTSDIR}/math/numpy
|
||||
RUN_DEPENDS= python:${PORTSDIR}/lang/python \
|
||||
${NUMPYDIR}/Numeric.py:${PORTSDIR}/math/numpy \
|
||||
${RNGDIR}/Ranf.py:${PORTSDIR}/math/rng
|
||||
${RNGDIR}/RNG.so:${PORTSDIR}/math/numpy
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/Graphics
|
||||
CONFIGURE_ENV= PREFIX=${PREFIX}
|
||||
|
@ -34,6 +34,13 @@ NUMPYDIR= ${PYTHONSCRIPTDIR}/site-packages/Numeric
|
|||
RNGDIR= ${PYTHONSCRIPTDIR}/site-packages/RNG
|
||||
EXAMPLEDIR= ${PREFIX}/share/examples/PyGist
|
||||
|
||||
post-patch:
|
||||
.for file in Gist3D/Demo/demo5.py Gist3D/Demo/gistmeshtest.py \
|
||||
Narcisse/Demo/meshtest.py OOG/Demo/eztest.py \
|
||||
OOG/Demo/surftest3d.py OOG/Demo/surftest4d.py
|
||||
${PERL} -pi -e 's/from Ranf import/from RNG import/' ${WRKSRC}/${file}
|
||||
.endfor
|
||||
|
||||
do-configure:
|
||||
@(cd ${WRKSRC} && ${CONFIGURE_ENV} python makethis.py)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue