diff options
author | swills <swills@FreeBSD.org> | 2014-03-26 09:15:21 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2014-03-26 09:15:21 +0800 |
commit | bc5b89c82e69639fd363b99b2682c4db32b5d0b4 (patch) | |
tree | eb6f9aa31579e837704afbcc23552862c37c26a3 /science | |
parent | 6dfcb6912c584d31f009c940c2fe53b0759feb26 (diff) | |
download | freebsd-ports-gnome-bc5b89c82e69639fd363b99b2682c4db32b5d0b4.tar.gz freebsd-ports-gnome-bc5b89c82e69639fd363b99b2682c4db32b5d0b4.tar.zst freebsd-ports-gnome-bc5b89c82e69639fd363b99b2682c4db32b5d0b4.zip |
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>
Diffstat (limited to 'science')
-rw-r--r-- | science/Makefile | 1 | ||||
-rw-r--r-- | science/rubygem-netcdf/Makefile | 23 | ||||
-rw-r--r-- | science/rubygem-netcdf/distinfo | 2 | ||||
-rw-r--r-- | science/rubygem-netcdf/files/patch-extconf.rb | 12 | ||||
-rw-r--r-- | science/rubygem-netcdf/pkg-descr | 3 |
5 files changed, 41 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile index 5b3b32a4c464..a13f611c62ef 100644 --- a/science/Makefile +++ b/science/Makefile @@ -174,6 +174,7 @@ SUBDIR += ruby-gphys SUBDIR += ruby-netcdf SUBDIR += rubygem-ai4r + SUBDIR += rubygem-netcdf SUBDIR += sigrok-cli SUBDIR += silo SUBDIR += simlib diff --git a/science/rubygem-netcdf/Makefile b/science/rubygem-netcdf/Makefile new file mode 100644 index 000000000000..c8940bc9125b --- /dev/null +++ b/science/rubygem-netcdf/Makefile @@ -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> diff --git a/science/rubygem-netcdf/distinfo b/science/rubygem-netcdf/distinfo new file mode 100644 index 000000000000..853c1c4585f5 --- /dev/null +++ b/science/rubygem-netcdf/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/ruby-netcdf-0.6.6.1.gem) = 69fd395cf579ba625ece839d5db6b0ebb05a111c4f1bed1cd3bbaa74b1a311e0 +SIZE (rubygem/ruby-netcdf-0.6.6.1.gem) = 78848 diff --git a/science/rubygem-netcdf/files/patch-extconf.rb b/science/rubygem-netcdf/files/patch-extconf.rb new file mode 100644 index 000000000000..d0708cf8702a --- /dev/null +++ b/science/rubygem-netcdf/files/patch-extconf.rb @@ -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 diff --git a/science/rubygem-netcdf/pkg-descr b/science/rubygem-netcdf/pkg-descr new file mode 100644 index 000000000000..3f3c598b95b2 --- /dev/null +++ b/science/rubygem-netcdf/pkg-descr @@ -0,0 +1,3 @@ +This is a Ruby interface to the NetCDF scientific IO library. + +WWW: http://ruby.gfd-dennou.org/products/ruby-netcdf |