1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/science/mctc-lib/Makefile
2023-04-23 09:09:58 +00:00

26 lines
647 B
Makefile

PORTNAME= mctc-lib
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.1
PORTREVISION= 1
CATEGORIES= science # chemistry
MAINTAINER= yuri@FreeBSD.org
COMMENT= Computation tool chain library to work with molecular structure data
WWW= https://grimme-lab.github.io/mctc-lib/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake:testing fortran
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= grimme-lab
CMAKE_ON= BUILD_SHARED_LIBS
post-patch: # same as https://github.com/grimme-lab/mctc-lib/pull/55
@${REINPLACE_CMD} -e 's|$${CMAKE_Fortran_COMPILER_ID}-$${CMAKE_Fortran_COMPILER_VERSION}||' ${WRKSRC}/config/CMakeLists.txt
.include <bsd.port.mk>