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
|
2005-11-02 16:41:30 +01:00
|
|
|
PORTVERSION= 24.0
|
1998-06-25 08:43:28 +02:00
|
|
|
CATEGORIES= math python
|
2005-07-22 14:52:37 +02:00
|
|
|
MASTER_SITES= http://numeric.scipy.org/:doc \
|
|
|
|
${MASTER_SITE_SOURCEFORGE:S/$/:source/}
|
|
|
|
MASTER_SITE_SUBDIR= numpy/:source
|
2000-11-17 13:19:30 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2005-07-22 14:52:37 +02:00
|
|
|
DISTFILES= Numeric-${PORTVERSION}${EXTRACT_SUFX}:source \
|
|
|
|
numpy.pdf:doc
|
|
|
|
EXTRACT_ONLY= Numeric-${PORTVERSION}${EXTRACT_SUFX}
|
1997-04-28 11:22:59 +02:00
|
|
|
|
1999-08-31 08:53:31 +02:00
|
|
|
MAINTAINER= tg@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= The Numeric Extension to Python
|
1997-04-28 11:22:59 +02:00
|
|
|
|
2000-09-08 13:58:52 +02:00
|
|
|
USE_PYTHON= yes
|
2002-04-17 13:35:55 +02:00
|
|
|
USE_PYDISTUTILS=yes
|
2000-09-04 14:35:31 +02:00
|
|
|
|
2005-07-24 19:34:46 +02:00
|
|
|
WRKSRC= ${WRKDIR}/Numeric-${PORTVERSION}
|
|
|
|
|
2005-07-22 14:52:37 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-numeric
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-numeric
|
1997-04-28 11:22:59 +02:00
|
|
|
|
2002-01-09 13:25:54 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-01-15 13:32:05 +01:00
|
|
|
pre-fetch:
|
2002-01-09 13:25:54 +01:00
|
|
|
.if ${PYTHON_REL} < 200
|
|
|
|
@${ECHO} "Py-numeric doesn't work with Python versions < 2.0."
|
|
|
|
@${ECHO} "Please use the py-numeric17 port for these."
|
|
|
|
@${FALSE}
|
|
|
|
.endif
|
|
|
|
|
2005-07-22 14:52:37 +02:00
|
|
|
post-extract:
|
2005-07-24 19:34:46 +02:00
|
|
|
@${CP} ${DISTDIR}/numpy.pdf ${WRKDIR}
|
2005-07-22 14:52:37 +02:00
|
|
|
|
2001-10-19 13:13:32 +02:00
|
|
|
post-install:
|
2005-07-22 14:52:37 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Demo/*.py ${EXAMPLESDIR}
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}/NumTut
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Demo/NumTut/* ${EXAMPLESDIR}/NumTut
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/numpy.pdf ${DOCSDIR}
|
|
|
|
.endif
|
1997-04-28 11:22:59 +02:00
|
|
|
|
2002-01-09 13:25:54 +01:00
|
|
|
.include <bsd.port.post.mk>
|