summaryrefslogtreecommitdiff
path: root/science/mcxtrace/Makefile
blob: c43fcbd4c694b126f424361c0ec01f56c90cab90 (plain)
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
27

PORTNAME=	mcxtrace
DISTVERSION=	1.2
DISTVERSIONSUFFIX=	-src
CATEGORIES=	science
MASTER_SITES=	http://download.mcxtrace.org/${PORTNAME}-${DISTVERSION}/unix/mcxtrace-${DISTVERSION}-src/

MAINTAINER=	erkn@fysik.dtu.dk
COMMENT=	Monte Carlo X-ray tracing package

LICENSE=	LGPL21+
LICENSE_FILE=	${WRKSRC}/lib/LGPL

USES=		bison:build cmake

PLIST_SUB=	DISTVERSION=${DISTVERSION}

MXEXECS=	mcxtrace mxformat

post-install:
.for e in ${MXEXECS}
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PORTNAME}/${DISTVERSION}/bin/${e}
	@${RLN} ${STAGEDIR}${PREFIX}/${PORTNAME}/${DISTVERSION}/bin/${e} ${STAGEDIR}${PREFIX}/bin/${e}
.endfor
	@${RM} ${STAGEDIR}${PREFIX}/mcxtrace/${DISTVERSION}/LGPL

.include <bsd.port.mk>