summaryrefslogtreecommitdiff
path: root/math/petiga/Makefile
blob: 1eb68b98e973276033a48ce0cc3500e83a218c65 (plain)
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
32
33
34
35
36
37
38
39
# $FreeBSD$

PORTNAME=	petiga
DISTVERSION=	g20180518
PORTREVISION=	5
CATEGORIES=	math python
MASTER_SITES=	https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Framework for High Performance Isogeometric Analysis

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE.rst

LIB_DEPENDS=	libblas.so:math/blas \
		liblapack.so:math/lapack \
		libmpich.so:net/mpich \
		libpetsc.so:science/PETSc

BB_ACCOUNT=	dalcinl
BB_PROJECT=	${PORTNAME}
BB_COMMIT=	e2a59b1ba054

WRKSRC=		${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}

USES=		cmake:outsource compiler:c++14-lang fortran
USE_XORG=	x11
USE_LDCONFIG=	yes

PLIST_FILES=	include/petiga.h \
		lib/libpetiga.so \
		lib/petiga/conf/rules \
		lib/petiga/conf/test \
		lib/petiga/conf/variables

post-install:
	@cd ${STAGEDIR}${PREFIX}/include && ${RMDIR} petiga/cxx petiga/fad petiga

.include <bsd.port.mk>