aboutsummaryrefslogtreecommitdiffstats
path: root/science/cgribex
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-04-29 21:28:31 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-04-29 21:28:31 +0800
commit62dca10c941e6d82212f65f7e58a4bd6bdca1930 (patch)
tree42ebf58fe85ee89855049745bcbedc786ec7a67d /science/cgribex
parentddfcab1f1d6b22095a7acefce48602771081e583 (diff)
downloadfreebsd-ports-gnome-62dca10c941e6d82212f65f7e58a4bd6bdca1930.tar.gz
freebsd-ports-gnome-62dca10c941e6d82212f65f7e58a4bd6bdca1930.tar.zst
freebsd-ports-gnome-62dca10c941e6d82212f65f7e58a4bd6bdca1930.zip
- Add cgribex 1.6.3
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
Diffstat (limited to 'science/cgribex')
-rw-r--r--science/cgribex/Makefile27
-rw-r--r--science/cgribex/distinfo2
-rw-r--r--science/cgribex/pkg-descr11
-rw-r--r--science/cgribex/pkg-plist7
4 files changed, 47 insertions, 0 deletions
diff --git a/science/cgribex/Makefile b/science/cgribex/Makefile
new file mode 100644
index 000000000000..b8b998fca1fe
--- /dev/null
+++ b/science/cgribex/Makefile
@@ -0,0 +1,27 @@
+# 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>
diff --git a/science/cgribex/distinfo b/science/cgribex/distinfo
new file mode 100644
index 000000000000..4a2cf66d17a4
--- /dev/null
+++ b/science/cgribex/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cgribex-1.6.3.tar.gz) = 18f197b8113f35323fec3f820ffcee17e737d08d332308b0f6db056a742429c5
+SIZE (cgribex-1.6.3.tar.gz) = 582479
diff --git a/science/cgribex/pkg-descr b/science/cgribex/pkg-descr
new file mode 100644
index 000000000000..7a3a4b249aa1
--- /dev/null
+++ b/science/cgribex/pkg-descr
@@ -0,0 +1,11 @@
+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
diff --git a/science/cgribex/pkg-plist b/science/cgribex/pkg-plist
new file mode 100644
index 000000000000..a1d25c0be155
--- /dev/null
+++ b/science/cgribex/pkg-plist
@@ -0,0 +1,7 @@
+bin/grib
+bin/grib2
+include/cgribex.h
+lib/libcgribex.a
+lib/libcgribex.so
+lib/libcgribex.so.0
+lib/libcgribex.so.0.0.0