aboutsummaryrefslogtreecommitdiffstats
path: root/misc/libemos/Makefile
blob: 2dc5d8f09932d0d6cf7e7292e29a07dd23bcb8ad (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
27
# $FreeBSD$

PORTNAME=   libemos
DISTVERSION=    4.5.9
PORTREVISION=   1
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 \
        libpng.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>