git: dda48e89ead7 - main - math/superlu: Format with portfmt(1) and portclippy(1)

From: Älven <alven_at_FreeBSD.org>
Date: Sun, 03 Aug 2025 18:00:16 UTC
The branch main has been updated by alven:

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

commit dda48e89ead71c25e90a0e8434815c61e4dc6708
Author:     Älven <alven@FreeBSD.org>
AuthorDate: 2025-08-03 15:21:31 +0000
Commit:     Älven <alven@FreeBSD.org>
CommitDate: 2025-08-03 17:59:40 +0000

    math/superlu: Format with portfmt(1) and portclippy(1)
    
    PR:             275839
    Approved by:    yuri@ (Mentor)
---
 math/superlu/Makefile | 31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)

diff --git a/math/superlu/Makefile b/math/superlu/Makefile
index 6e507b47ea81..43e41239c43f 100644
--- a/math/superlu/Makefile
+++ b/math/superlu/Makefile
@@ -11,40 +11,40 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/License.txt
 
 USES=		cmake fortran pkgconfig
-USE_LDCONFIG=	yes
-
 USE_GITHUB=	yes
 GH_ACCOUNT=	xiaoyeli
+USE_LDCONFIG=	yes
 
-CMAKE_ON=	USE_XSDK_DEFAULTS BUILD_SHARED_LIBS
+CMAKE_ON=	BUILD_SHARED_LIBS USE_XSDK_DEFAULTS
 CMAKE_OFF=	enable_tests
 
+PORTDOCS=	*
+PORTEXAMPLES=	*
+
 OPTIONS_DEFINE=		DOCS EXAMPLES
+OPTIONS_DEFAULT=	REFERENCE
 OPTIONS_SINGLE=		BLAS
 OPTIONS_SINGLE_BLAS=	ATLAS OPENBLAS REFERENCE
-OPTIONS_DEFAULT=	REFERENCE
+
+REFERENCE_DESC=		Reference BLAS implementation
 
 ATLAS_USES=		blaslapack:atlas
 ATLAS_CMAKE_ON=		-DBLA_VENDOR:STRING="ATLAS"
 OPENBLAS_USES=		blaslapack:openblas
 OPENBLAS_CMAKE_ON=	-DBLA_VENDOR:STRING="OpenBLAS"
-REFERENCE_DESC=		Reference blas implementation
 REFERENCE_USES=		blaslapack
 REFERENCE_CMAKE_ON=	-DBLA_VENDOR:STRING="Generic"
 
-PORTDOCS=		*
-PORTEXAMPLES=		*
-
 post-patch:
-	@${REINPLACE_CMD} -e \
-		'/CMAKE_C_FLAGS_RELEASE/s|^|#|' ${WRKSRC}/CMakeLists.txt
-	@${REINPLACE_CMD} -e \
-		'/FFLAGS/s|FATAL_ERROR|WARNING|' ${WRKSRC}/cmake/XSDKDefaults.cmake
+	@${REINPLACE_CMD} -e '/CMAKE_C_FLAGS_RELEASE/s|^|#|' \
+		${WRKSRC}/CMakeLists.txt
+	@${REINPLACE_CMD} -e '/FFLAGS/s|FATAL_ERROR|WARNING|' \
+		${WRKSRC}/cmake/XSDKDefaults.cmake
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC}/DOC && ${COPYTREE_SHARE} "html ug.pdf" \
-		${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/DOC && \
+		${COPYTREE_SHARE} "html ug.pdf" ${STAGEDIR}${DOCSDIR}
 
 post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@@ -54,7 +54,8 @@ post-install-EXAMPLES-on:
 
 do-test:
 	@cd ${BUILD_WRKSRC} && \
-		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -Denable_tests:BOOL=ON ${CMAKE_SOURCE_PATH} && \
+		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} \
+		-Denable_tests:BOOL=ON ${CMAKE_SOURCE_PATH} && \
 		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
 		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test