blob: 59be935e570d65181c0d2434bba97eae132c8056 (
plain) (
blame)
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
28
|
# $FreeBSD$
PORTNAME= mcstas
PORTVERSION= 2.2a
CATEGORIES= science
MASTER_SITES= http://download.mcstas.org/${PORTNAME}-${PORTVERSION}/unix/McStas-${PORTVERSION}-UNIX-src/
DISTNAME= mcstas-${PORTVERSION}-src
MAINTAINER= erkn@fysik.dtu.dk
COMMENT= Monte Carlo neutron ray tracing package
LICENSE= LGPL21+
USES= bison:build cmake:outsource
CMAKE_ARGS= "-Denable_mcstas=1"
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}
${LN} -s ${PREFIX}/${PORTNAME}/${PORTVERSION}/bin/${e} ${STAGEDIR}${PREFIX}/bin/${e}
.endfor
.include <bsd.port.mk>
|