freebsd-ports/math/py-scientific/Makefile

42 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
2007-02-21 12:23:02 +01:00
PORTVERSION= 2.6
PORTREVISION= 1
CATEGORIES= math python
2007-02-21 12:23:02 +01:00
MASTER_SITES= http://sourcesup.cru.fr/frs/download.php/1034/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
2000-04-14 09:20:58 +02:00
DISTNAME= ScientificPython-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Collection of Python modules for scientific computing
2002-07-15 13:37:35 +02:00
BUILD_DEPENDS= ${PYNUMERIC}
LIB_DEPENDS= netcdf.4:${PORTSDIR}/science/netcdf
2002-07-15 13:37:35 +02:00
RUN_DEPENDS= ${PYNUMERIC}
USE_PYTHON= yes
2002-04-17 13:35:55 +02:00
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= ScientificPython
DOCDIR= ${PREFIX}/share/doc/py-scientific
EXAMPLEDIR= ${PREFIX}/share/examples/py-scientific
post-install:
.if !defined(NOPORTDOCS)
@${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 -)
.endif
.include <bsd.port.mk>