summaryrefslogtreecommitdiff
path: root/math/p5-CAD-Calc
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2006-05-21 22:26:37 +0000
committerAaron Dalton <aaron@FreeBSD.org>2006-05-21 22:26:37 +0000
commitc8bf71375d902214b82312eaf5a9384f3ef031a7 (patch)
tree4f9189691a92bfe450d2b0fa9de172106c9ebb4e /math/p5-CAD-Calc
parent- Minimal fix to unbreak this port after recent php changes (diff)
Adding port math/p5-CAD-Calc, generic cad-related geometry calculations
Approved by: tobez (implicit)
Notes
Notes: svn path=/head/; revision=163026
Diffstat (limited to 'math/p5-CAD-Calc')
-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
5 files changed, 53 insertions, 0 deletions
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