aboutsummaryrefslogtreecommitdiff
path: root/math/p5-Math-Currency
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2005-02-15 14:20:36 +0000
committerMathieu Arnold <mat@FreeBSD.org>2005-02-15 14:20:36 +0000
commit8294a83c78342c422e30fb4c4f76e6711aaa2df4 (patch)
treeb9d224e6175409af5fcacb5d2e2aa74f463d36c4 /math/p5-Math-Currency
parentd70975acf0df093f6a6144addf6e698bdeaebc24 (diff)
downloadports-8294a83c78342c422e30fb4c4f76e6711aaa2df4.tar.gz
ports-8294a83c78342c422e30fb4c4f76e6711aaa2df4.zip
Update to 0.40
Add some docs
Notes
Notes: svn path=/head/; revision=128919
Diffstat (limited to 'math/p5-Math-Currency')
-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 2b07d48f1a93..fb5d6d144748 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 0e930ded7730..d37ee4774c91 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 f90545790ef5..7d80d78377e5 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