0c92387100
- unbreak under old perl
30 lines
670 B
Makefile
30 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>
|