aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-06-11 17:10:46 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-06-11 17:10:46 +0000
commit5b29610d8076dbf9f0b5db500a229a86f68e4dda (patch)
treed6778606ac303dafcb640baf5533d1fd2bc75e68 /math
parent102aa0c44d19a72c82d187c7fe041bca4c5cc4f6 (diff)
downloadports-5b29610d8076dbf9f0b5db500a229a86f68e4dda.tar.gz
ports-5b29610d8076dbf9f0b5db500a229a86f68e4dda.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/ruby-netcdf/Makefile36
-rw-r--r--math/ruby-netcdf/distinfo1
-rw-r--r--math/ruby-netcdf/pkg-comment1
-rw-r--r--math/ruby-netcdf/pkg-descr5
-rw-r--r--math/ruby-netcdf/pkg-plist23
6 files changed, 67 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 4760b5625351..96f60c5ddc65 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -128,6 +128,7 @@
SUBDIR += ruby-gsl
SUBDIR += ruby-math3d
SUBDIR += ruby-narray
+ SUBDIR += ruby-netcdf
SUBDIR += sc
SUBDIR += scigraphica
SUBDIR += scilab
diff --git a/math/ruby-netcdf/Makefile b/math/ruby-netcdf/Makefile
new file mode 100644
index 000000000000..eeaa42e2c273
--- /dev/null
+++ b/math/ruby-netcdf/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: RubyNetCDF
+# Date created: 11 June 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= netcdf
+PORTVERSION= 0.3.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= knu@FreeBSD.org
+
+LIB_DEPENDS= netcdf.1:${PORTSDIR}/math/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_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/demo/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/ruby-netcdf/distinfo b/math/ruby-netcdf/distinfo
new file mode 100644
index 000000000000..d4e3a929c38c
--- /dev/null
+++ b/math/ruby-netcdf/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-netcdf-0.3.5.tar.gz) = b518f1ca753fdee304c2fc289637168c
diff --git a/math/ruby-netcdf/pkg-comment b/math/ruby-netcdf/pkg-comment
new file mode 100644
index 000000000000..464a991d66ce
--- /dev/null
+++ b/math/ruby-netcdf/pkg-comment
@@ -0,0 +1 @@
+A Ruby interface to the NetCDF scientific IO library
diff --git a/math/ruby-netcdf/pkg-descr b/math/ruby-netcdf/pkg-descr
new file mode 100644
index 000000000000..f89d48a0bdc3
--- /dev/null
+++ b/math/ruby-netcdf/pkg-descr
@@ -0,0 +1,5 @@
+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
new file mode 100644
index 000000000000..bee7058c55b2
--- /dev/null
+++ b/math/ruby-netcdf/pkg-plist
@@ -0,0 +1,23 @@
+%%RUBY_SITEARCHLIBDIR%%/numru/netcdfraw.so
+@unexec rmdir %B 2>/dev/null || true
+%%RUBY_SITELIBDIR%%/numru/netcdf.rb
+@unexec rmdir %B 2>/dev/null || true
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/netcdf/README
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/netcdf/demo1-create-alt.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/netcdf/demo1-create.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/netcdf/demo2-graphic.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/netcdf/demo2-graphic_withAdvancedDCL.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/netcdf/demo3-ncepclim.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/netcdf/demo3-ncepclim_withAdvancedDCL.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/netcdf
+%%PORTDOCS%%%%RUBY_DOCDIR%%/netcdf/ChangeLog
+%%PORTDOCS%%%%RUBY_DOCDIR%%/netcdf/ToDo
+%%PORTDOCS%%%%RUBY_DOCDIR%%/netcdf/README_JP.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/netcdf/Ref_man.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/netcdf/Ref_man.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/netcdf/Ref_man_jp.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/netcdf/Ref_man_jp.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/netcdf/Ref_man_jp_obsolete.doc
+%%PORTDOCS%%%%RUBY_DOCDIR%%/netcdf/Ref_man_jp_obsolete.pdf
+%%PORTDOCS%%%%RUBY_DOCDIR%%/netcdf/to_html
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/netcdf