diff options
author | tg <tg@FreeBSD.org> | 1998-11-16 16:54:42 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1998-11-16 16:54:42 +0800 |
commit | b54453e5b62c7a6075bb023279f82a07c5ca6b1d (patch) | |
tree | b16702a3c3e86211c68461a3c24be5b376edc202 /math/pygist/Makefile | |
parent | 8afbdd19792577fca1211b02f337ef04cebd1584 (diff) | |
download | freebsd-ports-graphics-b54453e5b62c7a6075bb023279f82a07c5ca6b1d.tar.gz freebsd-ports-graphics-b54453e5b62c7a6075bb023279f82a07c5ca6b1d.tar.zst freebsd-ports-graphics-b54453e5b62c7a6075bb023279f82a07c5ca6b1d.zip |
Use subdirectories for the library files.
Diffstat (limited to 'math/pygist/Makefile')
-rw-r--r-- | math/pygist/Makefile | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/math/pygist/Makefile b/math/pygist/Makefile index 34c9b6c9226..4dbb55f153b 100644 --- a/math/pygist/Makefile +++ b/math/pygist/Makefile @@ -3,7 +3,7 @@ # Date created: 30 May 1998 # Whom: Thomas Gellekum <tg@FreeBSD.ORG> # -# $Id: Makefile,v 1.6 1998/09/01 07:05:05 tg Exp $ +# $Id: Makefile,v 1.7 1998/11/02 08:45:27 tg Exp $ # DISTNAME= LLNLPython6 @@ -16,11 +16,11 @@ MAINTAINER= tg@FreeBSD.ORG BUILD_DEPENDS= python:${PORTSDIR}/lang/python \ ${PREFIX}/lib/yorick/1.4/lib/libgist.a:${PORTSDIR}/lang/yorick \ - ${SITEPYDIR}/Numeric.py:${PORTSDIR}/math/numpy \ - ${SITEPYDIR}/Ranf.py:${PORTSDIR}/math/rng + ${NUMPYDIR}/Numeric.py:${PORTSDIR}/math/numpy \ + ${RNGDIR}/Ranf.py:${PORTSDIR}/math/rng RUN_DEPENDS= python:${PORTSDIR}/lang/python \ - ${SITEPYDIR}/Numeric.py:${PORTSDIR}/math/numpy \ - ${SITEPYDIR}/Ranf.py:${PORTSDIR}/math/rng + ${NUMPYDIR}/Numeric.py:${PORTSDIR}/math/numpy \ + ${RNGDIR}/Ranf.py:${PORTSDIR}/math/rng WRKSRC= ${WRKDIR}/${DISTNAME}/Graphics CONFIGURE_ENV= PREFIX=${PREFIX} @@ -28,15 +28,19 @@ ALL_TARGET= sharedmods MAKE_FLAGS+= 'OPT=${CFLAGS}' PYTHONSCRIPTDIR= ${PREFIX}/lib/python1.5 -SITEPYDIR= ${PYTHONSCRIPTDIR}/site-packages +GISTDIR= ${PYTHONSCRIPTDIR}/site-packages/PyGist +NUMPYDIR= ${PYTHONSCRIPTDIR}/site-packages/NumPy +RNGDIR= ${PYTHONSCRIPTDIR}/site-packages/RNG EXAMPLEDIR= ${PREFIX}/share/examples/PyGist do-configure: @(cd ${WRKSRC} && ${CONFIGURE_ENV} python makethis.py) post-install: - ${INSTALL_DATA} ${WRKSRC}/*/Lib/* ${SITEPYDIR} - @${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${SITEPYDIR} + @${MKDIR} ${GISTDIR} + ${INSTALL_DATA} ${WRKSRC}/*/Lib/* ${GISTDIR} + @${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${GISTDIR} + @${ECHO} "PyGist" > ${GISTDIR}/../PyGist.pth ${MKDIR} ${EXAMPLEDIR} ${INSTALL_DATA} ${WRKSRC}/*/Demo/* ${EXAMPLEDIR} |