aboutsummaryrefslogtreecommitdiffstats
path: root/finance
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2004-12-15 14:39:24 +0800
committertobez <tobez@FreeBSD.org>2004-12-15 14:39:24 +0800
commit1ed37715ee3a7aec4267d16dcf4367df1c118877 (patch)
treeb88c28a7c02f817283178de822f496e58d9739c9 /finance
parent306b2beedb190abe3f6ee91a9c11fa1a936b5306 (diff)
downloadfreebsd-ports-gnome-1ed37715ee3a7aec4267d16dcf4367df1c118877.tar.gz
freebsd-ports-gnome-1ed37715ee3a7aec4267d16dcf4367df1c118877.tar.zst
freebsd-ports-gnome-1ed37715ee3a7aec4267d16dcf4367df1c118877.zip
Add p5-Finance-Currency-Convert-XE, a currency conversion module that
uses XE.com.
Diffstat (limited to 'finance')
-rw-r--r--finance/Makefile1
-rw-r--r--finance/p5-Finance-Currency-Convert-XE/Makefile35
-rw-r--r--finance/p5-Finance-Currency-Convert-XE/distinfo2
-rw-r--r--finance/p5-Finance-Currency-Convert-XE/pkg-descr4
-rw-r--r--finance/p5-Finance-Currency-Convert-XE/pkg-plist9
5 files changed, 51 insertions, 0 deletions
diff --git a/finance/Makefile b/finance/Makefile
index 9b99d8326a7c..cba45cf0f1d2 100644
--- a/finance/Makefile
+++ b/finance/Makefile
@@ -43,6 +43,7 @@
SUBDIR += p5-Business-OnlinePayment-iAuthorizer
SUBDIR += p5-Business-WorldPay-Junior
SUBDIR += p5-Finance-Currency-Convert
+ SUBDIR += p5-Finance-Currency-Convert-XE
SUBDIR += p5-Finance-Quote
SUBDIR += p5-Finance-QuoteHist
SUBDIR += p5-Math-Financial
diff --git a/finance/p5-Finance-Currency-Convert-XE/Makefile b/finance/p5-Finance-Currency-Convert-XE/Makefile
new file mode 100644
index 000000000000..be388141bc6b
--- /dev/null
+++ b/finance/p5-Finance-Currency-Convert-XE/Makefile
@@ -0,0 +1,35 @@
+# 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.06
+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
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ ${PERL} -pi \
+ -e 's/5.006/5.004/;' \
+ -e '$$_="" if /use warnings/;' \
+ ${WRKSRC}/lib/Finance/Currency/Convert/XE.pm
+
+.include <bsd.port.post.mk>
diff --git a/finance/p5-Finance-Currency-Convert-XE/distinfo b/finance/p5-Finance-Currency-Convert-XE/distinfo
new file mode 100644
index 000000000000..e9d153daa3e1
--- /dev/null
+++ b/finance/p5-Finance-Currency-Convert-XE/distinfo
@@ -0,0 +1,2 @@
+MD5 (Finance-Currency-Convert-XE-0.06.tar.gz) = 891af868b8fb37b735ed3329bfd329c3
+SIZE (Finance-Currency-Convert-XE-0.06.tar.gz) = 6643
diff --git a/finance/p5-Finance-Currency-Convert-XE/pkg-descr b/finance/p5-Finance-Currency-Convert-XE/pkg-descr
new file mode 100644
index 000000000000..8551ac3c4f97
--- /dev/null
+++ b/finance/p5-Finance-Currency-Convert-XE/pkg-descr
@@ -0,0 +1,4 @@
+Currency conversion module using XE.com's Universal Currency Converter (tm)
+site.
+
+WWW: http://search.cpan.org/dist/Finance-Currency-Convert-XE
diff --git a/finance/p5-Finance-Currency-Convert-XE/pkg-plist b/finance/p5-Finance-Currency-Convert-XE/pkg-plist
new file mode 100644
index 000000000000..04ba97156e62
--- /dev/null
+++ b/finance/p5-Finance-Currency-Convert-XE/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/Finance/Currency/Convert/XE.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Finance/Currency/Convert/XE/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Finance/Currency/Convert/XE
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Finance/Currency/Convert 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Finance/Currency 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Finance/Currency/Convert 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Finance 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Finance/Currency 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Finance 2>/dev/null || true