aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/Makefile1
-rw-r--r--math/ruby-netcdf/Makefile38
-rw-r--r--math/ruby-netcdf/distinfo2
-rw-r--r--math/ruby-netcdf/files/patch-extconf.rb12
-rw-r--r--math/ruby-netcdf/pkg-descr6
-rw-r--r--math/ruby-netcdf/pkg-plist21
-rw-r--r--science/Makefile1
-rw-r--r--science/ruby-netcdf/Makefile8
-rw-r--r--science/ruby-netcdf/distinfo4
-rw-r--r--science/ruby-netcdf/pkg-descr3
-rw-r--r--science/ruby-netcdf/pkg-plist4
11 files changed, 10 insertions, 90 deletions
diff --git a/math/Makefile b/math/Makefile
index b96acdc0102a..5aa9bb060e5f 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -559,7 +559,6 @@
SUBDIR += ruby-gsl
SUBDIR += ruby-narray
SUBDIR += ruby-narray_miss
- SUBDIR += ruby-netcdf
SUBDIR += ruby-numru_misc
SUBDIR += ruby-numru_units
SUBDIR += saga
diff --git a/math/ruby-netcdf/Makefile b/math/ruby-netcdf/Makefile
deleted file mode 100644
index f5563f444416..000000000000
--- a/math/ruby-netcdf/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-# New ports collection makefile for: RubyNetCDF
-# Date created: 11 June 2002
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= netcdf
-PORTVERSION= 0.6.5
-CATEGORIES= math ruby
-MASTER_SITES= http://ruby.gfd-dennou.org/products/ruby-netcdf/
-PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
-DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
-DIST_SUBDIR= ruby
-
-MAINTAINER= ruby@FreeBSD.org
-COMMENT= A Ruby interface to the NetCDF scientific IO library
-
-BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray
-LIB_DEPENDS= netcdf.4:${PORTSDIR}/science/netcdf
-RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray
-
-USE_RUBY= yes
-USE_RUBY_EXTCONF= yes
-
-DOCS= ChangeLog ToDo doc/*
-
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODEXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/demo/* ${RUBY_MODEXAMPLESDIR}/
- ${MKDIR} ${RUBY_MODDOCDIR}
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
-.endfor
-.endif
-
-.include <bsd.port.mk>
diff --git a/math/ruby-netcdf/distinfo b/math/ruby-netcdf/distinfo
deleted file mode 100644
index 764fb8947078..000000000000
--- a/math/ruby-netcdf/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (ruby/ruby-netcdf-0.6.5.tar.gz) = d9493f4e961a763a6fc331a18db6167ae1b29b9972ab0fddf40063b344551251
-SIZE (ruby/ruby-netcdf-0.6.5.tar.gz) = 74628
diff --git a/math/ruby-netcdf/files/patch-extconf.rb b/math/ruby-netcdf/files/patch-extconf.rb
deleted file mode 100644
index d0708cf8702a..000000000000
--- a/math/ruby-netcdf/files/patch-extconf.rb
+++ /dev/null
@@ -1,12 +0,0 @@
---- 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/math/ruby-netcdf/pkg-descr b/math/ruby-netcdf/pkg-descr
deleted file mode 100644
index 8495f5885bf3..000000000000
--- a/math/ruby-netcdf/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-This is a Ruby interface to the NetCDF scientific IO library.
-
-Author: Takeshi Horinouchi <horinout@kurasc.kyoto-u.ac.jp>
- & Dennou Ruby Project
-
-WWW: http://ruby.gfd-dennou.org/products/ruby-netcdf
diff --git a/math/ruby-netcdf/pkg-plist b/math/ruby-netcdf/pkg-plist
deleted file mode 100644
index 139c9f991a09..000000000000
--- a/math/ruby-netcdf/pkg-plist
+++ /dev/null
@@ -1,21 +0,0 @@
-%%RUBY_SITEARCHLIBDIR%%/numru/netcdfraw.so
-@unexec rmdir %B 2>/dev/null || true
-%%RUBY_SITELIBDIR%%/numru/netcdf.rb
-%%RUBY_SITELIBDIR%%/numru/netcdf_miss.rb
-@unexec rmdir %B 2>/dev/null || true
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/README
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/demo1-create-alt.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/demo1-create.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/demo2-graphic.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/demo3-ncepclim.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/demo4-copy.rb
-%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ToDo
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README_JP.txt
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/Ref_man.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/Ref_man.rd
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/Ref_man_jp.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/Ref_man_jp.rd
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/to_html
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
diff --git a/science/Makefile b/science/Makefile
index d44de795df98..564322b0869d 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -177,6 +177,7 @@
SUBDIR += qtresistors
SUBDIR += ruby-dcl
SUBDIR += ruby-gphys
+ SUBDIR += ruby-netcdf
SUBDIR += rubygem-ai4r
SUBDIR += silo
SUBDIR += simlib
diff --git a/science/ruby-netcdf/Makefile b/science/ruby-netcdf/Makefile
index f5563f444416..3eac3fb35394 100644
--- a/science/ruby-netcdf/Makefile
+++ b/science/ruby-netcdf/Makefile
@@ -6,9 +6,11 @@
#
PORTNAME= netcdf
-PORTVERSION= 0.6.5
-CATEGORIES= math ruby
-MASTER_SITES= http://ruby.gfd-dennou.org/products/ruby-netcdf/
+PORTVERSION= 0.6.6
+CATEGORIES= science ruby
+MASTER_SITES= http://ruby.gfd-dennou.org/products/ruby-netcdf/release/ \
+ http://dennou-h.gfd-dennou.org/library/ruby/products/ruby-netcdf/release/ \
+ http://dennou-q.gfd-dennou.org/library/ruby/products/ruby-netcdf/release/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
diff --git a/science/ruby-netcdf/distinfo b/science/ruby-netcdf/distinfo
index 764fb8947078..e326e2756ac9 100644
--- a/science/ruby-netcdf/distinfo
+++ b/science/ruby-netcdf/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ruby/ruby-netcdf-0.6.5.tar.gz) = d9493f4e961a763a6fc331a18db6167ae1b29b9972ab0fddf40063b344551251
-SIZE (ruby/ruby-netcdf-0.6.5.tar.gz) = 74628
+SHA256 (ruby/ruby-netcdf-0.6.6.tar.gz) = 5cc6b9815b3b8f34a1dc91387383f9a6563d3dc5faf8b733b9c0b4f4d27b51d2
+SIZE (ruby/ruby-netcdf-0.6.6.tar.gz) = 74868
diff --git a/science/ruby-netcdf/pkg-descr b/science/ruby-netcdf/pkg-descr
index 8495f5885bf3..5c9fd71bf2d2 100644
--- a/science/ruby-netcdf/pkg-descr
+++ b/science/ruby-netcdf/pkg-descr
@@ -1,6 +1,3 @@
This is a Ruby interface to the NetCDF scientific IO library.
-Author: Takeshi Horinouchi <horinout@kurasc.kyoto-u.ac.jp>
- & Dennou Ruby Project
-
WWW: http://ruby.gfd-dennou.org/products/ruby-netcdf
diff --git a/science/ruby-netcdf/pkg-plist b/science/ruby-netcdf/pkg-plist
index 139c9f991a09..421f8f9cd2d3 100644
--- a/science/ruby-netcdf/pkg-plist
+++ b/science/ruby-netcdf/pkg-plist
@@ -1,8 +1,8 @@
%%RUBY_SITEARCHLIBDIR%%/numru/netcdfraw.so
-@unexec rmdir %B 2>/dev/null || true
+@dirrmtry %%RUBY_SITEARCHLIBDIR%%/numru
%%RUBY_SITELIBDIR%%/numru/netcdf.rb
%%RUBY_SITELIBDIR%%/numru/netcdf_miss.rb
-@unexec rmdir %B 2>/dev/null || true
+@dirrmtry %%RUBY_SITELIBDIR%%/numru
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/README
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/demo1-create-alt.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/demo1-create.rb