diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-11-02 13:59:51 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-11-02 13:59:51 +0000 |
commit | 6918fd31012e56798ed4afa8b0bbe9c623c4e57c (patch) | |
tree | 526761c6013d87fe4281606e9167257b0678adb6 /math/p5-GIS-Distance | |
parent | - Update to 0.10.13 (diff) |
Add p5-GIS-Distance 0.01001, calculate geographic distances.
PR: ports/104695
Submitted by: Gea-Suan Lin <gslin at gslin.org>
Notes
Notes:
svn path=/head/; revision=176189
Diffstat (limited to 'math/p5-GIS-Distance')
-rw-r--r-- | math/p5-GIS-Distance/Makefile | 34 | ||||
-rw-r--r-- | math/p5-GIS-Distance/distinfo | 3 | ||||
-rw-r--r-- | math/p5-GIS-Distance/pkg-descr | 5 | ||||
-rw-r--r-- | math/p5-GIS-Distance/pkg-plist | 14 |
4 files changed, 56 insertions, 0 deletions
diff --git a/math/p5-GIS-Distance/Makefile b/math/p5-GIS-Distance/Makefile new file mode 100644 index 000000000000..1813c1f70ab9 --- /dev/null +++ b/math/p5-GIS-Distance/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: p5-GIS-Distance +# Date created: 2006-10-23 +# Whom: Gea-Suan Lin <gslin@gslin.org> +# +# $FreeBSD$ +# + +PORTNAME= GIS-Distance +PORTVERSION= 0.01001 +CATEGORIES= math +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= ../../authors/id/B/BL/BLUEFEET +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= Calculate geographic distances + +RUN_DEPENDS= ${SITE_PERL}/Class/Data/Accessor.pm:${PORTSDIR}/devel/p5-Class-Data-Accessor \ + ${SITE_PERL}/Class/Measure.pm:${PORTSDIR}/devel/p5-Class-Measure + +PERL_CONFIGURE= yes + +MAN3= GIS::Distance.3 GIS::Distance::Cosine.3 \ + GIS::Distance::GeoEllipsoid.3 GIS::Distance::GreatCircle.3 \ + GIS::Distance::Haversine.3 GIS::Distance::MathTrig.3 \ + GIS::Distance::Polar.3 GIS::Distance::Vincenty.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500601 # Inherited from devel/p5-Class-Measure +IGNORE= requires Perl 5.6.1 or newer. Install lang/perl5.8 and try again +.endif + +.include <bsd.port.post.mk> diff --git a/math/p5-GIS-Distance/distinfo b/math/p5-GIS-Distance/distinfo new file mode 100644 index 000000000000..be0177279a44 --- /dev/null +++ b/math/p5-GIS-Distance/distinfo @@ -0,0 +1,3 @@ +MD5 (GIS-Distance-0.01001.tar.gz) = ff40f50e5fb2d521bc966ee1ef07b30e +SHA256 (GIS-Distance-0.01001.tar.gz) = a8896f822e8b7003f7758ea696b60289cda864f6f6b09a62a6f7d2b6339fab6a +SIZE (GIS-Distance-0.01001.tar.gz) = 7884 diff --git a/math/p5-GIS-Distance/pkg-descr b/math/p5-GIS-Distance/pkg-descr new file mode 100644 index 000000000000..0b89050b6bdc --- /dev/null +++ b/math/p5-GIS-Distance/pkg-descr @@ -0,0 +1,5 @@ +This perl library aims to provide as many tools to make it as simple +as possible to calculate distances between geographic points, and +anything that can be derived from that. + +WWW: http://search.cpan.org/dist/GIS-Distance/ diff --git a/math/p5-GIS-Distance/pkg-plist b/math/p5-GIS-Distance/pkg-plist new file mode 100644 index 000000000000..d2bd027db307 --- /dev/null +++ b/math/p5-GIS-Distance/pkg-plist @@ -0,0 +1,14 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/GIS/Distance/.packlist +%%SITE_PERL%%/GIS/Distance.pm +%%SITE_PERL%%/GIS/Distance/Cosine.pm +%%SITE_PERL%%/GIS/Distance/GeoEllipsoid.pm +%%SITE_PERL%%/GIS/Distance/GreatCircle.pm +%%SITE_PERL%%/GIS/Distance/Haversine.pm +%%SITE_PERL%%/GIS/Distance/MathTrig.pm +%%SITE_PERL%%/GIS/Distance/Polar.pm +%%SITE_PERL%%/GIS/Distance/Vincenty.pm +@dirrmtry %%SITE_PERL%%/GIS/Distance +@dirrmtry %%SITE_PERL%%/GIS +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/GIS/Distance +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/GIS |