Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2016 13:43:25 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r414850 - head/math/superlu
Message-ID:  <201605091343.u49DhPKk086847@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Mon May  9 13:43:25 2016
New Revision: 414850
URL: https://svnweb.freebsd.org/changeset/ports/414850

Log:
  Update to 5.2.0.
  
  PR:		209298
  Submitted by:	tkato432 yahoo com
  Sponsored by:	Absolight

Modified:
  head/math/superlu/Makefile   (contents, props changed)
  head/math/superlu/distinfo   (contents, props changed)
  head/math/superlu/pkg-plist   (contents, props changed)

Modified: head/math/superlu/Makefile
==============================================================================
--- head/math/superlu/Makefile	Mon May  9 13:43:20 2016	(r414849)
+++ head/math/superlu/Makefile	Mon May  9 13:43:25 2016	(r414850)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	superlu
-PORTVERSION=	5.1.1
+PORTVERSION=	5.2.0
 CATEGORIES=	math
 MASTER_SITES=	http://crd-legacy.lbl.gov/~xiaoye/SuperLU/ \
 		http://crd-legacy.lbl.gov/~xiaoye/:doc
@@ -13,22 +13,21 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Library of routines for performing sparse factorization
 
 LICENSE=	BSD3CLAUSE
-LICENSE_FILE=	${WRKDIR}/LICENSE
+LICENSE_FILE=	${WRKSRC}/License.txt
 
 USES=		cmake:outsource fortran
 
 USE_LDCONFIG=	yes
 
 WRKSRC=		${WRKDIR}/SuperLU_${PORTVERSION}
-PLIST_SUB=	P_VERSION="${PORTVERSION}" P_VER="${P_VER}"
+PLIST_SUB=	P_VERSION="${P_VERSION}" P_VER="${P_VER}"
 
 CMAKE_ARGS=	-DUSE_XSDK_DEFAULTS:BOOL=ON \
-		-Denable_examples:BOOL=OFF \
-		-Denable_tests:BOOL=OFF
+		-Denable_examples:BOOL=OFF
 
 PORTDOCS=	*
 
-OPTIONS_DEFINE=		DOCS
+OPTIONS_DEFINE=		DOCS TEST
 OPTIONS_SINGLE=		BLAS
 OPTIONS_SINGLE_BLAS=	ATLAS GOTOBLAS REFERENCE
 OPTIONS_DEFAULT=	REFERENCE
@@ -44,26 +43,19 @@ GOTOBLAS_CMAKE_ARGS=	-DBLA_VENDOR:STRING
 REFERENCE_DESC=		Reference blas implementation
 REFERENCE_USES=		blaslapack
 REFERENCE_CMAKE_ARGS=	-DBLA_VENDOR:STRING="Generic"
+TEST_CMAKE_ARGS=	-Denable_tests:BOOL=ON
 
-P_VER=		${PORTVERSION:C/^([[:alnum:]]+).*/\1/}
+P_VERSION=	5.1.1
+P_VER=		${P_VERSION:C/^([[:alnum:]]+).*/\1/}
 SLU_DOCS=	SLU_general.ps.gz simax-29176.pdf
 
-post-extract:
-	@${HEAD} -32 ${WRKSRC}/README > ${LICENSE_FILE}
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/CMAKE_C_FLAGS_RELEASE/s|^|#|' ${WRKSRC}/CMakeLists.txt
 	@${REINPLACE_CMD} -e \
-		'/FFLAGS/s|FATAL_ERROR|WARNING|' ${WRKSRC}/XSDKDefaults.cmake
+		'/FFLAGS/s|FATAL_ERROR|WARNING|' ${WRKSRC}/cmake/XSDKDefaults.cmake
 	@${REINPLACE_CMD} -e \
-		's|\(/include\)$$|/\1/superlu|' ${WRKSRC}/SRC/CMakeLists.txt
-
-post-install:
-	${LN} -sf libsuperlu_${PORTVERSION}.so \
-		${STAGEDIR}${PREFIX}/lib/libsuperlu.so.${P_VER}
-	${LN} -sf libsuperlu_${PORTVERSION}.so \
-		${STAGEDIR}${PREFIX}/lib/libsuperlu.so
+		's|\(/include\)$$|\1/superlu|' ${WRKSRC}/SRC/CMakeLists.txt
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
@@ -72,8 +64,4 @@ post-install-DOCS-on:
 	(cd ${WRKSRC}/DOC && ${COPYTREE_SHARE} "html ug.pdf" \
 		${STAGEDIR}${DOCSDIR})
 
-do-test:
-	(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} testing )
-	(cd ${WRKSRC}/TESTING && ${CAT} *.out )
-
 .include <bsd.port.mk>

Modified: head/math/superlu/distinfo
==============================================================================
--- head/math/superlu/distinfo	Mon May  9 13:43:20 2016	(r414849)
+++ head/math/superlu/distinfo	Mon May  9 13:43:25 2016	(r414850)
@@ -1,5 +1,5 @@
-SHA256 (superlu/superlu_5.1.1.tar.gz) = cec5022c8dc16e38e5c8bc92ed196144fe58864bd1c5ad73fb698398308f8065
-SIZE (superlu/superlu_5.1.1.tar.gz) = 2746173
+SHA256 (superlu/superlu_5.2.0.tar.gz) = 065bb8bfea79f5d3ec09c2d091ec79050fcfc123fb2f38818d95f4d8f9e7ff6c
+SIZE (superlu/superlu_5.2.0.tar.gz) = 2542410
 SHA256 (superlu/SLU_general.ps.gz) = 00d00cedfadd96a42014d22b30c0cc451a575d8d309774519068b11d4be1ebe5
 SIZE (superlu/SLU_general.ps.gz) = 89463
 SHA256 (superlu/simax-29176.pdf) = 1411a3976b932a834157064dbaf0cdda10763f321bae10eb6f18925432250226

Modified: head/math/superlu/pkg-plist
==============================================================================
--- head/math/superlu/pkg-plist	Mon May  9 13:43:20 2016	(r414849)
+++ head/math/superlu/pkg-plist	Mon May  9 13:43:25 2016	(r414850)
@@ -10,4 +10,4 @@ include/superlu/superlu_enum_consts.h
 include/superlu/supermatrix.h
 lib/libsuperlu.so
 lib/libsuperlu.so.%%P_VER%%
-lib/libsuperlu_%%P_VERSION%%.so
+lib/libsuperlu.so.%%P_VERSION%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605091343.u49DhPKk086847>