freebsd-ports/math/p5-Math-Calc-Units/Makefile
Yen-Ming Lee 0c92387100 - update to 1.06
- unbreak under old perl
2006-06-29 01:48:18 +00:00

31 lines
670 B
Makefile

# 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>