1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Add math/p5-Math-ConvexHull 1.00, a Perl module to calculate convex

hulls using Graham's scan (n*log(n)).
This commit is contained in:
Anton Berezin 2005-10-24 08:28:28 +00:00
parent 457bd591f8
commit 7e9f8896a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146218
5 changed files with 45 additions and 0 deletions

View File

@ -160,6 +160,7 @@
SUBDIR += p5-Math-BigRat
SUBDIR += p5-Math-Calc-Units
SUBDIR += p5-Math-Combinatorics
SUBDIR += p5-Math-ConvexHull
SUBDIR += p5-Math-Currency
SUBDIR += p5-Math-Derivative
SUBDIR += p5-Math-Expr

View File

@ -0,0 +1,28 @@
# New ports collection makefile for: math/p5-Math-ConvexHull
# Date created: 24 October 2005
# Whom: Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Math-ConvexHull
PORTVERSION= 1.00
CATEGORIES= math perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Math
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Calculate convex hulls using Graham's scan (n*log(n))
PERL_CONFIGURE= yes
MAN3= Math::ConvexHull.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (Math-ConvexHull-1.00.tar.gz) = b3b5ccbdbf3094ac7ae96dd763981636
SIZE (Math-ConvexHull-1.00.tar.gz) = 3124

View File

@ -0,0 +1,9 @@
Math::ConvexHull is a simple module that calculates convex hulls from a
set of points in 2D space. It is a straightforward implementation of the
algorithm known as Graham's scan which, with complexity of O(n*log(n)),
is the fastest known method of finding the convex hull of an arbitrary
set of points. There are some methods of eliminating points that cannot
be part of the convex hull. These may or may not be implemented in a
future version.
WWW: http://search.cpan.org/dist/Math-ConvexHull/

View File

@ -0,0 +1,5 @@
%%SITE_PERL%%/Math/ConvexHull.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/ConvexHull/.packlist
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/ConvexHull 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Math 2>/dev/null || true