5c52f70c5e
GRIBEX is an interface for encoding and decoding WMO FM-92 GRIB edition 1 messages and some ancillary subroutines for controlling printing and debugging. The GRIBEX software was developed at the European Centre for Medium-range Weather Forecasts (ECMWF) and is part of the EMOS library. EMOS is mostly written in Fortran. Therefore it has only a Fortran interface. CGRIBEX is a lightweight version of GRIBEX written in ANSI C with a portable Fortran interface. For best compatibility some of the C sources were converted from the Fortran GRIBEX version. WWW: https://code.zmaw.de/projects/cgribex
27 lines
640 B
Makefile
27 lines
640 B
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cgribex
|
|
PORTVERSION= 1.6.3
|
|
CATEGORIES= science
|
|
MASTER_SITES= https://code.zmaw.de/attachments/download/7200/ \
|
|
LOCAL/sunpoet
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Lightweight GRIBEX in C with portable Fortran interface
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper \
|
|
libsz.so:${PORTSDIR}/science/szip
|
|
|
|
CONFIGURE_ARGS= --with-jasper=${LOCALBASE} \
|
|
--with-szlib=${LOCALBASE}
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
USES= libtool
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcgribex.so.0.0.0
|
|
|
|
.include <bsd.port.mk>
|