aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-05-08 19:23:36 +0800
committerknu <knu@FreeBSD.org>2001-05-08 19:23:36 +0800
commitdb630dc237ffcdc101bb5b0eb5b511f8c5374d45 (patch)
tree493fd409b2d570d0fc62c773c5d32bfa9973a2e2 /math
parentbcd7dfce34e4c3abae737f50b0b990e4811ddee4 (diff)
downloadfreebsd-ports-gnome-db630dc237ffcdc101bb5b0eb5b511f8c5374d45.tar.gz
freebsd-ports-gnome-db630dc237ffcdc101bb5b0eb5b511f8c5374d45.tar.zst
freebsd-ports-gnome-db630dc237ffcdc101bb5b0eb5b511f8c5374d45.zip
Add ruby-math3d, a Ruby library for mathematics for 3D graphics, which
includes Vector/Matrix4x4/LineSeg/Plane/Bound and so on.
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