1999-07-30 14:16:50 +00:00
|
|
|
# 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$
|
1999-07-30 14:16:50 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 07:20:58 +00:00
|
|
|
PORTNAME= scientific
|
2003-07-07 09:32:39 +00:00
|
|
|
PORTVERSION= 2.4.3
|
1999-07-30 14:16:50 +00:00
|
|
|
CATEGORIES= math python
|
2003-07-10 07:00:28 +00:00
|
|
|
MASTER_SITES= http://starship.python.net/crew/hinsen/ScientificPython/ \
|
|
|
|
http://dirac.cnrs-orleans.fr/programs/ScientificPython/
|
2000-09-28 11:19:01 +00:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2000-04-14 07:20:58 +00:00
|
|
|
DISTNAME= ScientificPython-${PORTVERSION}
|
1999-07-30 14:16:50 +00:00
|
|
|
|
2000-09-28 11:19:01 +00:00
|
|
|
MAINTAINER= tg@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Collection of Python modules for scientific computing
|
1999-07-30 14:16:50 +00:00
|
|
|
|
2002-07-15 11:37:35 +00:00
|
|
|
BUILD_DEPENDS= ${PYNUMERIC}
|
1999-07-30 14:16:50 +00:00
|
|
|
LIB_DEPENDS= netcdf.1:${PORTSDIR}/math/netcdf
|
2002-07-15 11:37:35 +00:00
|
|
|
RUN_DEPENDS= ${PYNUMERIC}
|
1999-07-30 14:16:50 +00:00
|
|
|
|
2000-09-28 11:19:01 +00:00
|
|
|
USE_PYTHON= yes
|
2002-04-17 11:35:55 +00:00
|
|
|
USE_PYDISTUTILS=yes
|
1999-07-30 14:16:50 +00:00
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/py-scientific
|
|
|
|
EXAMPLEDIR= ${PREFIX}/share/examples/py-scientific
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCDIR}
|
2002-07-05 10:18:55 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCDIR}
|
2001-04-03 11:35:20 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-04-26 11:55:11 +00:00
|
|
|
cd ${WRKDIR}/${DISTNAME}/Doc; tar -c --exclude='*~' -f - . | \
|
|
|
|
(cd ${DOCDIR}; tar -xf -)
|
2001-04-03 11:35:20 +00:00
|
|
|
@${MKDIR} ${EXAMPLEDIR}
|
2002-07-05 10:18:55 +00:00
|
|
|
cd ${WRKDIR}/${DISTNAME}/Examples; tar -c --exclude='*~' -f - . | \
|
|
|
|
(cd ${EXAMPLEDIR}; tar -xf -)
|
1999-07-30 14:16:50 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|