2018-11-04 09:24:16 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= liggghts
|
|
|
|
DISTVERSION= 3.8.0
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 22:46:53 +02:00
|
|
|
PORTREVISION= 5
|
2018-11-04 09:24:16 +01:00
|
|
|
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 \
|
2019-06-16 18:05:28 +02:00
|
|
|
libpng.so:graphics/png \
|
2018-11-04 09:24:16 +01:00
|
|
|
libtiff.so:graphics/tiff \
|
|
|
|
libvtkViewsCore-8.1.so:math/vtk8
|
|
|
|
|
2019-11-07 18:17:53 +01:00
|
|
|
USES= compiler:c++17-lang cmake fortran jpeg qt:5 xorg
|
2018-11-04 09:24:16 +01:00
|
|
|
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
|
|
|
|
|
2018-11-04 11:25:39 +01:00
|
|
|
CMAKE_ARGS= -DMPI_C_COMPILER:FILEPATH="${LOCALBASE}/mpi/openmpi/bin/mpicc" -DMPI_CXX_COMPILER:FILEPATH="${LOCALBASE}/mpi/openmpi/bin/mpicxx" \
|
|
|
|
-DVTK_DIR:FILEPATH="${LOCALBASE}/lib/cmake/vtk-8.1"
|
2018-11-04 09:24:16 +01:00
|
|
|
|
|
|
|
WRKSRC_SUBDIR= src
|
|
|
|
|
|
|
|
CFLAGS+= -fPIC
|
|
|
|
CXXFLAGS+= -fPIC
|
|
|
|
|
|
|
|
BINARY_ALIAS= sed=gsed
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|