00e5830276
/!\ getdp-3.3.0: Makefile errors /!\ you cannot include bsd.port[.pre].mk twice Defining both PORTVERSION and DISTVERSION is wrong, only set one, if necessary, set DISTNAME *** Error code 1 Stop. make: stopped in /usr/ports/science/getdp Approved by: portmgr (blanket)
34 lines
800 B
Makefile
34 lines
800 B
Makefile
# Created by: Thierry Thomas <thierry@pompo.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= getdp
|
|
PORTVERSION= 3.3.0
|
|
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}/LICENSE.txt
|
|
|
|
LIB_DEPENDS= libgsl.so:math/gsl \
|
|
liblapack.so:math/lapack
|
|
|
|
USES= fortran tar:tgz cmake
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${GCC_DEFAULT} >= 10
|
|
# workaround for Rank mismatch in argument 'lines' at (1) (rank-1 and scalar)
|
|
FFLAGS+= -fallow-argument-mismatch
|
|
.endif
|
|
|
|
do-test:
|
|
cd ${WRKSRC}/demos && yes "" | ${STAGEDIR}${PREFIX}/bin/${PORTNAME} magnet.pro -solve MagSta_phi
|
|
|
|
.include <bsd.port.post.mk>
|