mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
26 lines
745 B
Makefile
26 lines
745 B
Makefile
# Created by: Erik B Knudsen
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mcstas-comps
|
|
PORTVERSION= 2.2a
|
|
CATEGORIES= science
|
|
MASTER_SITES= http://download.mcstas.org/mcstas-${PORTVERSION}/unix/McStas-${PORTVERSION}-UNIX-src/
|
|
DISTNAME= mcstas-comps-${PORTVERSION}-src
|
|
|
|
MAINTAINER= erkn@fysik.dtu.dk
|
|
COMMENT= Component Library for the McStas neutron ray tracing package
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/mcstas/${PORTVERSION}/bin/mcstas:science/mcstas
|
|
|
|
USES= cmake
|
|
# Apparently cmake does not generate an install/strip target if nothing
|
|
# is supposed to be stripped, so override the cmake-default install
|
|
# target of install/strip by resetting STRIP
|
|
STRIP= #none
|
|
CMAKE_ARGS= "-Denable_mcstas=1"
|
|
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
|
|
|
.include <bsd.port.mk>
|