pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

New Package R-RNetCDF to replace obsolete math/R-ncdf.



Module Name:	pkgsrc-wip
Committed By:	Kai-Uwe Eckhardt <kuehro%posteo.de@localhost>
Pushed By:	kuehro
Date:		Sun Nov 6 18:01:43 2016 +0100
Changeset:	9d5ae7c66c8c51acb05a772b7492c2f8183d8153

Modified Files:
	Makefile
Added Files:
	R-RNetCDF/DESCR
	R-RNetCDF/Makefile
	R-RNetCDF/distinfo
	R-RNetCDF/patches/patch-configure

Log Message:
New Package R-RNetCDF to replace obsolete math/R-ncdf.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9d5ae7c66c8c51acb05a772b7492c2f8183d8153

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                          |  1 +
 R-RNetCDF/DESCR                   |  7 +++++++
 R-RNetCDF/Makefile                | 19 +++++++++++++++++++
 R-RNetCDF/distinfo                |  7 +++++++
 R-RNetCDF/patches/patch-configure | 33 +++++++++++++++++++++++++++++++++
 5 files changed, 67 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 1714049..402e852 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,7 @@ SUBDIR+=	R-BiocGenerics
 SUBDIR+=	R-C50
 SUBDIR+=	R-MySQL
 SUBDIR+=	R-Rgraphviz
+SUBDIR+=	R-RNetCDF
 SUBDIR+=	R-Rserve
 SUBDIR+=	R-VGAM
 SUBDIR+=	R-biganalytics
diff --git a/R-RNetCDF/DESCR b/R-RNetCDF/DESCR
new file mode 100644
index 0000000..9d90849
--- /dev/null
+++ b/R-RNetCDF/DESCR
@@ -0,0 +1,7 @@
+An R interface to the NetCDF file format designed by Unidata for
+efficient storage of array-oriented scientific data and descriptions.
+The R interface is closely based on the C API of the NetCDF library,
+and it includes calendar conversions from the Unidata UDUNITS library.
+The current implementation supports all operations on NetCDF datasets
+in classic and 64-bit offset file formats, and NetCDF4-classic format
+is supported for reading and modification of existing files.
diff --git a/R-RNetCDF/Makefile b/R-RNetCDF/Makefile
new file mode 100644
index 0000000..a869b3b
--- /dev/null
+++ b/R-RNetCDF/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+#
+
+CATEGORIES=	math
+MASTER_SITES=	${MASTER_SITE_R_CRAN:=contrib/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	${R_HOMEPAGE_BASE}/ncdf/
+COMMENT=	High-level R interface to Unidata's netCDF data files
+LICENSE=	gnu-gpl-v2
+
+R_PKGNAME=	RNetCDF
+R_PKGVER=	1.8-2
+
+
+.include "../../math/R/Makefile.extension"
+.include "../../devel/netcdf/buildlink3.mk"
+.include "../../math/udunits/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/R-RNetCDF/distinfo b/R-RNetCDF/distinfo
new file mode 100644
index 0000000..7ff24a8
--- /dev/null
+++ b/R-RNetCDF/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.4 2015/11/03 23:33:29 agc Exp $
+
+SHA1 (R/RNetCDF_1.8-2.tar.gz) = 65b7f1af251e268e8642a811fc372543d4824402
+RMD160 (R/RNetCDF_1.8-2.tar.gz) = 8cad08c163fb4d0fcdb150318ee7948f2bdad91f
+SHA512 (R/RNetCDF_1.8-2.tar.gz) = 93a5f540143bd81926fbc4b94a8e6f0d7064d91cd6ba83ad4da93957b3ea43446740baf37acd7ad12e5467b4690f2a808e172836683ec6b066a2b6bdf4b4cbbe
+Size (R/RNetCDF_1.8-2.tar.gz) = 95693 bytes
+SHA1 (patch-configure) = 62e98e78ae4338ce7bad04dbcb69fdb60cef5b8f
diff --git a/R-RNetCDF/patches/patch-configure b/R-RNetCDF/patches/patch-configure
new file mode 100644
index 0000000..75a8390
--- /dev/null
+++ b/R-RNetCDF/patches/patch-configure
@@ -0,0 +1,33 @@
+$NetBSD$
+
+Fix the use of == in shell scripts.
+
+--- configure.orig	2016-11-06 16:18:40.084776697 +0000
++++ configure
+@@ -3275,7 +3275,7 @@ fi
+ done
+ 
+ 
+-if test "x$have_nc_config" == xyes; then :
++if test "x$have_nc_config" = xyes; then :
+ 
+     # Find libraries and cflags used to build netcdf:
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking netcdf linker flags" >&5
+@@ -3589,7 +3589,7 @@ fi
+ # Define variables UDUNITS_LIB, UDUNITS_DBFILE and UDUNITS_DBVAR,
+ # based on the version of udunits detected above.
+ # Also define preprocessor macro HAVE_LIBUDUNITS or HAVE_LIBUDUNITS2.
+-if test $udunits == 2; then :
++if test $udunits = 2; then :
+ 
+     UDUNITS_LIB=udunits2
+     UDUNITS_DBFILE=udunits2.xml
+@@ -3597,7 +3597,7 @@ if test $udunits == 2; then :
+     $as_echo "#define HAVE_LIBUDUNITS2 1" >>confdefs.h
+ 
+ 
+-elif test $udunits == 1; then :
++elif test $udunits = 1; then :
+ 
+     UDUNITS_LIB=udunits
+     UDUNITS_DBFILE=udunits.dat


Home | Main Index | Thread Index | Old Index