summaryrefslogtreecommitdiff
path: root/math/lis/Makefile
blob: 9cc0da21f7cd60c2baa0519efbacf9b3eadeb6dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
PORTNAME=	lis
DISTVERSION=	2.1.8
CATEGORIES=	math
MASTER_SITES=	https://www.ssisc.org/lis/dl/

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Library of Iterative Solvers for linear systems
WWW=		https://www.ssisc.org/lis/index.en.html

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		gmake libtool zip
GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
CONFIGURE_ARGS=	--enable-shared --disable-static
USE_LDCONFIG=	yes

INSTALL_TARGET=	install-strip
TEST_TARGET=	check

OPTIONS_DEFINE=	EXAMPLES MPI OPENMPI

MPI_CONFIGURE_ENABLE=		mpi
MPI_LIB_DEPENDS=		libmpi.so:net/mpich

OPENMPI_CONFIGURE_ENABLE=	omp

PORTEXAMPLES=	*

.include <bsd.port.mk>