aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Math-VectorReal
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-05-13 16:53:38 +0800
committermiwi <miwi@FreeBSD.org>2009-05-13 16:53:38 +0800
commitf83cfc9803be21afaf35158f033a7eea57b2ca3c (patch)
tree91f97b5e1d40e77ad77d02c022318b446aca11d1 /math/p5-Math-VectorReal
parentd217c1eaed74b33e6ffb0c90f90226e0ab0934a7 (diff)
downloadfreebsd-ports-gnome-f83cfc9803be21afaf35158f033a7eea57b2ca3c.tar.gz
freebsd-ports-gnome-f83cfc9803be21afaf35158f033a7eea57b2ca3c.tar.zst
freebsd-ports-gnome-f83cfc9803be21afaf35158f033a7eea57b2ca3c.zip
The Math::VectorReal package defines a 3D mathematical "vector",
in a way that is compatible with the previous CPAN module Math::MatrixReal. However it provides a more vector oriented set of mathematical functions and overload operators, to the MatrixReal package. For example the normal perl string functions "x" and "." have been overloaded to allow vector cross and dot product operations. Vector math formula thus looks like vector math formula in perl programs using this package. WWW: http://search.cpan.org/dist/Math-VectorReal/ PR: ports/134460 Submitted by: Wen Heping <wenheping at gmail.com>
Diffstat (limited to 'math/p5-Math-VectorReal')
-rw-r--r--math/p5-Math-VectorReal/Makefile21
-rw-r--r--math/p5-Math-VectorReal/distinfo3
-rw-r--r--math/p5-Math-VectorReal/pkg-descr10
-rw-r--r--math/p5-Math-VectorReal/pkg-plist8
4 files changed, 42 insertions, 0 deletions
diff --git a/math/p5-Math-VectorReal/Makefile b/math/p5-Math-VectorReal/Makefile
new file mode 100644
index 000000000000..70196d4a02f7
--- /dev/null
+++ b/math/p5-Math-VectorReal/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: Math-VectorReal
+# Date created: 11 May, 2009
+# Whom: Wen Heping <wenheping@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Math-VectorReal
+PORTVERSION= 1.02
+CATEGORIES= math perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= wenheping@gmail.com
+COMMENT= Perl Module to handle 3D Vector Mathematics
+
+PERL_CONFIGURE= yes
+
+MAN3= Math::VectorReal.3
+
+.include <bsd.port.mk>
diff --git a/math/p5-Math-VectorReal/distinfo b/math/p5-Math-VectorReal/distinfo
new file mode 100644
index 000000000000..133d494fd921
--- /dev/null
+++ b/math/p5-Math-VectorReal/distinfo
@@ -0,0 +1,3 @@
+MD5 (Math-VectorReal-1.02.tar.gz) = 9eacc7b8dffeedd1d9cce2ed1c803ba4
+SHA256 (Math-VectorReal-1.02.tar.gz) = 8c959600865b09ea0d4d5567ad6bc9e0c81040f76bfb451cb27aeb0eb9cc548b
+SIZE (Math-VectorReal-1.02.tar.gz) = 12703
diff --git a/math/p5-Math-VectorReal/pkg-descr b/math/p5-Math-VectorReal/pkg-descr
new file mode 100644
index 000000000000..549dd231f072
--- /dev/null
+++ b/math/p5-Math-VectorReal/pkg-descr
@@ -0,0 +1,10 @@
+The Math::VectorReal package defines a 3D mathematical "vector",
+in a way that is compatible with the previous CPAN module
+Math::MatrixReal. However it provides a more vector oriented set
+of mathematical functions and overload operators, to the MatrixReal
+package. For example the normal perl string functions "x" and "."
+have been overloaded to allow vector cross and dot product
+operations. Vector math formula thus looks like vector math formula
+in perl programs using this package.
+
+WWW: http://search.cpan.org/dist/Math-VectorReal/
diff --git a/math/p5-Math-VectorReal/pkg-plist b/math/p5-Math-VectorReal/pkg-plist
new file mode 100644
index 000000000000..c3540ecf6069
--- /dev/null
+++ b/math/p5-Math-VectorReal/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/Math/synopsis.pl
+%%SITE_PERL%%/Math/VectorReal.pm
+%%SITE_PERL%%/Math/vector_test.pl
+%%SITE_PERL%%/Math/matrix_test.pl
+%%SITE_PERL%%//%%PERL_ARCH%%/auto/Math/VectorReal/.packlist
+@dirrmtry %%SITE_PERL%%/Math
+@dirrm %%SITE_PERL%%//%%PERL_ARCH%%/auto/Math/VectorReal
+@dirrmtry %%SITE_PERL%%//%%PERL_ARCH%%/auto/Math