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
|
2009-03-06 16:29:32 +01:00
|
|
|
PORTVERSION= 2.8
|
1999-07-30 16:16:50 +02:00
|
|
|
CATEGORIES= math python
|
2009-03-06 16:29:32 +01:00
|
|
|
MASTER_SITES= http://sourcesup.cru.fr/frs/download.php/2309/
|
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-23 14:59:38 +02:00
|
|
|
MAINTAINER= fmysh@iijmio-mail.jp
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Collection of Python modules for scientific computing
|
1999-07-30 16:16:50 +02:00
|
|
|
|
2009-03-06 16:29:32 +01:00
|
|
|
BUILD_DEPENDS= ${PYNUMPY}
|
2007-04-10 05:08:59 +02:00
|
|
|
LIB_DEPENDS= netcdf.4:${PORTSDIR}/science/netcdf
|
2009-03-06 16:29:32 +01:00
|
|
|
RUN_DEPENDS= ${PYNUMPY}
|
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
|
|
|
|
2008-09-23 14:59:38 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
|
1999-07-30 16:16:50 +02:00
|
|
|
|
|
|
|
post-install:
|
2008-09-12 10:50:42 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2008-09-23 14:59:38 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
|
|
|
|
cd ${WRKDIR}/${DISTNAME}/Doc; ${TAR} -c --exclude='*~' -f - . | \
|
|
|
|
(cd ${DOCSDIR}; ${TAR} -xf -)
|
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
cd ${WRKDIR}/${DISTNAME}/Examples; ${TAR} -c --exclude='*~' -f - . | \
|
|
|
|
(cd ${EXAMPLESDIR}; ${TAR} -xf -)
|
1999-07-30 16:16:50 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|