mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
e61a49c5f7
GCC8 is already used for fortran so set USES=compiler:c11 to use GCC8 for everything. PR: 239438 Approved by: mentors (implicit approval), yuri (mentor)
31 lines
747 B
Makefile
31 lines
747 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libemos
|
|
DISTVERSION= 4.5.9
|
|
PORTREVISION= 3
|
|
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 compiler:c11 fortran
|
|
|
|
CMAKE_ON= BUILD_SHARED_LIBS # not respected: https://jira.ecmwf.int/browse/SUP-2691
|
|
CMAKE_OFF= HAVE_TESTS
|
|
|
|
LDFLAGS+= -leccodes
|
|
|
|
post-stage: # installs the file from eccodes: https://jira.ecmwf.int/browse/SUP-2693
|
|
@${RM} ${STAGEDIR}${PREFIX}/bin/bufr_filter
|
|
|
|
.include <bsd.port.mk>
|