- Add LICENSE_FILE - Strip shared library 1.7.5: - encodeBDS: recalculation of binscale (bug fix) [Klaus Wyser] 1.7.4: - encodeBDS: changed if to while in recalculation of binscale (bug fix) [report: Harald Anlauf] - grib_decode.tmpl: force nearest neighbor remapping from reduced gaussian grids (lveggy) - decode_array_2byte: optimisation using gribSwapByteOrder_uint16() - encode_array_2byte: optimisation using gribSwapByteOrder_uint16() 1.7.2: - gribDateTime: set ryear and century to 0 if they are undefined 1.7.1: - define grib_encode_array_2byte_double to select optimized simd version 1.7.0: - added support for time unit 14 (ISEC1_TABLE4_30MINUTES) - decode: added support of single precision floats - encode: added support of single precision floats 1.6.4: - encodeBDS: replaced intpow2(nbpv) by (1ULL << nbpv) - Update to 1.7.5
30 lines
701 B
Makefile
30 lines
701 B
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cgribex
|
|
PORTVERSION= 1.7.5
|
|
CATEGORIES= science
|
|
MASTER_SITES= https://code.zmaw.de/attachments/download/12689/ \
|
|
LOCAL/sunpoet
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Lightweight GRIBEX in C with portable Fortran interface
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libjasper.so:graphics/jasper \
|
|
libsz.so:science/szip
|
|
|
|
CONFIGURE_ARGS= --with-jasper=${LOCALBASE} \
|
|
--with-szlib=${LOCALBASE}
|
|
CPPFLAGS+= -DgFortran
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
USE_LDCONFIG= yes
|
|
USES= libtool
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcgribex.so.0.0.0
|
|
|
|
.include <bsd.port.mk>
|