freebsd-ports/math/py-scientific/Makefile

40 lines
1.1 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 09:23:21 +02:00
# $FreeBSD$
#
2000-04-14 09:20:58 +02:00
PORTNAME= scientific
2001-04-03 13:35:20 +02: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 09:20:58 +02:00
DISTNAME= ScientificPython-${PORTVERSION}
MAINTAINER= tg@FreeBSD.org
2002-04-17 13:35:55 +02:00
BUILD_DEPENDS= ${NUMPYDIR}/Numeric.py:${PORTSDIR}/math/py-numeric
LIB_DEPENDS= netcdf.1:${PORTSDIR}/math/netcdf
2001-05-03 13:03:46 +02:00
RUN_DEPENDS= ${NUMPYDIR}/Numeric.py:${PORTSDIR}/math/py-numeric
USE_PYTHON= yes
2002-04-17 13:35:55 +02:00
USE_PYDISTUTILS=yes
NUMPYDIR= ${PYTHON_SITELIBDIR}/Numeric
DOCDIR= ${PREFIX}/share/doc/py-scientific
EXAMPLEDIR= ${PREFIX}/share/examples/py-scientific
post-install:
@${MKDIR} ${DOCDIR}
2001-04-03 13:35:20 +02:00
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DOCDIR}
.if !defined(NOPORTDOCS)
2001-04-26 13:55:11 +02:00
cd ${WRKDIR}/${DISTNAME}/Doc; tar -c --exclude='*~' -f - . | \
(cd ${DOCDIR}; tar -xf -)
2001-04-03 13:35:20 +02:00
@${MKDIR} ${EXAMPLEDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/Examples/* ${EXAMPLEDIR}
.endif
.include <bsd.port.mk>