|
Lines 6-33
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= Math-Currency |
8 |
PORTNAME= Math-Currency |
| 9 |
PORTVERSION= 0.11 |
9 |
PORTVERSION= 0.39 |
| 10 |
CATEGORIES= math perl5 |
10 |
CATEGORIES= math perl5 |
| 11 |
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} |
11 |
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} |
| 12 |
MASTER_SITE_SUBDIR= Math |
12 |
MASTER_SITE_SUBDIR= Math |
| 13 |
PKGNAMEPREFIX= p5- |
13 |
PKGNAMEPREFIX= p5- |
| 14 |
|
14 |
|
| 15 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= m@absolight.net |
| 16 |
COMMENT= Perl module for exact currency math with formatting and rounding |
16 |
COMMENT= Perl module for exact currency math with formatting and rounding |
| 17 |
|
17 |
|
| 18 |
BUILD_DEPENDS= ${SITE_PERL}/Math/FixedPrecision.pm:${PORTSDIR}/math/p5-Math-FixedPrecision |
18 |
BUILD_DEPENDS= ${SITE_PERL}/Math/FixedPrecision.pm:${PORTSDIR}/math/p5-Math-FixedPrecision |
| 19 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
19 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
| 20 |
|
20 |
|
|
|
21 |
PERL_CONFIGURE= yes |
| 22 |
|
| 23 |
MAN3= Math::Currency.3 |
| 24 |
|
| 21 |
.include <bsd.port.pre.mk> |
25 |
.include <bsd.port.pre.mk> |
| 22 |
|
26 |
|
| 23 |
.if ${OSVERSION} < 500007 |
27 |
.if ${PERL_LEVEL} < 500600 |
| 24 |
IGNORE= "Needs Perl 5.6.0 for Math::BigFloat" |
28 |
IGNORE= "Needs Perl 5.6.0 for Math::BigFloat" |
| 25 |
.endif |
29 |
.endif |
| 26 |
|
|
|
| 27 |
SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} |
| 28 |
PERL_CONFIGURE= yes |
| 29 |
|
| 30 |
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} |
| 31 |
MAN3= Math::Currency.3 |
| 32 |
|
30 |
|
| 33 |
.include <bsd.port.post.mk> |
31 |
.include <bsd.port.post.mk> |