1998-06-02 10:09:37 +02:00
|
|
|
# New ports collection makefile for: pygist
|
1998-06-24 08:18:56 +02:00
|
|
|
# Version required: 1.5
|
1998-06-02 10:09:37 +02:00
|
|
|
# Date created: 30 May 1998
|
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
|
|
|
|
#
|
1998-09-01 09:05:05 +02:00
|
|
|
# $Id: Makefile,v 1.5 1998/06/30 07:43:02 tg Exp $
|
1998-06-02 10:09:37 +02:00
|
|
|
#
|
|
|
|
|
1998-09-01 09:05:05 +02:00
|
|
|
DISTNAME= LLNLPython5
|
1998-06-30 09:43:02 +02:00
|
|
|
PKGNAME= py-gist-1.5
|
1998-06-25 08:43:28 +02:00
|
|
|
CATEGORIES= math python
|
1998-06-02 10:09:37 +02:00
|
|
|
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 \
|
1998-06-25 08:43:28 +02:00
|
|
|
${SITEPYDIR}/Numeric.py:${PORTSDIR}/math/numpy \
|
|
|
|
${SITEPYDIR}/Ranf.py:${PORTSDIR}/math/rng
|
1998-06-02 10:09:37 +02:00
|
|
|
RUN_DEPENDS= python:${PORTSDIR}/lang/python \
|
1998-06-25 08:43:28 +02:00
|
|
|
${SITEPYDIR}/Numeric.py:${PORTSDIR}/math/numpy \
|
|
|
|
${SITEPYDIR}/Ranf.py:${PORTSDIR}/math/rng
|
1998-06-02 10:09:37 +02:00
|
|
|
|
1998-09-01 09:05:05 +02:00
|
|
|
WRKSRC= ${WRKDIR}/LLNLPython5/Graphics
|
1998-06-02 10:09:37 +02:00
|
|
|
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}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*/Demo/* ${EXAMPLEDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|