diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-05-09 13:43:25 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-05-09 13:43:25 +0000 |
commit | 56081eabe2d0038858e3c854ea65687f57e2d342 (patch) | |
tree | 99ce24ed36f9523863d430c5269a4c647a6fedc6 /math/superlu | |
parent | Update to 1.2.0. (diff) |
Update to 5.2.0.
PR: 209298
Submitted by: tkato432 yahoo com
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=414850
Diffstat (limited to 'math/superlu')
-rw-r--r-- | math/superlu/Makefile | 32 | ||||
-rw-r--r-- | math/superlu/distinfo | 4 | ||||
-rw-r--r-- | math/superlu/pkg-plist | 2 |
3 files changed, 13 insertions, 25 deletions
diff --git a/math/superlu/Makefile b/math/superlu/Makefile index 11df8f17854f..b49a51708070 100644 --- a/math/superlu/Makefile +++ b/math/superlu/Makefile @@ -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="Goto" 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> diff --git a/math/superlu/distinfo b/math/superlu/distinfo index 15c7a4d982fd..1a30bd110555 100644 --- a/math/superlu/distinfo +++ b/math/superlu/distinfo @@ -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 diff --git a/math/superlu/pkg-plist b/math/superlu/pkg-plist index ca855b74812a..554346f0e497 100644 --- a/math/superlu/pkg-plist +++ b/math/superlu/pkg-plist @@ -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%% |