diff options
author | tg <tg@FreeBSD.org> | 1998-06-02 16:09:37 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1998-06-02 16:09:37 +0800 |
commit | e80b1c00c0c1a73dbdb78c37d19bc33ba0c6430c (patch) | |
tree | cdaf1a93e9df05ea9514f7763e24009436191b23 /math/pygist/Makefile | |
parent | 9c5d71714f26e2e58d55eb4ae94250c766f0fbf2 (diff) | |
download | freebsd-ports-gnome-e80b1c00c0c1a73dbdb78c37d19bc33ba0c6430c.tar.gz freebsd-ports-gnome-e80b1c00c0c1a73dbdb78c37d19bc33ba0c6430c.tar.zst freebsd-ports-gnome-e80b1c00c0c1a73dbdb78c37d19bc33ba0c6430c.zip |
New port pygist, a python interface to the scientific plotting
library gist, which is distributed with yorick.
Diffstat (limited to 'math/pygist/Makefile')
-rw-r--r-- | math/pygist/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/math/pygist/Makefile b/math/pygist/Makefile new file mode 100644 index 000000000000..7e3badc10f4e --- /dev/null +++ b/math/pygist/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: pygist +# Version required: 1.3 +# Date created: 30 May 1998 +# Whom: Thomas Gellekum <tg@FreeBSD.ORG> +# +# $Id$ +# + +DISTNAME= PyGist-13 +PKGNAME= pygist-1.3 +CATEGORIES= math +MASTER_SITES= ftp://ftp-icf.llnl.gov/pub/python/ +EXTRACT_SUFX= .tgz + +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 +RUN_DEPENDS= python:${PORTSDIR}/lang/python \ + ${SITEPYDIR}/Numeric.py:${PORTSDIR}/math/numpy + +WRKSRC= ${WRKDIR}/LLNLDistribution/Graphics +CONFIGURE_ENV= PREFIX=${PREFIX} +ALL_TARGET= sharedmods +MAKE_FLAGS+= 'OPT=${CFLAGS}' + +PYTHONSCRIPTDIR= ${PREFIX}/lib/python1.5 +SITEPYDIR= ${PREFIX}/lib/python1.5/site-packages +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} ${EXAMPLEDIR} + @${RM} ${WRKSRC}/*/Demo/*.orig + ${INSTALL_DATA} ${WRKSRC}/*/Demo/* ${EXAMPLEDIR} + +.include <bsd.port.mk> |