| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/science/siesta/ |
Upload File : |
PORTNAME= siesta
DISTVERSION= 4.1.5
CATEGORIES= science # chemistry
MASTER_SITES= https://gitlab.com/siesta-project/${PORTNAME}/-/releases/v${DISTVERSION}/downloads/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Program to perform efficient electronic structure calculations
WWW= https://icmab.es/siesta
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/../COPYING
BROKEN_aarch64= Lack of IEEE754 support in gcc causes "Cannot find an intrinsic module named 'ieee_arithmetic'", see bug#255890
BROKEN_FreeBSD_12_powerpc= Lack of IEEE754 support in gcc causes "Cannot find an intrinsic module named 'ieee_arithmetic'", see bug#255890
BROKEN_FreeBSD_12_powerpc64= Lack of IEEE754 support in gcc causes "Cannot find an intrinsic module named 'ieee_arithmetic'", see bug#255890
BROKEN_FreeBSD_13_powerpc= Lack of IEEE754 support in gcc causes "Cannot find an intrinsic module named 'ieee_arithmetic'", see bug#255890
BROKEN_FreeBSD_13_powerpc64= Lack of IEEE754 support in gcc causes "Cannot find an intrinsic module named 'ieee_arithmetic'", see bug#255890
BROKEN_FreeBSD_13_powerpc64le= Lack of IEEE754 support in gcc causes "Cannot find an intrinsic module named 'ieee_arithmetic'", see bug#255890
LIB_DEPENDS= libblas.so:math/blas \
liblapack.so:math/lapack
USES= fortran gmake localbase:ldflags
ALL_TARGET= default
WRKSRC_SUBDIR= Obj
PLIST_FILES= bin/${PORTNAME}
BINARY_ALIAS= gfortran=gfortran${GCC_DEFAULT} gcc=gcc${GCC_DEFAULT}
.include <bsd.port.pre.mk>
.if ${GCC_DEFAULT} >= 10
# workaround for Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(8)).
FFLAGS+= -fallow-argument-mismatch
MAKE_ARGS= FFLAGS="${FFLAGS} -O2 -fPIC -ftree-vectorize"
.endif
pre-configure:
@cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${SH} ../Src/obj_setup.sh && \
${LN} -s gfortran.make arch.make
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.post.mk>