summaryrefslogtreecommitdiff
path: root/misc/libemos/Makefile
blob: f57f8a60dcaba6ff857a76a72d7770589d59550f (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
25
26
# $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:outsource,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>