41 lines
811 B
Makefile
41 lines
811 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= agrum
|
|
DISTVERSION= 0.18.1
|
|
CATEGORIES= science math
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Graphical modeler for Bayesian networks, influence diagrams, etc
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cmake compiler:c++14-lang
|
|
USE_GITLAB= yes
|
|
USE_LDCONFIG= yes
|
|
LLD_UNSAFE= yes
|
|
|
|
GL_ACCOUNT= agrumery
|
|
GL_PROJECT= aGrUM
|
|
GL_COMMIT= b6c290591e7c4604c8bb7d123f5c768020a07688
|
|
|
|
CMAKE_OFF= USE_SWIG
|
|
|
|
PLIST_SUB+= VERSION=${PORTVERSION}
|
|
|
|
OPTIONS_DEFINE= ODBC OPENMP PYTHON
|
|
OPTIONS_DEFAULT= OPENMP PYTHON
|
|
OPTIONS_SUB= yes
|
|
|
|
ODBC_CMAKE_BOOL= USE_NANODBC
|
|
ODBC_USES= localbase:ldflags
|
|
ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC
|
|
|
|
OPENMP_CMAKE_BOOL= USE_OPENMP
|
|
|
|
PYTHON_CMAKE_BOOL= BUILD_PYTHON
|
|
PYTHON_USES= python
|
|
PYTHON_PLIST_SUB= PYTHON_VER_MAJ=${PYTHON_VER:R}
|
|
|
|
.include <bsd.port.mk>
|