aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-CAD-Calc/Makefile33
-rw-r--r--math/p5-CAD-Calc/distinfo3
-rw-r--r--math/p5-CAD-Calc/files/patch-lib-Calc.pm11
-rw-r--r--math/p5-CAD-Calc/pkg-descr4
-rw-r--r--math/p5-CAD-Calc/pkg-plist2
6 files changed, 54 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 7128abc61d7e..89ecfc619b9d 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -158,6 +158,7 @@
SUBDIR += p5-Bit-ShiftReg
SUBDIR += p5-Bit-Vector
SUBDIR += p5-Bit-Vector-Minimal
+ SUBDIR += p5-CAD-Calc
SUBDIR += p5-Chart-Math-Axis
SUBDIR += p5-Date-Handler
SUBDIR += p5-Geo-Distance
diff --git a/math/p5-CAD-Calc/Makefile b/math/p5-CAD-Calc/Makefile
new file mode 100644
index 000000000000..e733a5b1cab9
--- /dev/null
+++ b/math/p5-CAD-Calc/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: CAD-Calc
+# Date created: 21 May 2006
+# Whom: Aaron Dalton <aaron@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= CAD-Calc
+PORTVERSION= 0.25
+CATEGORIES= math graphics perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= CAD
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= aaron@FreeBSD.org
+COMMENT= Generic cad-related geometry calculations
+
+BUILD_DEPENDS= ${SITE_PERL}/Math/Vec.pm:${PORTSDIR}/math/p5-Math-Vec \
+ ${SITE_PERL}/Math/Round/Var.pm:${PORTSDIR}/math/p5-Math-Round-Var \
+ ${SITE_PERL}/Math/BigFloat.pm:${PORTSDIR}/math/p5-Math-BigInt
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+MAN3= CAD::Calc.3
+
+PERL_MODBUILD= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/math/p5-CAD-Calc/distinfo b/math/p5-CAD-Calc/distinfo
new file mode 100644
index 000000000000..70d17ec33c41
--- /dev/null
+++ b/math/p5-CAD-Calc/distinfo
@@ -0,0 +1,3 @@
+MD5 (CAD-Calc-0.25.tar.gz) = 8c6d7c470d403fc6d1e683002a418bcd
+SHA256 (CAD-Calc-0.25.tar.gz) = 09dd6205895f8d476e65d38c2c6b61ab143a5d7d59cdf9b9d3ac8e40dae566c7
+SIZE (CAD-Calc-0.25.tar.gz) = 12725
diff --git a/math/p5-CAD-Calc/files/patch-lib-Calc.pm b/math/p5-CAD-Calc/files/patch-lib-Calc.pm
new file mode 100644
index 000000000000..0c5df25c8902
--- /dev/null
+++ b/math/p5-CAD-Calc/files/patch-lib-Calc.pm
@@ -0,0 +1,11 @@
+--- lib/CAD/Calc.pm Fri Jan 6 22:25:54 2006
++++ lib/CAD/Calc.pm Sun May 21 16:15:57 2006
+@@ -1,7 +1,7 @@
+ package CAD::Calc;
+ our $VERSION = '0.25';
+
+-use Math::Vec qw(NewVec :terse);
++use Math::Vec qw(:terse NewVec);
+ use Math::Complex qw(acos);
+ use Math::Round::Var;
+ use Math::BigFloat;
diff --git a/math/p5-CAD-Calc/pkg-descr b/math/p5-CAD-Calc/pkg-descr
new file mode 100644
index 000000000000..dd8bc8607ab4
--- /dev/null
+++ b/math/p5-CAD-Calc/pkg-descr
@@ -0,0 +1,4 @@
+A library of generic CAD-related geometry calculations.
+
+WWW: http://search.cpan.org/dist/CAD-Calc
+Author: Eric L. Wilhelm <ewilhelm at cpan dot org>
diff --git a/math/p5-CAD-Calc/pkg-plist b/math/p5-CAD-Calc/pkg-plist
new file mode 100644
index 000000000000..45993ce302d0
--- /dev/null
+++ b/math/p5-CAD-Calc/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/CAD/Calc.pm
+@dirrmtry %%SITE_PERL%%/CAD