aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2009-09-30 20:59:08 +0800
committertobez <tobez@FreeBSD.org>2009-09-30 20:59:08 +0800
commit6af4b1b54d35f512b7c0e889ee098b02778a7b51 (patch)
tree2dd83e52a897ec9ece8cb46fc0ec27f44718159a
parent5c0d9597c7af2afb696bd3afc218cd09376760f4 (diff)
downloadfreebsd-ports-gnome-6af4b1b54d35f512b7c0e889ee098b02778a7b51.tar.gz
freebsd-ports-gnome-6af4b1b54d35f512b7c0e889ee098b02778a7b51.tar.zst
freebsd-ports-gnome-6af4b1b54d35f512b7c0e889ee098b02778a7b51.zip
Add math/p5-Geo-Distance-XS 0.05, a Perl module that calculates
distances and closest locations faster than math/p5-Geo-Distance. Feature safe: yes
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-Geo-Distance-XS/Makefile25
-rw-r--r--math/p5-Geo-Distance-XS/distinfo3
-rw-r--r--math/p5-Geo-Distance-XS/pkg-descr5
-rw-r--r--math/p5-Geo-Distance-XS/pkg-plist9
5 files changed, 43 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index dd0de4e49bf6..4b4799369bae 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -286,6 +286,7 @@
SUBDIR += p5-GIS-Distance
SUBDIR += p5-Geo-Coordinates-UTM
SUBDIR += p5-Geo-Distance
+ SUBDIR += p5-Geo-Distance-XS
SUBDIR += p5-Graph
SUBDIR += p5-Math-Algebra-Symbols
SUBDIR += p5-Math-Base36
diff --git a/math/p5-Geo-Distance-XS/Makefile b/math/p5-Geo-Distance-XS/Makefile
new file mode 100644
index 000000000000..5f8fdf919386
--- /dev/null
+++ b/math/p5-Geo-Distance-XS/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: math/p5-Geo-Distance-XS
+# Date created: 30 September 2009
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Geo-Distance-XS
+PORTVERSION= 0.05
+CATEGORIES= math perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= Geo
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= Calculate Distances and Closest Locations faster
+
+BUILD_DEPENDS= p5-Geo-Distance>=0:${PORTSDIR}/math/p5-Geo-Distance
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Geo::Distance::XS.3
+
+.include <bsd.port.mk>
diff --git a/math/p5-Geo-Distance-XS/distinfo b/math/p5-Geo-Distance-XS/distinfo
new file mode 100644
index 000000000000..884d3bc9b9c1
--- /dev/null
+++ b/math/p5-Geo-Distance-XS/distinfo
@@ -0,0 +1,3 @@
+MD5 (Geo-Distance-XS-0.05.tar.gz) = 5a0d604cef0c5740c60112995c7d4981
+SHA256 (Geo-Distance-XS-0.05.tar.gz) = 87302b681e673f209a8e0ff0617ee2815df3dbaee8867165742797b211f74edb
+SIZE (Geo-Distance-XS-0.05.tar.gz) = 49120
diff --git a/math/p5-Geo-Distance-XS/pkg-descr b/math/p5-Geo-Distance-XS/pkg-descr
new file mode 100644
index 000000000000..238c92382aeb
--- /dev/null
+++ b/math/p5-Geo-Distance-XS/pkg-descr
@@ -0,0 +1,5 @@
+The Geo::Distance::XS module provides faster C implementations of the
+distance calculations found in Geo::Distance. See the documentation for
+that module for usage.
+
+WWW: http://search.cpan.org/dist/Geo-Distance-XS/
diff --git a/math/p5-Geo-Distance-XS/pkg-plist b/math/p5-Geo-Distance-XS/pkg-plist
new file mode 100644
index 000000000000..f9960b317d50
--- /dev/null
+++ b/math/p5-Geo-Distance-XS/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Geo/Distance/XS.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Distance/XS/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Distance/XS/XS.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Distance/XS/XS.so
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Distance/XS
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Distance
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Geo/Distance
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Geo