aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2005-02-15 22:20:36 +0800
committermat <mat@FreeBSD.org>2005-02-15 22:20:36 +0800
commitbfce8d2074d1676e2a256ef9b4b210840c80068b (patch)
tree03cca227e821a0d0848c609191a09dde4ce93f72 /math
parent74126287883c74ff4e4f74ba0ddc7e9ef15ebbff (diff)
downloadfreebsd-ports-graphics-bfce8d2074d1676e2a256ef9b4b210840c80068b.tar.gz
freebsd-ports-graphics-bfce8d2074d1676e2a256ef9b4b210840c80068b.tar.zst
freebsd-ports-graphics-bfce8d2074d1676e2a256ef9b4b210840c80068b.zip
Update to 0.40
Add some docs
Diffstat (limited to 'math')
-rw-r--r--math/p5-Math-Currency/Makefile16
-rw-r--r--math/p5-Math-Currency/distinfo4
-rw-r--r--math/p5-Math-Currency/pkg-plist7
3 files changed, 19 insertions, 8 deletions
diff --git a/math/p5-Math-Currency/Makefile b/math/p5-Math-Currency/Makefile
index 2b07d48f1a9..fb5d6d14474 100644
--- a/math/p5-Math-Currency/Makefile
+++ b/math/p5-Math-Currency/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Math-Currency
-PORTVERSION= 0.39
+PORTVERSION= 0.40
CATEGORIES= math perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Math
@@ -16,11 +16,21 @@ 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 \
- ${SITE_PERL}/Math/BigFloat.pm:${PORTSDIR}/math/p5-Math-BigInt
+ ${SITE_PERL}/Math/BigFloat.pm:${PORTSDIR}/math/p5-Math-BigInt \
+ ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
RUN_DEPENDS= ${BUILD_DEPENDS}
-PERL_CONFIGURE= yes
+PERL_MODBUILD= yes
MAN3= Math::Currency.3
+.if !defined(NOPORTDOCS)
+PORTDOCS= Changes
+
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+.endif
+
.include <bsd.port.mk>
diff --git a/math/p5-Math-Currency/distinfo b/math/p5-Math-Currency/distinfo
index 0e930ded773..d37ee4774c9 100644
--- a/math/p5-Math-Currency/distinfo
+++ b/math/p5-Math-Currency/distinfo
@@ -1,2 +1,2 @@
-MD5 (Math-Currency-0.39.tar.gz) = f53c41ec41be1bd576def284845e0b16
-SIZE (Math-Currency-0.39.tar.gz) = 9760
+MD5 (Math-Currency-0.40.tar.gz) = 4ac52e2fb15d84528e210379bd43a323
+SIZE (Math-Currency-0.40.tar.gz) = 21124
diff --git a/math/p5-Math-Currency/pkg-plist b/math/p5-Math-Currency/pkg-plist
index f90545790ef..7d80d78377e 100644
--- a/math/p5-Math-Currency/pkg-plist
+++ b/math/p5-Math-Currency/pkg-plist
@@ -1,5 +1,6 @@
%%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
+%%SITE_PERL%%/Math/Currency/EUR.pm
+%%SITE_PERL%%/Math/Currency/GBP.pm
+%%SITE_PERL%%/Math/Currency/JPY.pm
+@dirrm %%SITE_PERL%%/Math/Currency
@unexec rmdir %D/%%SITE_PERL%%/Math 2>/dev/null || true