aboutsummaryrefslogtreecommitdiff
path: root/science/ncrystal/Makefile
blob: 40ba3d2e3394110c2e7f9aafecc6d114dabf22f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
PORTNAME=	ncrystal
DISTVERSIONPREFIX=	v
DISTVERSION=	3.7.1
CATEGORIES=	science # physics

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Library for thermal neutron transport in crystals and other materials
WWW=		https://mctools.github.io/ncrystal/

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cmake python shebangfix
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	mctools

SHEBANG_FILES=	scripts/* \
		cmake/ncrystal-config.in \
		ncrystal_mcstas/ncrystal_preparemcstasdir

post-install: # workaround for https://github.com/mctools/ncrystal/issues/150
	@${RM} ${STAGEDIR}${PREFIX}/*.sh

.include <bsd.port.mk>