freebsd-ports/math/py-numeric/Makefile

52 lines
1.2 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
2002-01-09 13:25:54 +01:00
PORTVERSION= 20.3
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= numpy
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Numeric-${PORTVERSION}
MAINTAINER= tg@FreeBSD.org
2000-09-08 13:58:52 +02:00
BUILD_DEPENDS= ${PYDISTUTILS}
2000-09-08 13:58:52 +02:00
USE_PYTHON= yes
2000-03-27 12:33:49 +02:00
DOCDIR= ${PREFIX}/share/doc/py-numeric
EXAMPLEDIR= ${PREFIX}/share/examples/py-numeric
2002-01-09 13:25:54 +01:00
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 200
.BEGIN:
@${ECHO} "Py-numeric doesn't work with Python versions < 2.0."
@${ECHO} "Please use the py-numeric17 port for these."
@${FALSE}
.endif
do-build:
2001-10-19 13:13:32 +02:00
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup_all.py build
do-install:
2001-10-19 13:13:32 +02:00
@cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup_all.py install
2001-10-19 13:13:32 +02:00
post-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
.if !defined(NOPORTDOCS)
2000-03-27 12:33:49 +02:00
# @${MKDIR} ${DOCDIR}
# ${INSTALL_DATA} ${WRKSRC}/Doc/numpy.pdf ${DOCDIR}
.endif
2002-01-09 13:25:54 +01:00
.include <bsd.port.post.mk>