aboutsummaryrefslogtreecommitdiff
path: root/math/py-iohexperimenter/Makefile
blob: d0f651db131726f0ed1551ec29d9ccb698733f0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>

PORTNAME=	iohexperimenter
PORTVERSION=	0.2.9
PORTREVISION=	1
CATEGORIES=	math python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	IOHexperimenter-${PORTVERSION}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Experimenter for Iterative Optimization Heuristic

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

RUN_DEPENDS=	${PYNUMPY}

USES=		compiler:c++14-lang dos2unix python:3.6+
USE_PYTHON=	autoplist concurrent distutils

USE_CXXSTD=	c++14

WRKSRC=		${WRKDIR}/IOHexperimenter-${PORTVERSION}

post-patch:
	@${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.py

post-install:
	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/IOHexperimenter/_IOHprofiler*.so

.include <bsd.port.mk>