aboutsummaryrefslogtreecommitdiff
path: root/math/p5-Math-Calc-Units/Makefile
blob: 0e9928bb52038b81fd64429019edad39ae4b4d07 (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
# New ports collection makefile for:	Math::Calc::Units
# Date created:				25 Jan 2002
# Whom:					Seamus Venasse <svenasse@polaris.ca>
#
# $FreeBSD$
#

PORTNAME=	Math-Calc-Units
PORTVERSION=	1.06
CATEGORIES=	math perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Math
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Human-readable unit-aware calculator

PERL_CONFIGURE=	yes

MAN3=		Math::Calc::Units.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
BUILD_DEPENDS+=	${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
post-patch:
	${PERL} -pi -e 's/ our / my /' ${WRKSRC}/Units/Convert/Base.pm
.endif

.include <bsd.port.post.mk>