1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/math/py-scientific/Makefile

47 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: py-scientific
# Date created: 29 July 1999
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
1999-08-25 07:23:21 +00:00
# $FreeBSD$
#
2000-04-14 07:20:58 +00:00
PORTNAME= scientific
2001-04-03 11:35:20 +00:00
PORTVERSION= 2.2
CATEGORIES= math python
MASTER_SITES= http://starship.python.net/crew/hinsen/ \
http://dirac.cnrs-orleans.fr/programs/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
2000-04-14 07:20:58 +00:00
DISTNAME= ScientificPython-${PORTVERSION}
MAINTAINER= tg@FreeBSD.org
2001-03-29 12:22:56 +00:00
BUILD_DEPENDS= ${NUMPYDIR}/Numeric.py:${PORTSDIR}/math/numpy \
${PYDISTUTILS}
LIB_DEPENDS= netcdf.1:${PORTSDIR}/math/netcdf
2000-04-17 07:48:14 +00:00
RUN_DEPENDS= ${NUMPYDIR}/Numeric.py:${PORTSDIR}/math/numpy
USE_PYTHON= yes
NUMPYDIR= ${PYTHON_SITELIBDIR}/Numeric
SCIENTIFICDIR= ${PYTHON_SITELIBDIR}/Scientific
DOCDIR= ${PREFIX}/share/doc/py-scientific
EXAMPLEDIR= ${PREFIX}/share/examples/py-scientific
2001-03-29 12:22:56 +00:00
do-build:
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build)
do-install:
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install)
post-install:
@${MKDIR} ${DOCDIR}
2001-04-03 11:35:20 +00:00
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DOCDIR}
.if !defined(NOPORTDOCS)
cd ${WRKDIR}/${DISTNAME}/Doc; tar cf - . | \
(cd ${DOCDIR}; tar xf -)
2001-04-03 11:35:20 +00:00
@${MKDIR} ${EXAMPLEDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/Examples/* ${EXAMPLEDIR}
.endif
.include <bsd.port.mk>