ports/misc/libemos/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

27 lines
677 B
Makefile

# $FreeBSD$
PORTNAME= libemos
DISTVERSION= 4.5.9
DISTVERSIONSUFFIX= -Source
CATEGORIES= misc
MASTER_SITES= https://confluence.ecmwf.int/download/attachments/3473472/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Interpolation library for meteorological software
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libeccodes.so:science/eccodes \
libfftw3.so:math/fftw3 \
libpng16.so:graphics/png
USES= cmake:noninja fortran
CMAKE_ON= BUILD_SHARED_LIBS # not respected: https://jira.ecmwf.int/browse/SUP-2691
post-stage: # installs the file from eccodes: https://jira.ecmwf.int/browse/SUP-2693
@${RM} ${STAGEDIR}${PREFIX}/bin/bufr_filter
.include <bsd.port.mk>