1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/math/py-numeric17/Makefile
Alexander Botero-Lowry 4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00

50 lines
1.2 KiB
Makefile

# New ports collection makefile for: numpy
# Date created: 20 April 1997
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= numeric
PORTVERSION= 17.3.0
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= numpy
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Numeric-${PORTVERSION}
MAINTAINER= tg@FreeBSD.org
COMMENT= The Numeric Extension to Python
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_EGGINFO= Numeric/Numeric-0.0.0-py${PYTHON_VER}.egg-info \
Numeric/Numeric-${PORTVERSION}-py${PYTHON_VER}.egg-info \
RNG-3.0-py${PYTHON_VER}.egg-info \
MA-4.1.0-py${PYTHON_VER}.egg-info \
FFTPACK-1.0-py${PYTHON_VER}.egg-info
PYSETUP= setup_all.py
NO_LATEST_LINK= yes
DOCDIR= ${PREFIX}/share/doc/py-numeric
EXAMPLEDIR= ${PREFIX}/share/examples/py-numeric
post-extract:
.for dir in FFT LALITE RANLIB RNG
@(cd ${WRKSRC}/Packages/${dir}; \
${LN} -sf ../../../Include Include/Numeric)
.endfor
post-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>