git: 2ab27802c943 - main - science/gromacs: Add TEST_DEPENDS; Remove unnecessary patch command

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 13 Jul 2023 15:57:39 UTC
The branch main has been updated by yuri:

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

commit 2ab27802c9436dde0ed20175a863dcf60992eb1f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-13 15:56:52 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-13 15:57:37 +0000

    science/gromacs: Add TEST_DEPENDS; Remove unnecessary patch command
---
 science/gromacs/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/science/gromacs/Makefile b/science/gromacs/Makefile
index a1eb2451d254..cf150eb41fad 100644
--- a/science/gromacs/Makefile
+++ b/science/gromacs/Makefile
@@ -14,6 +14,7 @@ BROKEN_i386=	undefined reference to `__atomic_load' and `__atomic_compare_exchan
 
 BUILD_DEPENDS=	boost-libs>=1.44:devel/boost-libs
 LIB_DEPENDS=	libhwloc.so:devel/hwloc2
+TEST_DEPENDS=	googletest>0:devel/googletest
 
 USES=		cmake compiler:c++17-lang fortran gnome perl5 pkgconfig python:build shebangfix xorg
 USE_GNOME=	libxml2
@@ -88,10 +89,6 @@ THREAD_MPI_CMAKE_BOOL=	GMX_THREAD_MPI
 THREAD_MPI_PLIST_SUB=	SUFFIX_MPI=""
 
 post-patch:
-	@${FIND} ${WRKSRC} -name "CMakeLists.txt" | ${XARGS} \
-		${REINPLACE_CMD} -e \
-		's|share/man|man| ; \
-		 /pkgconfig/s|LIB_INSTALL_DIR}|CMAKE_INSTALL_PREFIX}/libdata|'
 	@${FIND} ${WRKSRC} -name "GMXRC.*" | ${XARGS} ${REINPLACE_CMD} -e \
 		's|LDLIB/pkgconfig|LDLIB/../libdata/pkgconfig| ; \
 		 s|LDLIB}/pkgconfig|LDLIB}/../libdata/pkgconfig|'