openbsd-ports/math/py-Numeric/Makefile
2002-02-15 19:53:42 +00:00

48 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2002/02/15 19:53:43 matt Exp $
COMMENT= "fast array facility to the Python language"
COMMENT-module= "extra modules for py-Numeric"
VERSION= 20.3
DISTNAME= Numeric-${VERSION}
PKGNAME= py-${DISTNAME}
PKGNAME-module= py-Numeric-module-${VERSION}
CATEGORIES= devel
NEED_VERSION= 1.502
MAINTAINER= Shell Hung <shell@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= numpy
HOMEPAGE= http://www.pfdubois.com/numpy/
PYTHON_VER= 2.1
SUBST_VARS= PYTHON_VER
NO_REGRESS= Yes
BUILD_DEPENDS= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
RUN_DEPENDS= ${BUILD_DEPENDS}
MULTI_PACKAGES= -module
SUBPACKAGE?=
.if ${SUBPACKAGE} == "-module"
RUN_DEPENDS= ::math/py-Numeric
.endif
PY_SETUP= setup_all.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>