opnsense-ports/science/mcxtrace-comps/Makefile
Franco Fichtner 8bc3771187 */*: sync with upstream
Taken from: HardenedBSD
2018-05-07 16:55:33 +02:00

24 lines
737 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: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>