1997-04-28 09:22:59 +00:00
|
|
|
# New ports collection makefile for: numpy
|
|
|
|
# Date created: 20 April 1997
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1997-04-28 09:22:59 +00:00
|
|
|
#
|
1999-08-25 07:23:21 +00:00
|
|
|
# $FreeBSD$
|
1997-04-28 09:22:59 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 07:20:58 +00:00
|
|
|
PORTNAME= numeric
|
2006-02-06 11:57:02 +00:00
|
|
|
PORTVERSION= 24.2
|
1998-06-25 06:43:28 +00:00
|
|
|
CATEGORIES= math python
|
2008-03-01 13:15:32 +00:00
|
|
|
MASTER_SITES= http://numpy.scipy.org/:doc \
|
2005-07-22 12:52:37 +00:00
|
|
|
${MASTER_SITE_SOURCEFORGE:S/$/:source/}
|
|
|
|
MASTER_SITE_SUBDIR= numpy/:source
|
2000-11-17 12:19:30 +00:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2005-07-22 12:52:37 +00:00
|
|
|
DISTFILES= Numeric-${PORTVERSION}${EXTRACT_SUFX}:source \
|
|
|
|
numpy.pdf:doc
|
|
|
|
EXTRACT_ONLY= Numeric-${PORTVERSION}${EXTRACT_SUFX}
|
1997-04-28 09:22:59 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= tg@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= The Numeric Extension to Python
|
1997-04-28 09:22:59 +00:00
|
|
|
|
2000-09-08 11:58:52 +00:00
|
|
|
USE_PYTHON= yes
|
2002-04-17 11:35:55 +00:00
|
|
|
USE_PYDISTUTILS=yes
|
2007-07-30 09:42:28 +00:00
|
|
|
PYDISTUTILS_PKGNAME= Numeric
|
|
|
|
PYDISTUTILS_EGGINFODIR= ${PYTHONPREFIX_SITELIBDIR}/Numeric
|
2000-09-04 12:35:31 +00:00
|
|
|
|
2005-07-24 17:34:46 +00:00
|
|
|
WRKSRC= ${WRKDIR}/Numeric-${PORTVERSION}
|
|
|
|
|
2005-07-22 12:52:37 +00:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-numeric
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-numeric
|
1997-04-28 09:22:59 +00:00
|
|
|
|
2002-01-09 12:25:54 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-01-15 12:32:05 +00:00
|
|
|
pre-fetch:
|
2002-01-09 12:25:54 +00: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 12:52:37 +00:00
|
|
|
post-extract:
|
2005-07-24 17:34:46 +00:00
|
|
|
@${CP} ${DISTDIR}/numpy.pdf ${WRKDIR}
|
2005-07-22 12:52:37 +00:00
|
|
|
|
2001-10-19 11:13:32 +00:00
|
|
|
post-install:
|
2005-07-22 12:52:37 +00: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 09:22:59 +00:00
|
|
|
|
2002-01-09 12:25:54 +00:00
|
|
|
.include <bsd.port.post.mk>
|