aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Math-Currency
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2004-02-25 20:06:25 +0800
committermat <mat@FreeBSD.org>2004-02-25 20:06:25 +0800
commit4384e768bd36410c3a8d8bf936adc7a23a7152e8 (patch)
treeebbbbb00e7964940afc0b19bd2543af91978239a /math/p5-Math-Currency
parent5bbbf128928a0bcbd3e7a76f8c02975fb27eb30c (diff)
downloadfreebsd-ports-gnome-4384e768bd36410c3a8d8bf936adc7a23a7152e8.tar.gz
freebsd-ports-gnome-4384e768bd36410c3a8d8bf936adc7a23a7152e8.tar.zst
freebsd-ports-gnome-4384e768bd36410c3a8d8bf936adc7a23a7152e8.zip
have it work with all perls, fix plist
Diffstat (limited to 'math/p5-Math-Currency')
-rw-r--r--math/p5-Math-Currency/Makefile13
-rw-r--r--math/p5-Math-Currency/pkg-plist2
2 files changed, 6 insertions, 9 deletions
diff --git a/math/p5-Math-Currency/Makefile b/math/p5-Math-Currency/Makefile
index 522a521de7bd..2b07d48f1a93 100644
--- a/math/p5-Math-Currency/Makefile
+++ b/math/p5-Math-Currency/Makefile
@@ -12,20 +12,15 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Math
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= mat@FreeBSD.org
COMMENT= Perl module for exact currency math with formatting and rounding
-BUILD_DEPENDS= ${SITE_PERL}/Math/FixedPrecision.pm:${PORTSDIR}/math/p5-Math-FixedPrecision
+BUILD_DEPENDS= ${SITE_PERL}/Math/FixedPrecision.pm:${PORTSDIR}/math/p5-Math-FixedPrecision \
+ ${SITE_PERL}/Math/BigFloat.pm:${PORTSDIR}/math/p5-Math-BigInt
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500600
-IGNORE= "Needs Perl 5.6.0 for Math::BigFloat"
-.endif
-
MAN3= Math::Currency.3
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/math/p5-Math-Currency/pkg-plist b/math/p5-Math-Currency/pkg-plist
index e9851e5e8d0c..f90545790ef5 100644
--- a/math/p5-Math-Currency/pkg-plist
+++ b/math/p5-Math-Currency/pkg-plist
@@ -1,3 +1,5 @@
%%SITE_PERL%%/Math/Currency.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Currency/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Currency
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Math 2>/dev/null || true