mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
db0bf94b4c
- Update to 3.6.2 graphics/gmt math/grace math/gri math/p5-NetCDF math/py-scientific math/ruby-netcdf science/gnudatalanguage science/minc science/minc2 science/v_sim science/vis5d+ - Bump PORTREVISION for the changing of science/netcdf's major library version number PR: 111347 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet AT sunpoet.net> (maintainer) Approved by: clsung (mentor)
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# New ports collection makefile for: py-scientific
|
|
# Date created: 29 July 1999
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= scientific
|
|
PORTVERSION= 2.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= math python
|
|
MASTER_SITES= http://sourcesup.cru.fr/frs/download.php/1034/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ScientificPython-${PORTVERSION}
|
|
|
|
MAINTAINER= tg@FreeBSD.org
|
|
COMMENT= Collection of Python modules for scientific computing
|
|
|
|
BUILD_DEPENDS= ${PYNUMERIC}
|
|
LIB_DEPENDS= netcdf.4:${PORTSDIR}/science/netcdf
|
|
RUN_DEPENDS= ${PYNUMERIC}
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=yes
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/py-scientific
|
|
EXAMPLEDIR= ${PREFIX}/share/examples/py-scientific
|
|
|
|
post-install:
|
|
@${MKDIR} ${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
cd ${WRKDIR}/${DISTNAME}/Doc; tar -c --exclude='*~' -f - . | \
|
|
(cd ${DOCDIR}; tar -xf -)
|
|
@${MKDIR} ${EXAMPLEDIR}
|
|
cd ${WRKDIR}/${DISTNAME}/Examples; tar -c --exclude='*~' -f - . | \
|
|
(cd ${EXAMPLEDIR}; tar -xf -)
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|