Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2014 01:15:22 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349203 - in head/science: . rubygem-netcdf rubygem-netcdf/files
Message-ID:  <201403260115.s2Q1FMsv096965@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed Mar 26 01:15:21 2014
New Revision: 349203
URL: http://svnweb.freebsd.org/changeset/ports/349203
QAT: https://qat.redports.org/buildarchive/r349203/

Log:
  This is a Ruby interface to the NetCDF scientific IO library.
  
  WWW: http://ruby.gfd-dennou.org/products/ruby-netcdf
  
  PR:		ports/187932
  Submitted by:	Shin-ya Murakami <murashin@gfd-dennou.org>

Added:
  head/science/rubygem-netcdf/
  head/science/rubygem-netcdf/Makefile   (contents, props changed)
  head/science/rubygem-netcdf/distinfo   (contents, props changed)
  head/science/rubygem-netcdf/files/
  head/science/rubygem-netcdf/files/patch-extconf.rb   (contents, props changed)
  head/science/rubygem-netcdf/pkg-descr   (contents, props changed)
Modified:
  head/science/Makefile

Modified: head/science/Makefile
==============================================================================
--- head/science/Makefile	Wed Mar 26 01:12:42 2014	(r349202)
+++ head/science/Makefile	Wed Mar 26 01:15:21 2014	(r349203)
@@ -174,6 +174,7 @@
     SUBDIR += ruby-gphys
     SUBDIR += ruby-netcdf
     SUBDIR += rubygem-ai4r
+    SUBDIR += rubygem-netcdf
     SUBDIR += sigrok-cli
     SUBDIR += silo
     SUBDIR += simlib

Added: head/science/rubygem-netcdf/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/rubygem-netcdf/Makefile	Wed Mar 26 01:15:21 2014	(r349203)
@@ -0,0 +1,23 @@
+# Created by: Shin-ya Murakami <murashin@gfd-dennou.org>
+# $FreeBSD$
+
+PORTNAME=	netcdf
+PORTVERSION=	0.6.6.1
+CATEGORIES=	science rubygems
+MASTER_SITES=	RG
+DISTNAME=	ruby-${PORTNAME}-${PORTVERSION}
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	A Ruby interface to the NetCDF scientific IO library
+
+BUILD_DEPENDS=	rubygem-narray>=0:${PORTSDIR}/math/rubygem-narray
+LIB_DEPENDS=	libnetcdf.so:${PORTSDIR}/science/netcdf
+RUN_DEPENDS=	rubygem-narray>=0:${PORTSDIR}/math/rubygem-narray
+
+USE_RUBY=	yes
+USE_RAKE=	yes
+USE_RUBYGEMS=	yes
+GEM_NAME=	${DISTNAME}
+RUBYGEM_AUTOPLIST=	yes
+
+.include <bsd.port.mk>

Added: head/science/rubygem-netcdf/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/rubygem-netcdf/distinfo	Wed Mar 26 01:15:21 2014	(r349203)
@@ -0,0 +1,2 @@
+SHA256 (rubygem/ruby-netcdf-0.6.6.1.gem) = 69fd395cf579ba625ece839d5db6b0ebb05a111c4f1bed1cd3bbaa74b1a311e0
+SIZE (rubygem/ruby-netcdf-0.6.6.1.gem) = 78848

Added: head/science/rubygem-netcdf/files/patch-extconf.rb
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/rubygem-netcdf/files/patch-extconf.rb	Wed Mar 26 01:15:21 2014	(r349203)
@@ -0,0 +1,12 @@
+--- extconf.rb.orig	Thu Jun 23 09:20:15 2005
++++ extconf.rb	Tue Jan 17 13:36:39 2006
+@@ -105,9 +105,6 @@
+       newmkfl.puts("")         
+       newmkfl.puts("test: all")            # insert the "test" target
+       newmkfl.puts("\t\t@cd test && ruby test.rb && echo 'test did not fail :-p (please ignore the warnings)' && cd ..") 
+-   when /lib\/netcdf/
+-      line = line.chomp! + "/"
+-      newmkfl.puts(line)
+    else
+       newmkfl.puts(line)
+    end

Added: head/science/rubygem-netcdf/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/rubygem-netcdf/pkg-descr	Wed Mar 26 01:15:21 2014	(r349203)
@@ -0,0 +1,3 @@
+This is a Ruby interface to the NetCDF scientific IO library.
+
+WWW: http://ruby.gfd-dennou.org/products/ruby-netcdf



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403260115.s2Q1FMsv096965>