aboutsummaryrefslogtreecommitdiff
path: root/finance/p5-Finance-Currency-Convert-XE
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-06-21 15:08:34 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-06-21 15:08:34 +0000
commita383c74aaa98d8cec2317717708c7e1394a6a980 (patch)
treebbe41597d17eb00c2c54fd99169f5da7c7f99e1a /finance/p5-Finance-Currency-Convert-XE
parentec89d03b4296ef1215088a16fadfe8260b68a7cb (diff)
downloadports-a383c74aaa98d8cec2317717708c7e1394a6a980.tar.gz
ports-a383c74aaa98d8cec2317717708c7e1394a6a980.zip
Notes
Diffstat (limited to 'finance/p5-Finance-Currency-Convert-XE')
-rw-r--r--finance/p5-Finance-Currency-Convert-XE/Makefile13
-rw-r--r--finance/p5-Finance-Currency-Convert-XE/distinfo4
2 files changed, 10 insertions, 7 deletions
diff --git a/finance/p5-Finance-Currency-Convert-XE/Makefile b/finance/p5-Finance-Currency-Convert-XE/Makefile
index 3be33caf8606..3b0a143770e8 100644
--- a/finance/p5-Finance-Currency-Convert-XE/Makefile
+++ b/finance/p5-Finance-Currency-Convert-XE/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Finance-Currency-Convert-XE
-PORTVERSION= 0.19
+PORTVERSION= 0.20
CATEGORIES= finance perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -20,16 +20,19 @@ 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
+
PERL_CONFIGURE= yes
MAN3= Finance::Currency::Convert::XE.3
-
-.if !defined(NOPORTDOCS)
PORTDOCS= Changes README
+.include <bsd.port.options.mk>
+
post-install:
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
diff --git a/finance/p5-Finance-Currency-Convert-XE/distinfo b/finance/p5-Finance-Currency-Convert-XE/distinfo
index 731c22dcecda..5c12492bf9fd 100644
--- a/finance/p5-Finance-Currency-Convert-XE/distinfo
+++ b/finance/p5-Finance-Currency-Convert-XE/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Finance-Currency-Convert-XE-0.19.tar.gz) = 6ef7f5592b203f78d00334c19ef78759dbd63fb9a2c15a90e830d6608e282998
-SIZE (Finance-Currency-Convert-XE-0.19.tar.gz) = 12116
+SHA256 (Finance-Currency-Convert-XE-0.20.tar.gz) = 171cab41fda3c1aaa77b5983089fc63e32d1b8e55eb7d71697e7ab30571d8bff
+SIZE (Finance-Currency-Convert-XE-0.20.tar.gz) = 12117