diff options
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/ruby-numru_misc/Makefile | 38 | ||||
-rw-r--r-- | math/ruby-numru_misc/distinfo | 2 | ||||
-rw-r--r-- | math/ruby-numru_misc/pkg-descr | 5 | ||||
-rw-r--r-- | math/ruby-numru_misc/pkg-plist | 14 |
5 files changed, 60 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index 004e52f..a32ae9d 100644 --- a/math/Makefile +++ b/math/Makefile @@ -181,6 +181,7 @@ SUBDIR += ruby-narray SUBDIR += ruby-narray_miss SUBDIR += ruby-netcdf + SUBDIR += ruby-numru_misc SUBDIR += sc SUBDIR += scalapack SUBDIR += scigraphica diff --git a/math/ruby-numru_misc/Makefile b/math/ruby-numru_misc/Makefile new file mode 100644 index 0000000..bc4b4fe --- /dev/null +++ b/math/ruby-numru_misc/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: RubyNumruMisc +# Date created: 14 March 2004 +# Whom: Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp> +# +# $FreeBSD$ +# + +PORTNAME= numru_misc +PORTVERSION= 0.0.4 +CATEGORIES= math ruby +MASTER_SITES= ftp://www.gfd-dennou.org/arch/ruby/products/misc/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= misc-${PORTVERSION} +DIST_SUBDIR= ruby + +MAINTAINER= murakami@ahs.scitec.kobe-u.ac.jp +COMMENT= Collection of misc functions and classes to facilitate programming + +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray \ + ${RUBY_SITELIBDIR}/narray_miss.rb:${PORTSDIR}/math/ruby-narray_miss + +USE_RUBY= yes +NO_BUILD= yes + +DOCS= ChangeLog doc/* + +do-install: + @cd ${WRKSRC}/ && ${RUBY} ./install.rb + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/math/ruby-numru_misc/distinfo b/math/ruby-numru_misc/distinfo new file mode 100644 index 0000000..22a2f01 --- /dev/null +++ b/math/ruby-numru_misc/distinfo @@ -0,0 +1,2 @@ +MD5 (ruby/misc-0.0.4.tar.gz) = dfc8065779261cab2fe23102bc2d5359 +SIZE (ruby/misc-0.0.4.tar.gz) = 10737 diff --git a/math/ruby-numru_misc/pkg-descr b/math/ruby-numru_misc/pkg-descr new file mode 100644 index 0000000..e9fd70d --- /dev/null +++ b/math/ruby-numru_misc/pkg-descr @@ -0,0 +1,5 @@ +Miscellaneous functions and classes to facilitate programming. +Misc requires NArray, a multi-dimensional numeric array class for ruby. + +Author: Takeshi Horinouchi <horinout@kurasc.kyoto-u.ac.jp> +WWW: http://www.gfd-dennou.org/arch/ruby/products/misc/ diff --git a/math/ruby-numru_misc/pkg-plist b/math/ruby-numru_misc/pkg-plist new file mode 100644 index 0000000..6742128 --- /dev/null +++ b/math/ruby-numru_misc/pkg-plist @@ -0,0 +1,14 @@ +%%RUBY_SITELIBDIR%%/numru/misc.rb +%%RUBY_SITELIBDIR%%/numru/misc/emath.rb +%%RUBY_SITELIBDIR%%/numru/misc/keywordopt.rb +%%RUBY_SITELIBDIR%%/numru/misc/md_iterators.rb +%%RUBY_SITELIBDIR%%/numru/misc/misc.rb +@dirrm %%RUBY_SITELIBDIR%%/numru/misc +@unexec rmdir %D/%%RUBY_SITELIBDIR%%/numru 2>/dev/null || true +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/emath.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/index.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/keywordopt.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/md_iterators.html +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/misc.html +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% |