diff options
author | yuri <yuri@FreeBSD.org> | 2018-10-05 04:44:52 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2018-10-05 04:44:52 +0800 |
commit | a60a4b1f73d47b167d9d83e7d3e02f717d412379 (patch) | |
tree | f6c999cbd63a73d2be20869cc99b33e0c7f8f59a /math | |
parent | e4a26cdcb95b93c2da97982f8bfa2143460323f3 (diff) | |
download | freebsd-ports-gnome-a60a4b1f73d47b167d9d83e7d3e02f717d412379.tar.gz freebsd-ports-gnome-a60a4b1f73d47b167d9d83e7d3e02f717d412379.tar.zst freebsd-ports-gnome-a60a4b1f73d47b167d9d83e7d3e02f717d412379.zip |
math/arpack-ng: Update 3.5.0 -> 3.6.3
Port changes:
* Remove the slave port math/arpack-ng-mpich: the MPI option is incremental and only adds a library
* Permanently enable the MPI functionality: see above
* Shorten the CONFLICTS statement
* Install arpack.h which is forgotten by the project itself
Bump cad/elmerfem: dependency there changed to math/arpack-ng.
Diffstat (limited to 'math')
-rw-r--r-- | math/arpack-ng-mpich/Makefile | 22 | ||||
-rw-r--r-- | math/arpack-ng/Makefile | 19 | ||||
-rw-r--r-- | math/arpack-ng/distinfo | 6 | ||||
-rw-r--r-- | math/arpack-ng/pkg-plist | 13 |
4 files changed, 20 insertions, 40 deletions
diff --git a/math/arpack-ng-mpich/Makefile b/math/arpack-ng-mpich/Makefile deleted file mode 100644 index 967988e30048..000000000000 --- a/math/arpack-ng-mpich/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# Created by: Thierry Thomas <thierry@pompo.net> -# $FreeBSD$ - -PORTNAME= arpack-ng -PORTREVISION= 2 -PKGNAMESUFFIX= -mpich - -COMMENT= Revised Argand library for solving large-scale eigenvalue problems with MPI support - -LIB_DEPENDS+= libmpich.so:net/mpich - -MASTERDIR= ${.CURDIR}/../../math/arpack-ng - -MPICH_ARG= --enable-mpi -CONFLICTS_INSTALL= arpack-ng-3.* - -PLIST_FILES+= lib/libparpack.a \ - lib/libparpack.so \ - lib/libparpack.so.2 \ - lib/libparpack.so.2.0.0 - -.include "${MASTERDIR}/Makefile" diff --git a/math/arpack-ng/Makefile b/math/arpack-ng/Makefile index 75f30552da26..fc0e2d8c0a70 100644 --- a/math/arpack-ng/Makefile +++ b/math/arpack-ng/Makefile @@ -2,33 +2,33 @@ # $FreeBSD$ PORTNAME= arpack-ng -DISTVERSION= 3.5.0 -PORTREVISION= 2 +DISTVERSION= 3.6.3 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org -COMMENT?= Revised Argand library for solving large-scale eigenvalue problems +COMMENT= Revised Argand library for solving large-scale eigenvalue problems LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING +LIB_DEPENDS= libmpich.so:net/mpich # MPI is incremental: it adds the libparpack.so lib, it is a candidate for a sub-package + USES= autoreconf:build fortran libtool USE_GITHUB= yes GH_ACCOUNT= opencollab GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-blas="${BLAS}" \ --with-lapack="${LAPACK}" \ - ${MPICH_ARG} -MPICH_ARG?= --disable-mpi + --enable-mpi \ + --disable-static LDFLAGS+= -L${LOCALBASE}/lib TEST_TARGET= check USE_LDCONFIG= yes +PORTDOCS= * PORTEXAMPLES= * -CONFLICTS= arpack-[0-9]* -CONFLICTS_INSTALL?= arpack-ng-mpich-3.* -SLAVEDIRS= math/arpack-ng-mpich +CONFLICTS_INSTALL= arpack OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_SUB= yes @@ -67,6 +67,9 @@ pre-configure: post-build: @cd ${WRKSRC}/SRC/.libs; ${STRIP_CMD} libarpack.so.*.* +post-install: + ${INSTALL_DATA} ${WRKSRC}/arpack.h ${STAGEDIR}${PREFIX}/include + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/DOCUMENTS && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} diff --git a/math/arpack-ng/distinfo b/math/arpack-ng/distinfo index 84e2728686be..a333306fc3f5 100644 --- a/math/arpack-ng/distinfo +++ b/math/arpack-ng/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1518478796 -SHA256 (opencollab-arpack-ng-3.5.0_GH0.tar.gz) = 50f7a3e3aec2e08e732a487919262238f8504c3ef927246ec3495617dde81239 -SIZE (opencollab-arpack-ng-3.5.0_GH0.tar.gz) = 949853 +TIMESTAMP = 1538675107 +SHA256 (opencollab-arpack-ng-3.6.3_GH0.tar.gz) = 64f3551e5a2f8497399d82af3076b6a33bf1bc95fc46bbcabe66442db366f453 +SIZE (opencollab-arpack-ng-3.6.3_GH0.tar.gz) = 970355 diff --git a/math/arpack-ng/pkg-plist b/math/arpack-ng/pkg-plist index 9eb849df2b33..dc8bc1974cc4 100644 --- a/math/arpack-ng/pkg-plist +++ b/math/arpack-ng/pkg-plist @@ -1,11 +1,10 @@ -lib/libarpack.a +include/arpack.h +include/arpack/debug.h +include/arpack/stat.h lib/libarpack.so lib/libarpack.so.2 lib/libarpack.so.2.0.0 +%%MPI%%lib/libparpack.so +%%MPI%%lib/libparpack.so.2 +%%MPI%%lib/libparpack.so.2.0.0 libdata/pkgconfig/arpack.pc -%%DOCS%%%%DOCSDIR%%/README -%%DOCS%%%%DOCSDIR%%/debug.doc -%%DOCS%%%%DOCSDIR%%/ex-complex.doc -%%DOCS%%%%DOCSDIR%%/ex-nonsym.doc -%%DOCS%%%%DOCSDIR%%/ex-sym.doc -%%DOCS%%%%DOCSDIR%%/stat.doc |