Date: Mon, 6 Oct 2014 20:51:56 +0000 (UTC) From: Thierry Thomas <thierry@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r370227 - in head/math: . arpack-ng arpack-ng-mpich Message-ID: <201410062051.s96Kpuxi004029@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thierry Date: Mon Oct 6 20:51:55 2014 New Revision: 370227 URL: https://svnweb.freebsd.org/changeset/ports/370227 QAT: https://qat.redports.org/buildarchive/r370227/ Log: - Add an option MPI to build and install libparpack - Create a slave port to build a package with this option - Switch to an external plist, because many files are added. PR: ports/193810 Submitted by: /me Approved by: bf (maintainer, by private mail) Added: head/math/arpack-ng-mpich/ head/math/arpack-ng-mpich/Makefile (contents, props changed) head/math/arpack-ng/pkg-plist (contents, props changed) Modified: head/math/Makefile head/math/arpack-ng/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Mon Oct 6 20:46:41 2014 (r370226) +++ head/math/Makefile Mon Oct 6 20:51:55 2014 (r370227) @@ -59,6 +59,7 @@ SUBDIR += arpack SUBDIR += arpack++ SUBDIR += arpack-ng + SUBDIR += arpack-ng-mpich SUBDIR += asir2000 SUBDIR += aspcud SUBDIR += asymptote Added: head/math/arpack-ng-mpich/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/arpack-ng-mpich/Makefile Mon Oct 6 20:51:55 2014 (r370227) @@ -0,0 +1,12 @@ +# Created by: Thierry Thomas <thierry@pompo.net> +# $FreeBSD$ + +PORTNAME= arpack-ng + +COMMENT= Revised Argand library for solving large-scale eigenvalue problems with MPI support + +MASTERDIR= ${.CURDIR}/../../math/arpack-ng + +OPTIONS_DEFAULT+= MPI + +.include "${MASTERDIR}/Makefile" Modified: head/math/arpack-ng/Makefile ============================================================================== --- head/math/arpack-ng/Makefile Mon Oct 6 20:46:41 2014 (r370226) +++ head/math/arpack-ng/Makefile Mon Oct 6 20:51:55 2014 (r370227) @@ -3,14 +3,14 @@ PORTNAME= arpack-ng PORTVERSION= 3.1.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MASTER_SITES= http://forge.scilab.org/index.php/p/arpack-ng/downloads/get/ \ LOCAL/bf DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= bf@FreeBSD.org -COMMENT= Revised Argand library for solving large-scale eigenvalue problems +COMMENT+= Revised Argand library for solving large-scale eigenvalue problems LICENSE= BSD @@ -18,27 +18,27 @@ USES= fortran libtool USE_LDCONFIG= yes CONFLICTS= arpack-[0-9]* +SLAVEDIRS= math/arpack-ng-mpich GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-mpi --with-blas="${BLAS}" \ - --with-lapack="${LAPACK}" +CONFIGURE_ARGS= --with-blas="${BLAS}" \ + --with-lapack="${LAPACK}" LDFLAGS+= -L${LOCALBASE}/lib -PLIST_FILES= lib/libarpack.a \ - lib/libarpack.so \ - lib/libarpack.so.2 \ - lib/libarpack.so.2.0.0 \ - libdata/pkgconfig/arpack.pc - WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS MPI +OPTIONS_SUB= yes +MPI_CONFIGURE_ENABLE= mpi +MPI_LIB_DEPENDS= libmpich.so.8:${PORTSDIR}/net/mpich2 +MPI_CONFLICTS_INSTALL+= arpack-ng-3.* +MPI_CONFLICTS_INSTALL_OFF+= arpack-ng-mpich-3.* .include <bsd.port.pre.mk> -.if ${PORT_OPTIONS:MDOCS} -PORTDOCS= * +.if ${PORT_OPTIONS:MMPI} +PKGNAMESUFFIX= -mpich .endif WITH_BLAS?= blas Added: head/math/arpack-ng/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/arpack-ng/pkg-plist Mon Oct 6 20:51:55 2014 (r370227) @@ -0,0 +1,22 @@ +%%MPI%%bin/pcndrv1 +%%MPI%%bin/pdndrv1 +%%MPI%%bin/pdndrv3 +%%MPI%%bin/pdsdrv1 +%%MPI%%bin/psndrv3 +%%MPI%%bin/pssdrv1 +%%MPI%%bin/pzndrv1 +lib/libarpack.a +lib/libarpack.so +lib/libarpack.so.2 +lib/libarpack.so.2.0.0 +%%MPI%%lib/libparpack.a +%%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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410062051.s96Kpuxi004029>