Files
ports/science/berkeleygw/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

37 lines
1.0 KiB
Makefile

# $FreeBSD$
PORTNAME= BerkeleyGW
DISTVERSION= 2.0.0
PORTREVISION= 3
CATEGORIES= science
MASTER_SITES= https://berkeley.box.com/shared/static/
DISTFILES= wkqu37wu77tll53r8t1soe6ozqja67yy.gz
MAINTAINER= yuri@FreeBSD.org
COMMENT= Scientific program aimed at the ab initio virtual experimentation
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/license.txt
LIB_DEPENDS= libfftw3.so:math/fftw3
USES= blaslapack:openblas gmake fortran python shebangfix
SHEBANG_GLOB= *.sh *.py *awk
WRKSRC= ${WRKDIR}/BGW-${DISTVERSION}
BINARY_ALIAS= make=${GMAKE} gcc=${CC}
MAKE_ARGS= FREEBSD_GCC_DEFAULT=${GCC_DEFAULT} FREEBSD_PREFIX=${PREFIX} INSTDIR=${STAGEDIR}${PREFIX}
OPTIONS_DEFINE= DOCS EXAMPLES
EXAMPLES_MAKE_ARGS= INSTALL_EXAMPLES=yes
PORTEXAMPLES= *
post-patch:
@${LN} -s ${WRKSRC}/config/generic.serial.freebsd.mk ${WRKSRC}/arch.mk
@${LN} -s ${WRKSRC}/flavor_real.mk ${WRKSRC}/flavor.mk
@${FIND} ${WRKSRC} -name "script*" -o -name "*.scr" | ${XARGS} ${REINPLACE_CMD} -i '' 's|#! */bin/bash.*|#!/bin/sh|'
.include <bsd.port.mk>