summaryrefslogtreecommitdiff
path: root/astro/py-pykep/Makefile
blob: 9837f3e9951f2b0797be739c273ef52202647035 (plain)
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

PORTNAME=	pykep
DISTVERSIONPREFIX=	v
DISTVERSION=	2.6
CATEGORIES=	astro python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Python binding for pykep, library for astrodynamics research

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

LIB_DEPENDS=	libboost_serialization.so:devel/boost-libs \
		libkeplerian_toolbox.so:astro/pykep \
		${PY_BOOST}
RUN_DEPENDS=	${PYNUMPY} \
		${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}pygmo2>0:science/py-pygmo2@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}

USES=		cmake compiler:c++11-lang python:3.7+
USE_PYTHON=	flavors

CMAKE_OFF=	PYKEP_BUILD_KEP_TOOLBOX PYKEP_BUILD_TESTS
CMAKE_ON=	PYKEP_BUILD_PYKEP

USE_GITHUB=	yes
GH_ACCOUNT=	esa

.include <bsd.port.mk>