1997-04-28 11:22:59 +02:00
|
|
|
# New ports collection makefile for: numpy
|
|
|
|
# Date created: 20 April 1997
|
1999-08-31 08:53:31 +02:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1997-04-28 11:22:59 +02:00
|
|
|
#
|
1999-08-25 09:23:21 +02:00
|
|
|
# $FreeBSD$
|
1997-04-28 11:22:59 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 09:20:58 +02:00
|
|
|
PORTNAME= numeric
|
2000-12-22 13:29:05 +01:00
|
|
|
PORTVERSION= 17.2.0
|
1998-06-25 08:43:28 +02:00
|
|
|
CATEGORIES= math python
|
2000-06-14 15:21:38 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= numpy
|
2000-11-17 13:19:30 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2000-09-04 14:35:31 +02:00
|
|
|
DISTNAME= Numeric-${PORTVERSION}
|
1997-04-28 11:22:59 +02:00
|
|
|
|
1999-08-31 08:53:31 +02:00
|
|
|
MAINTAINER= tg@FreeBSD.org
|
1997-04-28 11:22:59 +02:00
|
|
|
|
2000-09-08 13:58:52 +02:00
|
|
|
BUILD_DEPENDS= ${PYDISTUTILS}
|
1997-04-28 11:22:59 +02:00
|
|
|
|
2000-09-08 13:58:52 +02:00
|
|
|
USE_PYTHON= yes
|
2000-09-04 14:35:31 +02:00
|
|
|
|
2000-03-27 12:33:49 +02:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/py-numeric
|
|
|
|
EXAMPLEDIR= ${PREFIX}/share/examples/py-numeric
|
1997-04-28 11:22:59 +02:00
|
|
|
|
2000-11-17 13:19:30 +01:00
|
|
|
post-extract:
|
|
|
|
.for dir in FFT LALITE RANLIB RNG
|
|
|
|
@(cd ${WRKSRC}/Packages/${dir}; \
|
|
|
|
${LN} -sf ../../../Include Include/Numeric)
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
@(cd ${WRKSRC}; ${PYTHON_CMD} setup_all.py build)
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@(cd ${WRKSRC}; ${PYTHON_CMD} setup_all.py install)
|
|
|
|
|
1998-06-24 08:09:19 +02:00
|
|
|
@${MKDIR} ${EXAMPLEDIR}
|
2000-03-27 12:33:49 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Demo/*.py ${EXAMPLEDIR}
|
|
|
|
@${MKDIR} ${EXAMPLEDIR}/NumTut
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Demo/NumTut/* ${EXAMPLEDIR}/NumTut
|
1997-05-05 14:27:10 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-03-27 12:33:49 +02:00
|
|
|
# @${MKDIR} ${DOCDIR}
|
|
|
|
# ${INSTALL_DATA} ${WRKSRC}/Doc/numpy.pdf ${DOCDIR}
|
1997-05-05 14:27:10 +02:00
|
|
|
.endif
|
1997-04-28 11:22:59 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|