aboutsummaryrefslogtreecommitdiffstats
path: root/science/libgeodecomp/Makefile
blob: d3a85ada708cef00b592a5aee6737862e3e2668d (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
33
34
35
36
37
38
39
40
41
42
43
44
# Created by: Kurt Kanzenbach <kurt@kmk-computers.de>
# $FreeBSD$

PORTNAME=       libgeodecomp
PORTVERSION=        0.4.0
PORTREVISION=       6
CATEGORIES=     science devel
MASTER_SITES=       http://www.libgeodecomp.org/archive/

MAINTAINER=     kurt@kmk-computers.de
COMMENT=        LibGeoDecomp is an auto-parallelizing library for computer simulations

LICENSE=        BSL
LICENSE_FILE=       ${WRKSRC}/LICENSE

LIB_DEPENDS=        libboost_system.so:devel/boost-libs libboost_date_time.so:devel/boost-libs \
            libboost_filesystem.so:devel/boost-libs

USES=           cmake:outsource compiler:c++11-lib
USE_GCC=        yes
USE_LDCONFIG=       yes

CMAKE_ARGS=     -DWITH_CUDA:BOOL=FALSE -DWITH_VISIT:BOOL=FALSE \
            -DWITH_HPX:BOOL=FALSE -DWITH_OPENCL:BOOL=FALSE \
            -DWITH_OPENCV:BOOL=FALSE -DWITH_TYPEMAPS=FALSE

OPTIONS_DEFINE=     MPI QT4 SILO SCOTCH
OPTIONS_DEFAULT=    MPI QT4 SILO SCOTCH

MPI_LIB_DEPENDS=    libmpich.so:net/mpich2
MPI_CMAKE_BOOL=     WITH_MPI

QT4_USE=        QT4=corelib,gui,opengl,qmake_build,moc_build,rcc_build,uic_build
QT4_CMAKE_BOOL=     WITH_QT

SILO_DESC=      Enable Silo dependend output
SILO_LIB_DEPENDS=   libsiloh5.so:science/silo
SILO_CMAKE_BOOL=    WITH_SILO

SCOTCH_DESC=        Enable graph partitioning based on Scotch/Scotch-PT
SCOTCH_BUILD_DEPENDS=   ${LOCALBASE}/lib/libscotch.a:cad/scotch
SCOTCH_CMAKE_BOOL=  WITH_SCOTCH

.include <bsd.port.mk>