aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-06-21 23:08:34 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-06-21 23:08:34 +0800
commitb05a2b0bd1d0250aaf7d826cc6564d95f65eca53 (patch)
tree2de92eb214814b94ddbbe10a333418f41eed85b7
parente07c5de227886f866d10ab3782434f54e740a7d0 (diff)
downloadfreebsd-ports-gnome-b05a2b0bd1d0250aaf7d826cc6564d95f65eca53.tar.gz
freebsd-ports-gnome-b05a2b0bd1d0250aaf7d826cc6564d95f65eca53.tar.zst
freebsd-ports-gnome-b05a2b0bd1d0250aaf7d826cc6564d95f65eca53.zip
- Update to 0.20
- Convert to new options framework - Do not silence installation message Changes: http://search.cpan.org/dist/Finance-Currency-Convert-XE/Changes
-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