aboutsummaryrefslogtreecommitdiffstats
path: root/science/getdp/Makefile
blob: b1b31816a177543781b523173fbcd61952db8a37 (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
32
# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$

PORTNAME=   getdp
PORTVERSION=    2.11.2
PORTREVISION=   2
CATEGORIES= science
MASTER_SITES=   http://www.geuz.org/getdp/src/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-source

MAINTAINER= stephen@FreeBSD.org
COMMENT=    Rather general finite element solver using mixed finite elements

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/README.txt

LIB_DEPENDS=    libgsl.so:math/gsl  \
        liblapack.so:math/lapack

USES=       fortran tar:tgz cmake
WANT_PERL=  yes

OPTIONS_DEFINE= DOCS EXAMPLES

.include <bsd.port.pre.mk>

.if defined(MAINTAINER_MODE)
regression-test:    install
    cd ${WRKSRC}/demos && yes "" | ${PORTNAME} magnet.pro -solve MagSta_phi
.endif

.include <bsd.port.post.mk>