freebsd-ports/math/py-scientific/Makefile
Dmitry Marakasov d2dc0fa2cc - Update to ScientificPython 2.6.1, which is the latest stable release.
- Adoption of (NO)PORTEXAMPLES, EXAMPLESDIR and DOCSDIR
- Adding PKGNAMEPREFIX to EXAMPLESDIR and DOCSDIR.
- Pass maintainership to submitter with hist consent

PR:		123718
Submitted by:	TAOKA Fumiyoshi <fmysh at iijmio-mail dot jp>
2008-09-23 12:59:38 +00:00

42 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.6.1
CATEGORIES= math python
MASTER_SITES= http://sourcesup.cru.fr/frs/download.php/1674/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ScientificPython-${PORTVERSION}
MAINTAINER= fmysh@iijmio-mail.jp
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
PYDISTUTILS_PKGNAME= ScientificPython
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)
@${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 -)
.endif
.include <bsd.port.mk>