mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
c144127884
PR: 93808 Submitted by: "Pedro F. Giffuni" <giffunip at asme dot org>
41 lines
1.1 KiB
Makefile
41 lines
1.1 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.4.9
|
|
CATEGORIES= math python
|
|
MASTER_SITES= http://starship.python.net/crew/hinsen/ScientificPython/ \
|
|
http://dirac.cnrs-orleans.fr/programs/ScientificPython/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ScientificPython-${PORTVERSION}
|
|
|
|
MAINTAINER= tg@FreeBSD.org
|
|
COMMENT= Collection of Python modules for scientific computing
|
|
|
|
BUILD_DEPENDS= ${PYNUMERIC}
|
|
LIB_DEPENDS= netcdf.1:${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>
|