blob: 7a5af0b91d3c3e803ecaf9904ff4785b9e623799 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
PORTNAME= vipster
DISTVERSIONPREFIX= v
DISTVERSION= 1.19.1b-14
DISTVERSIONSUFFIX= -g7168a1b
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org
COMMENT= Crystalline and molecular structure visualisation program
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= catch>0:devel/catch \
cli11>0:devel/cli11 \
libfmt>0:devel/libfmt \
nlohmann-json>0:devel/nlohmann-json
USES= cmake compiler:c++17-lang
USE_GL= gl
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= sgsaenger
OPTIONS_DEFINE= DESKTOP LAMMPS PYTHON
OPTIONS_DEFAULT= DESKTOP
OPTIONS_SUB= yes
CMAKE_OFF= VIPSTER_DOWNLOAD_DEPENDENCIES
DESKTOP_DESC= Build QT-based desktop app
DESKTOP_CMAKE_BOOL= VIPSTER_DESKTOP
DESKTOP_USES= qt:5
DESKTOP_USE= QT=core,gui,widgets,buildtools_build,qmake_build
LAMMPS_DESC= Interactive LAMMPS in desktop app
LAMMPS_CMAKE_BOOL= VIPSTER_LAMMPS
LAMMPS_IMPLIES= DESKTOP
LAMMPS_LIB_DEPENDS= libfftw3.so:math/fftw3 \
liblammps.so:science/lammps \
libmpi.so:net/openmpi
LAMMPS_CONFLICTS_BUILD= mpich
PYTHON_CMAKE_BOOL= VIPSTER_PYLIB VIPSTER_PYWIDGET
PYTHON_BROKEN= Bundles pybind11: https://github.com/sgsaenger/vipster/issues/23
PORTSCOUT= limit:^[0-9][0-9a-z\.]*$$
do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DTESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
.include <bsd.port.mk>
|