freebsd-ports/math/py-numeric/Makefile

53 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: numpy
# Date created: 20 April 1997
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
1999-08-25 09:23:21 +02:00
# $FreeBSD$
#
2000-04-14 09:20:58 +02:00
PORTNAME= numeric
PORTVERSION= 24.0
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
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}
MAINTAINER= tg@FreeBSD.org
COMMENT= The Numeric Extension to Python
2000-09-08 13:58:52 +02:00
USE_PYTHON= yes
2002-04-17 13:35:55 +02:00
USE_PYDISTUTILS=yes
WRKSRC= ${WRKDIR}/Numeric-${PORTVERSION}
2005-07-22 14:52:37 +02:00
DOCSDIR= ${PREFIX}/share/doc/py-numeric
EXAMPLESDIR= ${PREFIX}/share/examples/py-numeric
2002-01-09 13:25:54 +01:00
.include <bsd.port.pre.mk>
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:
@${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
2002-01-09 13:25:54 +01:00
.include <bsd.port.post.mk>