1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/science/mcstas/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

28 lines
789 B
Makefile

PORTNAME= mcstas
PORTVERSION= 2.5
CATEGORIES= science
MASTER_SITES= http://download.mcstas.org/${PORTNAME}-${PORTVERSION}/unix/
DISTNAME= mcstas-${PORTVERSION}-src
MAINTAINER= erkn@fysik.dtu.dk
COMMENT= Monte Carlo neutron ray tracing package
LICENSE= GPLv2
USES= bison:build cmake shebangfix
CMAKE_ARGS= "-Denable_mcstas=1"
SHEBANG_FILES= cmake/support/install-scripts/postinst.in cmake/support/run-scripts/mccode_errmsg.in
MANDIRS= ${PREFIX}/${PORTNAME}/${DISTVERSION}/doc/man/man1
PLIST_SUB+= PORTVERSION=${PORTVERSION}
MCEXECS= mcstas mcformat
post-install:
.for e in ${MCEXECS}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PORTNAME}/${PORTVERSION}/bin/${e}
${RLN} ${STAGEDIR}/${PREFIX}/${PORTNAME}/${PORTVERSION}/bin/${e} ${STAGEDIR}${PREFIX}/bin/${e}
.endfor
.include <bsd.port.mk>