diff --git a/math/Makefile b/math/Makefile index 5faa023750d5..8846c831d526 100644 --- a/math/Makefile +++ b/math/Makefile @@ -351,6 +351,7 @@ SUBDIR += p5-Math-Units SUBDIR += p5-Math-Vec SUBDIR += p5-Math-VecStat + SUBDIR += p5-Math-VectorReal SUBDIR += p5-MatrixReal SUBDIR += p5-NetCDF SUBDIR += p5-Number-Compare 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 +# +# $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 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