aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authoraaron <aaron@FreeBSD.org>2006-02-18 16:20:27 +0800
committeraaron <aaron@FreeBSD.org>2006-02-18 16:20:27 +0800
commitf1ae2121ccf752ff6376246a0fcec73eaaaf918f (patch)
tree8454da5c78c7c536ef8d0ce617d537a2a99a6e08 /math
parentff29940488aa2b6296ea80fac403f227a9947886 (diff)
downloadfreebsd-ports-gnome-f1ae2121ccf752ff6376246a0fcec73eaaaf918f.tar.gz
freebsd-ports-gnome-f1ae2121ccf752ff6376246a0fcec73eaaaf918f.tar.zst
freebsd-ports-gnome-f1ae2121ccf752ff6376246a0fcec73eaaaf918f.zip
Adding port math/p5-Math-Intersection-StraightLine, calculates the intersection point of straight lines as defined by either function, vector, or points.
Submitted by: aaron Approved by: tobez (implicit)
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-Math-Intersection-StraightLine/Makefile28
-rw-r--r--math/p5-Math-Intersection-StraightLine/distinfo3
-rw-r--r--math/p5-Math-Intersection-StraightLine/pkg-descr12
-rw-r--r--math/p5-Math-Intersection-StraightLine/pkg-plist7
5 files changed, 51 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 9ac7bdcf7c6c..00a8f39a4448 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -172,6 +172,7 @@
SUBDIR += p5-Math-GMP
SUBDIR += p5-Math-GSL
SUBDIR += p5-Math-Interpolate
+ SUBDIR += p5-Math-Intersection-StraightLine
SUBDIR += p5-Math-LinearCombination
SUBDIR += p5-Math-Logic
SUBDIR += p5-Math-Matrix
diff --git a/math/p5-Math-Intersection-StraightLine/Makefile b/math/p5-Math-Intersection-StraightLine/Makefile
new file mode 100644
index 000000000000..ab72d4f61ce4
--- /dev/null
+++ b/math/p5-Math-Intersection-StraightLine/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: Math-Intersection-StraightLine
+# Date created: 18 Feb 2006
+# Whom: Aaron Dalton <aaron@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Math-Intersection-StraightLine
+PORTVERSION= 0.02
+CATEGORIES= math perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Math
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= aaron@FreeBSD.org
+COMMENT= Calculate intersection point for two lines
+
+MAN3= Math::Intersection::StraightLine.3
+
+PERL_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires at least Perl5.6
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/math/p5-Math-Intersection-StraightLine/distinfo b/math/p5-Math-Intersection-StraightLine/distinfo
new file mode 100644
index 000000000000..c1145ad7af34
--- /dev/null
+++ b/math/p5-Math-Intersection-StraightLine/distinfo
@@ -0,0 +1,3 @@
+MD5 (Math-Intersection-StraightLine-0.02.tar.gz) = f686d5bc7b660f9a0d891c98d52908ed
+SHA256 (Math-Intersection-StraightLine-0.02.tar.gz) = 847830be0e77dbdc893f282f54af838889d69a9848b5c4330238303925c5ecdb
+SIZE (Math-Intersection-StraightLine-0.02.tar.gz) = 4145
diff --git a/math/p5-Math-Intersection-StraightLine/pkg-descr b/math/p5-Math-Intersection-StraightLine/pkg-descr
new file mode 100644
index 000000000000..05bbd0910ec5
--- /dev/null
+++ b/math/p5-Math-Intersection-StraightLine/pkg-descr
@@ -0,0 +1,12 @@
+This module calculates the intersection point of two straight lines (if
+one exists). It returns 0, if no intersection point exists. If the lines
+have an intersection point, the coordinates of the point are the
+returnvalue. If the given lines have infinite intersection points, -1 is
+returned.
+
+WWW: http://search.cpan.org/dist/Math-Intersection-StraightLine
+Author: Renee Baecker <module@renee-baecker.de>
+
+--
+Aaron Dalton
+aaron@FreeBSD.org
diff --git a/math/p5-Math-Intersection-StraightLine/pkg-plist b/math/p5-Math-Intersection-StraightLine/pkg-plist
new file mode 100644
index 000000000000..03c104575aa1
--- /dev/null
+++ b/math/p5-Math-Intersection-StraightLine/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Math/Intersection/StraightLine.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Intersection/StraightLine/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Intersection/StraightLine
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Intersection
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math
+@dirrmtry %%SITE_PERL%%/Math/Intersection
+@dirrmtry %%SITE_PERL%%/Math