git: c8ae25c26418 - main - science/nwchem: Use proper tarball

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 04 Sep 2024 22:11:21 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c8ae25c264180aca2eaf4dfd07fe2c8d97fdd72c

commit c8ae25c264180aca2eaf4dfd07fe2c8d97fdd72c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-04 22:09:49 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-04 22:11:18 +0000

    science/nwchem: Use proper tarball
    
    The Previous tarball was GitHub's standard tarball and didn't
    contain some preprocessing done in the release which made
    NWChem broken.
---
 science/nwchem/Makefile | 15 +++++++++------
 science/nwchem/distinfo |  8 +++-----
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/science/nwchem/Makefile b/science/nwchem/Makefile
index 3556f34ea8ad..53799cb10551 100644
--- a/science/nwchem/Makefile
+++ b/science/nwchem/Makefile
@@ -1,12 +1,13 @@
 PORTNAME=	nwchem
-DISTVERSIONPREFIX=	v
+#DISTVERSIONPREFIX=	v
 DISTVERSION=	7.2.3
-DISTVERSIONSUFFIX=	-release
+DISTVERSIONSUFFIX=	-release.revision-d690e065-src.2024-08-27
+PORTREVISION=	1
 CATEGORIES=	science
-MASTER_SITES=	https://github.com/nwchemgit/nwchem/releases/download/${DISTVERSIONFULL}/ \
+MASTER_SITES=	https://github.com/nwchemgit/nwchem/releases/download/v${DISTVERSION}-release/ \
 		https://www.chemie.uni-bonn.de/grimme/de/software/dft-d3/:dft3 \
 		https://gitlab.com/libxc/libxc/-/archive/${LIBXC_VERSION}/:libxc
-DISTFILES=	${PORTNAME}-${DISTVERSION}-${DISTVERSIONSUFFIX}.revision-d690e065-src.2024-08-27${EXTRACT_SUFX} \
+DISTFILES=	${PORTNAME}-${DISTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX} \
 		dftd3.tgz:dft3 \
 		libxc-${LIBXC_VERSION}.tar.gz:libxc
 DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
@@ -33,8 +34,10 @@ TEST_DEPENDS=	bash:shells/bash
 USES=		cmake:indirect fortran gettext-runtime gmake perl5 pkgconfig
 USE_PERL5=	build
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	nwchemgit
+#USE_GITHUB=	yes
+#GH_ACCOUNT=	nwchemgit
+
+WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
 
 MAKEFILE=	GNUmakefile
 ARCH_64BIT=	${ARCH:C/.*64.*/64/:S/${ARCH}//}
diff --git a/science/nwchem/distinfo b/science/nwchem/distinfo
index 83286c9f9ee2..3cfba638d886 100644
--- a/science/nwchem/distinfo
+++ b/science/nwchem/distinfo
@@ -1,9 +1,7 @@
-TIMESTAMP = 1725047937
-SHA256 (nwchem-7.2.3/nwchem-7.2.3--release.revision-d690e065-src.2024-08-27.tar.gz) = fec76fbe650cdab8b00c8c1d7a5671554313e04a8e9e2fb300a7aad486910e6f
-SIZE (nwchem-7.2.3/nwchem-7.2.3--release.revision-d690e065-src.2024-08-27.tar.gz) = 213226695
+TIMESTAMP = 1725406261
+SHA256 (nwchem-7.2.3/nwchem-7.2.3-release.revision-d690e065-src.2024-08-27.tar.gz) = a0f76f12ae2f634d33e76409cd389787e6c458cc2cf05ed453538de2d47a23a5
+SIZE (nwchem-7.2.3/nwchem-7.2.3-release.revision-d690e065-src.2024-08-27.tar.gz) = 234392394
 SHA256 (nwchem-7.2.3/dftd3.tgz) = d97cf9758f61aa81fd85425448fbf4a6e8ce07c12e9236739831a3af32880f59
 SIZE (nwchem-7.2.3/dftd3.tgz) = 555804
 SHA256 (nwchem-7.2.3/libxc-6.1.0.tar.gz) = 9baf23501dca21b05fa22d8e2ffeb56f294abe19ba12584cb3f9b421ae719c5f
 SIZE (nwchem-7.2.3/libxc-6.1.0.tar.gz) = 64588321
-SHA256 (nwchem-7.2.3/nwchemgit-nwchem-v7.2.3-release_GH0.tar.gz) = fec76fbe650cdab8b00c8c1d7a5671554313e04a8e9e2fb300a7aad486910e6f
-SIZE (nwchem-7.2.3/nwchemgit-nwchem-v7.2.3-release_GH0.tar.gz) = 213226695