1999-07-30 16:16:50 +02:00
|
|
|
# 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$
|
1999-07-30 16:16:50 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 09:20:58 +02:00
|
|
|
PORTNAME= scientific
|
2007-02-21 12:23:02 +01:00
|
|
|
PORTVERSION= 2.6
|
2007-04-10 05:08:59 +02:00
|
|
|
PORTREVISION= 1
|
1999-07-30 16:16:50 +02:00
|
|
|
CATEGORIES= math python
|
2007-02-21 12:23:02 +01:00
|
|
|
MASTER_SITES= http://sourcesup.cru.fr/frs/download.php/1034/
|
2000-09-28 13:19:01 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2000-04-14 09:20:58 +02:00
|
|
|
DISTNAME= ScientificPython-${PORTVERSION}
|
1999-07-30 16:16:50 +02:00
|
|
|
|
2008-09-07 02:54:46 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Collection of Python modules for scientific computing
|
1999-07-30 16:16:50 +02:00
|
|
|
|
2002-07-15 13:37:35 +02:00
|
|
|
BUILD_DEPENDS= ${PYNUMERIC}
|
2007-04-10 05:08:59 +02:00
|
|
|
LIB_DEPENDS= netcdf.4:${PORTSDIR}/science/netcdf
|
2002-07-15 13:37:35 +02:00
|
|
|
RUN_DEPENDS= ${PYNUMERIC}
|
1999-07-30 16:16:50 +02:00
|
|
|
|
2000-09-28 13:19:01 +02:00
|
|
|
USE_PYTHON= yes
|
2002-04-17 13:35:55 +02:00
|
|
|
USE_PYDISTUTILS=yes
|
2007-07-30 11:42:28 +02:00
|
|
|
PYDISTUTILS_PKGNAME= ScientificPython
|
1999-07-30 16:16:50 +02:00
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/py-scientific
|
|
|
|
EXAMPLEDIR= ${PREFIX}/share/examples/py-scientific
|
|
|
|
|
|
|
|
post-install:
|
2008-09-12 10:50:42 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
1999-07-30 16:16:50 +02:00
|
|
|
@${MKDIR} ${DOCDIR}
|
2002-07-05 12:18:55 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCDIR}
|
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}
|
2002-07-05 12:18:55 +02:00
|
|
|
cd ${WRKDIR}/${DISTNAME}/Examples; tar -c --exclude='*~' -f - . | \
|
|
|
|
(cd ${EXAMPLEDIR}; tar -xf -)
|
1999-07-30 16:16:50 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|