mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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.
This commit is contained in:
parent
21385fbddf
commit
7fe6edd387
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=481250
5 changed files with 22 additions and 42 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= elmerfem
|
||||
PORTVERSION= 8.3.20170524
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= cad science
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
@ -11,7 +11,7 @@ COMMENT= ELMER FEM package
|
|||
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= libparpack.so:math/arpack-ng-mpich \
|
||||
LIB_DEPENDS= libparpack.so:math/arpack-ng \
|
||||
libmpich.so:net/mpich
|
||||
|
||||
USE_GITHUB= yes
|
||||
|
|
|
@ -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"
|
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue