1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/math/numpy/Makefile

45 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: numpy
1998-09-01 07:03:47 +00:00
# Version required: 1.4
# Date created: 20 April 1997
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
1998-09-01 07:03:47 +00:00
# $Id: Makefile,v 1.10 1998/06/30 07:43:01 tg Exp $
#
1998-09-01 07:03:47 +00:00
DISTNAME= LLNLPython5
PKGNAME= py-numeric-1.4
CATEGORIES= math python
1998-04-08 11:13:46 +00:00
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
1998-09-01 07:03:47 +00:00
WRKSRC= ${WRKDIR}/LLNLPython5/Numerical
1998-01-21 13:07:45 +00:00
CONFIGURE_ENV= PREFIX=${PREFIX}
ALL_TARGET= sharedmods
MAKE_FLAGS+= 'OPT=${CFLAGS}'
1998-01-21 13:07:45 +00:00
PYTHONSCRIPTDIR= ${PREFIX}/lib/python1.5
1998-04-08 11:13:46 +00:00
NUMPYDIR= ${PREFIX}/lib/python1.5/site-packages
DOCDIR= ${PREFIX}/share/doc/NumPy
1998-06-24 06:09:19 +00:00
EXAMPLEDIR= ${PREFIX}/share/examples/NumPy
do-configure:
1998-04-08 11:13:46 +00:00
@(cd ${WRKSRC} && ${CONFIGURE_ENV} python makethis.py)
1998-04-08 11:13:46 +00:00
post-install:
${INSTALL_DATA} ${WRKSRC}/Lib/* ${NUMPYDIR}
1998-01-21 13:07:45 +00:00
@${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${NUMPYDIR}
1998-04-15 09:39:16 +00:00
${INSTALL_DATA} ${WRKSRC}/Include/*object.h ${PREFIX}/include/python1.5
1998-06-24 06:09:19 +00:00
@${MKDIR} ${EXAMPLEDIR}
${INSTALL_DATA} ${WRKSRC}/Demo/* ${EXAMPLEDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCDIR}
1998-04-08 11:13:46 +00:00
${INSTALL_DATA} ${WRKSRC}/Doc/*.html ${DOCDIR}
.endif
.include <bsd.port.mk>