Files
ports/science/mcstas-comps/Makefile
T
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

32 lines
792 B
Makefile

# Created by: Erik B Knudsen
# $FreeBSD$
PORTNAME= mcstas-comps
PORTVERSION= 2.5
PORTREVISION= 2
CATEGORIES= science
MASTER_SITES= http://download.mcstas.org/${PORTNAME:C/-comps\$//}-${PORTVERSION}/unix/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= erkn@fysik.dtu.dk
COMMENT= Component Library for the McStas neutron ray tracing package
LICENSE= GPLv2
RUN_DEPENDS= mcstas:science/mcstas
USES= cmake:noninja fortran shebangfix
SHEBANG_FILES= samples/sasview_generator.py
PLIST_SUB= PORTVERSION=${PORTVERSION}
MCEXECS= cif2hkl mcpl2ssw mcpltool ssw2mcpl
post-install:
.for e in ${MCEXECS}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/mcstas/${PORTVERSION}/bin/${e}
${RLN} ${STAGEDIR}${PREFIX}/mcstas/${PORTVERSION}/bin/${e} ${STAGEDIR}${PREFIX}/bin/${e}
.endfor
.include <bsd.port.mk>