1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/math/py-numeric/Makefile

40 lines
1006 B
Makefile

# New ports collection makefile for: numpy
# Date created: 20 April 1997
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= numeric
PORTVERSION= 15.3
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= numpy
PKGNAMEPREFIX= py-
DISTNAME= Numerical-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/python1.5/site-packages/distutils/core.py:${PORTSDIR}/misc/py-distutils
RUN_DEPENDS= python:${PORTSDIR}/lang/python
DOCDIR= ${PREFIX}/share/doc/py-numeric
EXAMPLEDIR= ${PREFIX}/share/examples/py-numeric
do-build:
@(cd ${WRKSRC}; python setup.py build)
do-install:
@(cd ${WRKSRC}; python setup.py install)
@${MKDIR} ${EXAMPLEDIR}
${INSTALL_DATA} ${WRKSRC}/Demo/*.py ${EXAMPLEDIR}
@${MKDIR} ${EXAMPLEDIR}/NumTut
${INSTALL_DATA} ${WRKSRC}/Demo/NumTut/* ${EXAMPLEDIR}/NumTut
.if !defined(NOPORTDOCS)
# @${MKDIR} ${DOCDIR}
# ${INSTALL_DATA} ${WRKSRC}/Doc/numpy.pdf ${DOCDIR}
.endif
.include <bsd.port.mk>