openbsd-ports/math/py-Numeric/Makefile

46 lines
901 B
Makefile
Raw Normal View History

2002-09-15 07:08:42 -04:00
# $OpenBSD: Makefile,v 1.8 2002/09/15 11:08:42 shell Exp $
COMMENT= "fast array facility to the Python language"
2002-09-15 07:08:42 -04:00
VERSION= 22.0
DISTNAME= Numeric-${VERSION}
PKGNAME= py-${DISTNAME}
CATEGORIES= math
MAINTAINER= Shell Hung <shell@openbsd.org>
# Python License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2002-05-13 19:31:24 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=numpy/}
HOMEPAGE= http://www.pfdubois.com/numpy/
FLAVORS= python2.1
FLAVOR?=
.if ${FLAVOR:L} == "python2.1"
PYTHON_VER= 2.1
.else
PYTHON_VER= 2.2
.endif
SUBST_VARS= PYTHON_VER
NO_REGRESS= Yes
2002-02-15 14:53:42 -05:00
BUILD_DEPENDS= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
RUN_DEPENDS= ${BUILD_DEPENDS}
PY_SETUP= setup.py
PY_CMD= @cd ${WRKSRC} && python${PYTHON_VER} ${PY_SETUP}
do-build:
${PY_CMD} build --build-base=${WRKSRC}
do-install:
${PY_CMD} install --prefix=${PREFIX}
.include <bsd.port.mk>