1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/math/py-numeric/Makefile
1998-04-15 09:39:16 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: numpy
# Version required: 1.1
# Date created: 20 April 1997
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
# $Id: Makefile,v 1.6 1998/04/08 11:13:37 tg Exp $
#
DISTNAME= NumPy-11
PKGNAME= numpy-1.1
CATEGORIES= math
MASTER_SITES= ftp://ftp-icf.llnl.gov/pub/python/
EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.ORG
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
RUN_DEPENDS= python:${PORTSDIR}/lang/python
WRKSRC= ${WRKDIR}/LLNLDistribution/Numerical
CONFIGURE_ENV= PREFIX=${PREFIX}
ALL_TARGET= sharedmods
MAKE_FLAGS+= 'OPT=${CFLAGS}'
PYTHONSCRIPTDIR= ${PREFIX}/lib/python1.5
NUMPYDIR= ${PREFIX}/lib/python1.5/site-packages
DOCDIR= ${PREFIX}/share/doc/NumPy
do-configure:
@(cd ${WRKSRC} && ${CONFIGURE_ENV} python makethis.py)
post-install:
${INSTALL_DATA} ${WRKSRC}/Lib/* ${NUMPYDIR}
@${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${NUMPYDIR}
${INSTALL_DATA} ${WRKSRC}/Include/*object.h ${PREFIX}/include/python1.5
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/Doc/*.html ${DOCDIR}
.endif
.include <bsd.port.mk>