aboutsummaryrefslogtreecommitdiffstats
path: root/finance/p5-Finance-Currency-Convert-XE/Makefile
blob: 733ed446f4d86603338c40e91e65dc39d9a4c5c4 (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
36
37
38
39
40
41
42
# New ports collection makefile for:    finance/p5-Finance-Currency-Convert-XE
# Date created:             10 December 2004
# Whom:                 Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Finance-Currency-Convert-XE
PORTVERSION=    0.10
CATEGORIES= finance perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Finance
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Finance::Currency::Convert::XE - Currency conversion module

BUILD_DEPENDS=  ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
        ${SITE_PERL}/${PERL_ARCH}/HTML/TokeParser.pm:${PORTSDIR}/www/p5-HTML-Parser \
        ${SITE_PERL}/WWW/Mechanize.pm:${PORTSDIR}/www/p5-WWW-Mechanize
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=   Finance::Currency::Convert::XE.3

.if !defined(NOPORTDOCS)
PORTDOCS=   Changes README

post-install:
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
    @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500601
IGNORE=     requires perl 5.6.x or later. Install lang/perl5.8 then try again
.endif

.include <bsd.port.post.mk>