mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
5a6b6b3745
Reported by: fallout
39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
Makefile
PORTNAME= mdynamix
|
|
DISTVERSION= 5.2.8
|
|
PORTREVISION= 4
|
|
CATEGORIES= science
|
|
MASTER_SITES= http://www.fos.su.se/~sasha/${PORTNAME}/versions/
|
|
DISTNAME= md${DISTVERSION:S/.//g}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= General purpose molecular dynamics code
|
|
WWW= http://www.fos.su.se/~sasha/mdynamix/
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
BROKEN_FreeBSD_12= error: invalid value 'gnu++2b' in '-std=gnu++2b'
|
|
|
|
LIB_DEPENDS= libmpich.so:net/mpich
|
|
|
|
USES= fortran gmake
|
|
|
|
ALL_TARGET= default mpi
|
|
MAKE_ARGS= FFLAGS="${FFLAGS} -ffast-math" LDFLAGS="${LDFLAGS}"
|
|
BINARY_ALIAS= make=gmake gfortran=gfortran${GCC_DEFAULT}
|
|
|
|
PLIST_FILES= bin/md bin/mdp
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/md ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mdp ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${GCC_DEFAULT} >= 10
|
|
# workaround for Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)).
|
|
# in theory, this should set FCFLAGS, but the port does not conform
|
|
FFLAGS+= -fallow-argument-mismatch
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|