aboutsummaryrefslogtreecommitdiff
path: root/science/qmcpack
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-01-08 00:21:44 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-01-08 00:22:51 +0000
commitce158a934f248baac70c1c1a83b0a03d1f589a7a (patch)
tree05b76c67f5da5215eaa449767263b9ac7b6bc5de /science/qmcpack
parent231919fc1935355a5f7dc5466844c04cb51c6444 (diff)
downloadports-ce158a934f248baac70c1c1a83b0a03d1f589a7a.tar.gz
ports-ce158a934f248baac70c1c1a83b0a03d1f589a7a.zip
Diffstat (limited to 'science/qmcpack')
-rw-r--r--science/qmcpack/Makefile16
-rw-r--r--science/qmcpack/distinfo6
2 files changed, 10 insertions, 12 deletions
diff --git a/science/qmcpack/Makefile b/science/qmcpack/Makefile
index c7b2253469e2..a887f21d5dfd 100644
--- a/science/qmcpack/Makefile
+++ b/science/qmcpack/Makefile
@@ -1,6 +1,7 @@
PORTNAME= qmcpack
DISTVERSIONPREFIX= v
-DISTVERSION= 3.11.0
+DISTVERSION= 3.12.0-217 # 3.12.0 is broken: https://github.com/QMCPACK/qmcpack/issues/3698
+DISTVERSIONSUFFIX= -g0297e8705
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org
@@ -19,23 +20,20 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libopenblas.so:math/openblas \
libsz.so:science/szip
-USES= cmake compiler:c++11-lang fortran gnome localbase:ldflags pkgconfig python:build
+USES= cmake:testing compiler:c++11-lang fortran gnome localbase:ldflags pkgconfig python:build
+USE_GNOME= libxml2
+
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME:tu}
-USE_GNOME= libxml2
CMAKE_OFF= BUILD_UNIT_TESTS
+CMAKE_TESTING_ON= BUILD_UNIT_TESTS # at least 3 testcases are known to fail
CXXFLAGS+= -I${LOCALBASE}/include/catch2
-PROGS= convert4qmc qmc-check-affinity qmc-extract-eshdf-kvectors qmc-get-supercell qmcpack
+PROGS= convert4qmc convertpw4qmc qmc-check-affinity qmc-extract-eshdf-kvectors qmc-get-supercell qmcfinitesize qmcpack qmcpack.settings
PLIST_FILES= ${PROGS:C/^/bin\//}
BINARY_ALIAS= python=${PYTHON_CMD}
-do-install:
-.for p in ${PROGS}
- ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bin/${p} ${STAGEDIR}${PREFIX}/bin
-.endfor
-
.include <bsd.port.mk>
diff --git a/science/qmcpack/distinfo b/science/qmcpack/distinfo
index 68032e217fa4..9cb02328b195 100644
--- a/science/qmcpack/distinfo
+++ b/science/qmcpack/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1618809230
-SHA256 (QMCPACK-qmcpack-v3.11.0_GH0.tar.gz) = 9fde5dc87fd40887d04e8eec5ebb05efe801f90e4c2e482e0afa8303a1e865a9
-SIZE (QMCPACK-qmcpack-v3.11.0_GH0.tar.gz) = 107240419
+TIMESTAMP = 1641587706
+SHA256 (QMCPACK-qmcpack-v3.12.0-217-g0297e8705_GH0.tar.gz) = 25801b4b792493dd18b26c7b066ddef6cace3b41699aa0d963998ac5e62bfe63
+SIZE (QMCPACK-qmcpack-v3.12.0-217-g0297e8705_GH0.tar.gz) = 114729126