aboutsummaryrefslogtreecommitdiffstats
path: root/misc/libemos/Makefile
blob: b17b43da32eecf35add3010ee077bbcf8a498cd2 (plain) (blame)
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: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>