summaryrefslogtreecommitdiff
path: root/science/mcxtrace-comps/Makefile
blob: ebf0df46d47955f00803562508f1bec5477e537a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $FreeBSD$

PORTNAME=	mcxtrace-comps
DISTVERSION=	1.2
CATEGORIES=	science
MASTER_SITES=	http://downloads.mcxtrace.org/mcxtrace-${DISTVERSION}/unix/mcxtrace-${DISTVERSION}-src/
DISTNAME=	mcxtrace-comps-${DISTVERSION}-src

MAINTAINER=	erkn@fysik.dtu.dk
COMMENT=	Component Library for the McXtrace X-ray tracing package

LICENSE=	LGPL21+

RUN_DEPENDS=	${LOCALBASE}/mcxtrace/${DISTVERSION}/bin/mcxtrace:science/mcxtrace

USES=		cmake:outsource
# 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_mcxtrace=1"
PLIST_SUB+=	DISTVERSION=${DISTVERSION}

.include <bsd.port.mk>