freebsd-ports/science/py-mdp/Makefile
Mathieu Arnold 21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00

33 lines
946 B
Makefile

# Created by: Li-Lun Wang <llwang@infor.org>
# $FreeBSD$
PORTNAME= mdp
PORTVERSION= 3.3
PORTREVISION= 1
CATEGORIES= science python
MASTER_SITES= SF/${PORTNAME}-toolkit/${PORTNAME}-toolkit/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:tu}-${PORTVERSION}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Modular toolkit for Data Processing
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYNUMPY}
USES= python
USE_PYTHON= distutils autoplist
OPTIONS_DEFINE= LIBSVM PP SCIPY
LIBSVM_DESC= Provide the LibSVMClassifier node
PP_DESC= Provide the Parallel Python PPScheduler
SCIPY_DESC= Instal SciPy versions of eigensolver, FFT and convolution
LIBSVM_RUN_DEPENDS= libsvm>2.91:${PORTSDIR}/science/libsvm \
libsvm-python>2.91:${PORTSDIR}/science/libsvm-python
PP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pp>0:${PORTSDIR}/devel/py-pp
SCIPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>=0.5.2:${PORTSDIR}/science/py-scipy
.include <bsd.port.mk>