summaryrefslogtreecommitdiff
path: root/math/p5-GIS-Distance/Makefile
blob: 1813c1f70ab94f3f8e0388acbe9fa2cb9cea0eff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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>