diff options
-rw-r--r-- | science/Makefile | 1 | ||||
-rw-r--r-- | science/ruby-gphys/Makefile | 46 | ||||
-rw-r--r-- | science/ruby-gphys/distinfo | 2 | ||||
-rw-r--r-- | science/ruby-gphys/pkg-descr | 4 | ||||
-rw-r--r-- | science/ruby-gphys/pkg-plist | 51 |
5 files changed, 104 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile index 13797a54c89b..c0efe24055ff 100644 --- a/science/Makefile +++ b/science/Makefile @@ -33,6 +33,7 @@ SUBDIR += p5-Chemistry-Elements SUBDIR += ruby-dcl SUBDIR += ruby-dcl-gtk + SUBDIR += ruby-gphys SUBDIR += vis5d+ SUBDIR += xloops-ginac SUBDIR += xmakemol diff --git a/science/ruby-gphys/Makefile b/science/ruby-gphys/Makefile new file mode 100644 index 000000000000..901aff243ecc --- /dev/null +++ b/science/ruby-gphys/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: GPhys +# Date created: 14 March 2004 +# Whom: Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp> +# +# $FreeBSD$ +# + +PORTNAME= gphys +PORTVERSION= 0.3.0 +CATEGORIES= science ruby +MASTER_SITES= ftp://www.gfd-dennou.org/arch/ruby/products/gphys/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DIST_SUBDIR= ruby + +MAINTAINER= murakami@ahs.scitec.kobe-u.ac.jp +COMMENT= A multi-purpose class to handle gridded physical quantities + +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray \ + ${RUBY_SITELIBDIR}/narray_miss.rb:${PORTSDIR}/math/ruby-narray_miss \ + ${RUBY_SITEARCHLIBDIR}/numru/dcl_raw.so:${PORTSDIR}/science/ruby-dcl-gtk \ + ${RUBY_SITEARCHLIBDIR}/numru/netcdfraw.so:${PORTSDIR}/math/ruby-netcdf \ + ${RUBY_SITELIBDIR}/numru/misc.rb:${PORTSDIR}/math/ruby-numru_misc \ + ${RUBY_SITELIBDIR}/numru/units.rb:${PORTSDIR}/math/ruby-numru_units + +USE_RUBY= yes +NO_BUILD= yes + +DOCS= ChangeLog README doc/* + +do-install: + @cd ${WRKSRC}/ && ${RUBY} ./install.rb + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_MODEXAMPLESDIR} + ${MKDIR} ${RUBY_MODEXAMPLESDIR}/testdata + ${MKDIR} ${RUBY_MODEXAMPLESDIR}/sample + ${INSTALL_DATA} ${WRKSRC}/testdata/* ${RUBY_MODEXAMPLESDIR}/testdata + ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/sample + ${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/science/ruby-gphys/distinfo b/science/ruby-gphys/distinfo new file mode 100644 index 000000000000..73b2cf2ceda8 --- /dev/null +++ b/science/ruby-gphys/distinfo @@ -0,0 +1,2 @@ +MD5 (ruby/gphys-0.3.0.tar.gz) = fcdc2f3a4384c2ad3b29b05d29958360 +SIZE (ruby/gphys-0.3.0.tar.gz) = 172177 diff --git a/science/ruby-gphys/pkg-descr b/science/ruby-gphys/pkg-descr new file mode 100644 index 000000000000..86e37e694caa --- /dev/null +++ b/science/ruby-gphys/pkg-descr @@ -0,0 +1,4 @@ +GPhys -- a multi-purpose class to handle Gridded Physical quantities + +Author: Takeshi Horinouchi <horinout@kurasc.kyoto-u.ac.jp> +WWW: http://ruby.gfd-dennou.org/products/gphys/ diff --git a/science/ruby-gphys/pkg-plist b/science/ruby-gphys/pkg-plist new file mode 100644 index 000000000000..c505aa8ec8e4 --- /dev/null +++ b/science/ruby-gphys/pkg-plist @@ -0,0 +1,51 @@ +%%RUBY_SITELIBDIR%%/numru/ggraph.rb +%%RUBY_SITELIBDIR%%/numru/ggraph_old.rb +%%RUBY_SITELIBDIR%%/numru/gphys.rb +%%RUBY_SITELIBDIR%%/numru/gphys/attribute.rb +%%RUBY_SITELIBDIR%%/numru/gphys/attributenetcdf.rb +%%RUBY_SITELIBDIR%%/numru/gphys/axis.rb +%%RUBY_SITELIBDIR%%/numru/gphys/coordmapping.rb +%%RUBY_SITELIBDIR%%/numru/gphys/coordtransform.rb +%%RUBY_SITELIBDIR%%/numru/gphys/gphys.rb +%%RUBY_SITELIBDIR%%/numru/gphys/gphys_fft.rb +%%RUBY_SITELIBDIR%%/numru/gphys/gphys_grads_io.rb +%%RUBY_SITELIBDIR%%/numru/gphys/gphys_netcdf_io.rb +%%RUBY_SITELIBDIR%%/numru/gphys/grads_gridded.rb +%%RUBY_SITELIBDIR%%/numru/gphys/grid.rb +%%RUBY_SITELIBDIR%%/numru/gphys/netcdf_convention.rb +%%RUBY_SITELIBDIR%%/numru/gphys/subsetmapping.rb +%%RUBY_SITELIBDIR%%/numru/gphys/unumeric.rb +%%RUBY_SITELIBDIR%%/numru/gphys/varray.rb +%%RUBY_SITELIBDIR%%/numru/gphys/varraycomposite.rb +%%RUBY_SITELIBDIR%%/numru/gphys/varraygrads.rb +%%RUBY_SITELIBDIR%%/numru/gphys/varraynetcdf.rb +@dirrm %%RUBY_SITELIBDIR%%/numru/gphys +@unexec rmdir %D/%%RUBY_SITELIBDIR%%/numru 2>/dev/null || true +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample/cira86_to_nc.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample/druby_cli1.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample/druby_cli2.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample/druby_serv1.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample/druby_serv2.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testdata/T.jan.ctl +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testdata/T.jan.dat +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testdata/T.jan.nc +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testdata/cira86.dat +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/sample +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/testdata +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/coordtransform.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ggraph.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/gphys.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/gphys_fft.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/gphys_grads_io.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/gphys_netcdf_io.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/grads_gridded.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/index.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/index.rd +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/netcdf_convention.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/unumeric.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/varray.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/varraycomposite.html +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% |