aboutsummaryrefslogtreecommitdiff
path: root/math/p5-Math-Currency
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-02-25 12:06:25 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-02-25 12:06:25 +0000
commit8d1e6ba91677f0f8e5aeef4129103d0eba4e4b19 (patch)
tree173171c211bfc55b8746fec8c871413b72d0d944 /math/p5-Math-Currency
parent242d01bec2393ec6d3f132d1c18f5db1b5b2d8d7 (diff)
downloadports-8d1e6ba91677f0f8e5aeef4129103d0eba4e4b19.tar.gz
ports-8d1e6ba91677f0f8e5aeef4129103d0eba4e4b19.zip
have it work with all perls, fix plist
Notes
Notes: svn path=/head/; revision=102087
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