summaryrefslogtreecommitdiff
path: root/science/kim-api/Makefile
blob: 7735be42e03f54e4484bec21d53a3c8bbd2d1bea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

PORTNAME=	kim-api
DISTVERSION=	2.2.1
CATEGORIES=	science
MASTER_SITES=	https://s3.openkim.org/kim-api/

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Framework for reliable, reproducible, portable molecular simulations

LICENSE=	CDDL
LICENSE_FILE=	${WRKSRC}/LICENSE.CDDL

BUILD_DEPENDS=	xxd:editors/vim-console

USES=		cmake:noninja fortran tar:txz
USE_LDCONFIG=	yes

post-install:
	${REINPLACE_CMD} -i '' -e 's|#!/bin/bash|#!/bin/sh|' ${STAGEDIR}${PREFIX}/bin/kim-api-collections-management
	${RM} -r ${STAGEDIR}${PREFIX}/share/doc

.include <bsd.port.mk>