aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Math-Currency/Makefile
blob: 1e8c0b78b478094861e72184092d54ba72e8a01d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    Math-Currency
# Date created:             Wed Jan  3 10:58:59 2001
# Whom:                 will
#
# $FreeBSD$
#

PORTNAME=   Math-Currency
PORTVERSION=    0.46
CATEGORIES= math perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

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}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
RUN_DEPENDS=    ${BUILD_DEPENDS}

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>