aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-05-08 11:23:36 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-05-08 11:23:36 +0000
commita2a8c8edfc32dac23b78f9929a28361196821153 (patch)
treeba377958dfda88ad2e11339cf3c23245a12e9029 /math
parent676987e47f2dc2368fefc465cf9e62f707f3f72c (diff)
downloadports-a2a8c8edfc32dac23b78f9929a28361196821153.tar.gz
ports-a2a8c8edfc32dac23b78f9929a28361196821153.zip
Add ruby-math3d, a Ruby library for mathematics for 3D graphics, which
includes Vector/Matrix4x4/LineSeg/Plane/Bound and so on.
Notes
Notes: svn path=/head/; revision=42399
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/ruby-math3d/Makefile30
-rw-r--r--math/ruby-math3d/distinfo1
-rw-r--r--math/ruby-math3d/pkg-comment1
-rw-r--r--math/ruby-math3d/pkg-descr5
-rw-r--r--math/ruby-math3d/pkg-plist4
6 files changed, 42 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 70809f110254..0d044a230af0 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -89,6 +89,7 @@
SUBDIR += ruby-bigfloat
SUBDIR += ruby-bitvector
SUBDIR += ruby-gnuplot
+ SUBDIR += ruby-math3d
SUBDIR += ruby-narray
SUBDIR += sc
SUBDIR += scigraphica
diff --git a/math/ruby-math3d/Makefile b/math/ruby-math3d/Makefile
new file mode 100644
index 000000000000..4b956ef23733
--- /dev/null
+++ b/math/ruby-math3d/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: Ruby/Math3d
+# Date created: 8 May 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= math3d
+PORTVERSION= 0.02
+CATEGORIES= math ruby
+MASTER_SITES= http://www2.giganet.net/~yoshi/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+INSTALL_TARGET= site-install
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
+ ${INSTALL_DATA} ${WRKSRC}/manual.jis ${RUBY_DOCDIR}/${PORTNAME}/ja/
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/ruby-math3d/distinfo b/math/ruby-math3d/distinfo
new file mode 100644
index 000000000000..e1a58a0cc6e2
--- /dev/null
+++ b/math/ruby-math3d/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/math3d-0.02.tgz) = 520aa0c158d3f66ff384b4f7a7a3b37b
diff --git a/math/ruby-math3d/pkg-comment b/math/ruby-math3d/pkg-comment
new file mode 100644
index 000000000000..d98cf39c854b
--- /dev/null
+++ b/math/ruby-math3d/pkg-comment
@@ -0,0 +1 @@
+A Ruby library for mathematics for 3D graphics
diff --git a/math/ruby-math3d/pkg-descr b/math/ruby-math3d/pkg-descr
new file mode 100644
index 000000000000..fbe7db3e6543
--- /dev/null
+++ b/math/ruby-math3d/pkg-descr
@@ -0,0 +1,5 @@
+This is a Ruby library for mathematics for 3D graphics, which includes
+Vector/Matrix4x4/LineSeg/Plane/Bound and so on.
+
+Author: Yoshiyuki Kusano <yoshi@giganet.net>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=Math3d
diff --git a/math/ruby-math3d/pkg-plist b/math/ruby-math3d/pkg-plist
new file mode 100644
index 000000000000..0f8bf2885132
--- /dev/null
+++ b/math/ruby-math3d/pkg-plist
@@ -0,0 +1,4 @@
+%%RUBY_SITEARCHLIBDIR%%/math3d.so
+%%PORTDOCS%%%%RUBY_DOCDIR%%/math3d/ja/manual.jis
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/math3d/ja
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/math3d