1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/science/mcxtrace/Makefile
Yuri Victorovich 9e8cc175a0 New port: science/mcxtrace: Monte Carlo X-ray tracing package
PR:		206505
Submitted by:	Erik B Knudsen <erkn@fysik.dtu.dk>
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D13216
2017-12-05 19:15:49 +00:00

29 lines
719 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:outsource
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>