diff --git a/science/sparta/Makefile b/science/sparta/Makefile index b03b16fa993e..068a8b0261b5 100644 --- a/science/sparta/Makefile +++ b/science/sparta/Makefile @@ -1,50 +1,49 @@ PORTNAME= sparta PORTVERSION= ${GH_TAGNAME:C/([0-9]{1,2})([A-Z][a-z][a-z])([0-9]{4})/\3.\2.\1/S/Jan/01/S/Feb/02/S/Mar/03/S/Apr/04/S/May/05/S/Jun/06/S/Jul/07/S/Aug/08/S/Sep/09/S/Oct/10/S/Nov/11/S/Dec/12/} -PORTREVISION= 2 CATEGORIES= science PKGNAMESUFFIX= -dsmc # Direct Simulation Monte Carlo MAINTAINER= yuri@FreeBSD.org COMMENT= Gas simulator: SPARTA DSMC software package WWW= https://sparta.sandia.gov/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/../LICENSE BUILD_DEPENDS= bash:shells/bash USES= compiler:c++11-lang gmake localbase USE_GITHUB= yes -GH_TAGNAME= 18Jul2022 +GH_TAGNAME= 4Sep2024 CXXFLAGS+= -DSPARTA_UNORDERED_MAP WRKSRC_SUBDIR= src MAKE_ARGS= CC=${CXX} CCFLAGS="${CXXFLAGS}" LINK=${CXX} LINKFLAGS="${LDFLAGS}" mode=exe OPTIONS_SINGLE= PARALLEL OPTIONS_SINGLE_PARALLEL= SERIAL MPI OPTIONS_DEFAULT= MPI PARALLEL_DESC= Parallelization SERIAL_DESC= Serial: no parallelization SERIAL_ALL_TARGET= serial SERIAL_PLIST_FILES= bin/spa_serial MPI_ALL_TARGET= mpi MPI_PLIST_FILES= bin/spa_mpi MPI_CXXFLAGS= -I${LOCALBASE}/mpi/openmpi/include MPI_LDFLAGS= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so \ ${LOCALBASE}/mpi/openmpi/lib/libmpi_cxx.so \ -Wl,-rpath=${LOCALBASE}/mpi/openmpi/lib MPI_LIB_DEPENDS= libmpi_cxx.so:net/openmpi4 PORTSCOUT= ignore:1 # due to a special version tagging scheme that this project uses portscout fails to find new versions, watching their release page instead post-patch: @${REINPLACE_CMD} 's|SHELL = /bin/bash|SHELL = ${LOCALBASE}/bin/bash|' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/spa_* ${STAGEDIR}${PREFIX}/bin/ .include diff --git a/science/sparta/distinfo b/science/sparta/distinfo index 15bb7a55fb93..86785400e93e 100644 --- a/science/sparta/distinfo +++ b/science/sparta/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1658191659 -SHA256 (sparta-sparta-2022.07.18-18Jul2022_GH0.tar.gz) = f292107b42071eea66c62dad9b8511fd3b271789af853114c9d389cff16e59e3 -SIZE (sparta-sparta-2022.07.18-18Jul2022_GH0.tar.gz) = 21720288 +TIMESTAMP = 1725503639 +SHA256 (sparta-sparta-2024.09.4-4Sep2024_GH0.tar.gz) = 93aa951a145d0d785360b388b4f3787a65cfa9fed75e916a9bcdd1eceeaf2f29 +SIZE (sparta-sparta-2024.09.4-4Sep2024_GH0.tar.gz) = 24291485