1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/science/mcxtrace/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

29 lines
709 B
Makefile

# $FreeBSD$
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>