1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/math/py-numeric/Makefile
Thomas Gellekum efd27945b8 Upgrade to 24.2.
PR:		ports/92784
Submitted by:	"Pedro F. Giffuni" <giffunip at asme dot org>
2006-02-06 11:57:02 +00:00

53 lines
1.3 KiB
Makefile

# New ports collection makefile for: numpy
# Date created: 20 April 1997
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= numeric
PORTVERSION= 24.2
CATEGORIES= math python
MASTER_SITES= http://numeric.scipy.org/:doc \
${MASTER_SITE_SOURCEFORGE:S/$/:source/}
MASTER_SITE_SUBDIR= numpy/:source
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
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
USE_PYTHON= yes
USE_PYDISTUTILS=yes
WRKSRC= ${WRKDIR}/Numeric-${PORTVERSION}
DOCSDIR= ${PREFIX}/share/doc/py-numeric
EXAMPLESDIR= ${PREFIX}/share/examples/py-numeric
.include <bsd.port.pre.mk>
pre-fetch:
.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
post-extract:
@${CP} ${DISTDIR}/numpy.pdf ${WRKDIR}
post-install:
@${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
.include <bsd.port.post.mk>