1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/science/mcstas-comps/Makefile
Mathieu Arnold 597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00

26 lines
751 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 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 <bsd.port.mk>