# Created by: Erik B Knudsen # $FreeBSD: head/science/mcstas-comps/Makefile 412349 2016-04-01 14:25:16Z mat $ 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 gmake # 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