opnsense-ports/science/mcstas-comps/Makefile
Franco Fichtner 9f0d4b60ad */*: sync with upstream
Taken from: FreeBSD
2016-12-12 07:56:30 +01:00

25 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>