aboutsummaryrefslogtreecommitdiffstats
path: root/finance/p5-Finance-Currency-Convert-XE/Makefile
blob: 17184994bc63bf33d94cd5c8373948b586036c8d (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
# Created by: Anton Berezin <tobez@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Finance-Currency-Convert-XE
PORTVERSION=    0.25
CATEGORIES= finance perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Currency conversion module

LICENSE=    ART20

RUN_DEPENDS=    p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
        p5-WWW-Mechanize>=1.60:${PORTSDIR}/www/p5-WWW-Mechanize
BUILD_DEPENDS:= ${RUN_DEPENDS}

OPTIONS_DEFINE= DOCS

USES=       perl5
USE_PERL5=  configure

PORTDOCS=   Changes README

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
    @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif

.include <bsd.port.mk>