blob: 63579b04ee75fad3391fec0a8995d0b9fa52456c (
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
32
33
34
35
36
37
38
39
|
PORTNAME= liggghts
DISTVERSION= 3.8.0-26
PORTREVISION= 1
DISTVERSIONSUFFIX= -g6e873439
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org
COMMENT= Discrete element method particle simulation software
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/../LICENSE
BUILD_DEPENDS= gsed:textproc/gsed
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libfreetype.so:print/freetype2 \
libmpi.so:net/openmpi \
libpng.so:graphics/png \
libtiff.so:graphics/tiff \
libvtkViewsCore-8.2.so:math/vtk8
USES= compiler:c++17-lang cmake fortran jpeg qt:5 xorg
USE_GITHUB= yes
GH_ACCOUNT= CFDEMproject
GH_PROJECT= ${PORTNAME:tu}-PUBLIC
USE_XORG= ice sm x11 xext xt
USE_QT= core gui sql widgets qmake_build buildtools_build
USE_LDCONFIG= yes
CMAKE_ARGS= -DMPI_C_COMPILER:FILEPATH="${LOCALBASE}/mpi/openmpi/bin/mpicc" \
-DMPI_CXX_COMPILER:FILEPATH="${LOCALBASE}/mpi/openmpi/bin/mpicxx"
WRKSRC_SUBDIR= src
CFLAGS+= -fPIC
CXXFLAGS+= -fPIC
BINARY_ALIAS= sed=gsed
.include <bsd.port.mk>
|