git: 12c308d11631 - main - math/lapack: fix macOS metafiles installed as manpages

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Mon, 15 Jan 2024 18:46:27 UTC
The branch main has been updated by thierry:

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

commit 12c308d116318a87c38d591bfbb7b8cb24f99801
Author:     Jamie Landeg-Jones <jamie@catflap.org>
AuthorDate: 2024-01-15 18:41:44 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2024-01-15 18:45:15 +0000

    math/lapack: fix macOS metafiles installed as manpages
    
    PR:             276345
    Reported by:    jamie@catflap.org
---
 math/lapack/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/math/lapack/Makefile b/math/lapack/Makefile
index 6bbcb6659a72..81b40008ccf9 100644
--- a/math/lapack/Makefile
+++ b/math/lapack/Makefile
@@ -1,7 +1,7 @@
 PORTNAME?=	lapack
 PORTVERSION=	3.12.0
 .if !(defined(BLAS_SLAVEPORT) || defined(CBLAS_SLAVEPORT) || defined(XLAPACK_SLAVEPORT) || defined(LAPACKE_SLAVEPORT))
-PORTREVISION=	1
+PORTREVISION=	2
 .else
 PORTREVISION?=	1	# Never remove this line, keep PORTREVISION?=0 in case.
 .endif
@@ -127,7 +127,7 @@ post-build:
 
 pre-su-install:
 .if !(defined(BLAS_SLAVEPORT) || defined(CBLAS_SLAVEPORT) || defined(XLAPACK_SLAVEPORT) || defined(LAPACKE_SLAVEPORT))
-	cd ${WRKDIR} && ${FIND} man/man3 -type f | ${GREP} -v Users_julie | \
+	cd ${WRKDIR} && ${FIND} man/man3 -type f | ${GREP} -v '/\._' | \
 	tee ${WRKDIR}/manpages | ${SED} 's|^|share/|; s|$$|.gz|' >> ${TMPPLIST}
 	cd ${WRKDIR} && \
 	${XARGS} -J @ ${INSTALL_MAN} @ ${STAGEDIR}${PREFIX}/share/man/man3 < ${WRKDIR}/manpages