27 lines
642 B
Makefile
27 lines
642 B
Makefile
PORTNAME= mstore
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.2.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= science # chemistry
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Molecular structure store for testing
|
|
WWW= https://github.com/grimme-lab/mstore
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libmctc-lib.so:science/mctc-lib
|
|
|
|
USES= cmake fortran
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= grimme-lab
|
|
|
|
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>
|