| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 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/tblite/ |
Upload File : |
PORTNAME= tblite
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.1
PORTREVISION= 1
CATEGORIES= science # chemistry
MAINTAINER= yuri@FreeBSD.org
COMMENT= Light-weight tight-binding framework
WWW= https://github.com/tblite/tblite
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
.if !exists(/usr/include/omp.h)
BROKEN= requires OpenMP support that is missing on this architecture
.endif
BUILD_DEPENDS= mstore>0:science/mstore # unclear if this is really needed
LIB_DEPENDS= libdftd4.so:science/dftd4 \
libmctc-lib.so:science/mctc-lib \
libmulticharge.so:science/multicharge \
libopenblas.so:math/openblas \
libs-dftd3.so:science/simple-dftd3 \
libtoml-f.so:textproc/toml-f
USES= cmake:testing fortran
USE_GITHUB= yes
USE_LDCONFIG= yes
CMAKE_ON= BUILD_SHARED_LIBS
post-patch: # see https://github.com/toml-f/toml-f/issues/51
@${REINPLACE_CMD} -e 's|$${CMAKE_Fortran_COMPILER_ID}-$${CMAKE_Fortran_COMPILER_VERSION}||' ${WRKSRC}/config/CMakeLists.txt
.include <bsd.port.mk>