1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/science/mcxtrace-comps/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

25 lines
727 B
Makefile

# $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
# 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>