aboutsummaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2012-04-18 19:24:49 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2012-04-18 19:24:49 +0000
commit14adf7fc6f150832437c4641efdafed29d8150d4 (patch)
treedc6ace4cd57b9fa28e1c36cc7d3700203fdc6028 /finance
parent5a47ed18f1ef4df87a4ac60707b3e8d2b7177d87 (diff)
downloadports-14adf7fc6f150832437c4641efdafed29d8150d4.tar.gz
ports-14adf7fc6f150832437c4641efdafed29d8150d4.zip
- Add a new port: finance/R-cran-TTR
Functions and data to construct technical trading rules with R. WWW: http://cran.r-project.org/web/packages/TTR/
Notes
Notes: svn path=/head/; revision=295056
Diffstat (limited to 'finance')
-rw-r--r--finance/Makefile1
-rw-r--r--finance/R-cran-TTR/Makefile23
-rw-r--r--finance/R-cran-TTR/distinfo2
-rw-r--r--finance/R-cran-TTR/pkg-descr3
4 files changed, 29 insertions, 0 deletions
diff --git a/finance/Makefile b/finance/Makefile
index 9f1b9dac5b91..50308a776148 100644
--- a/finance/Makefile
+++ b/finance/Makefile
@@ -4,6 +4,7 @@
COMMENT = Monetary, financial and related applications
SUBDIR += R-cran-RFinanceYJ
+ SUBDIR += R-cran-TTR
SUBDIR += R-cran-ccgarch
SUBDIR += R-cran-gmm
SUBDIR += R-cran-lmtest
diff --git a/finance/R-cran-TTR/Makefile b/finance/R-cran-TTR/Makefile
new file mode 100644
index 000000000000..9e85cc0b7b2b
--- /dev/null
+++ b/finance/R-cran-TTR/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: R-cran-TTR
+# Date created: 2011-10-30
+# Whom: TAKATSU Tomonari <tota@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= TTR
+DISTVERSION= 0.21-0
+CATEGORIES= finance
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= tota@FreeBSD.org
+COMMENT= Technical Trading Rules
+
+LICENSE= GPLv3
+
+RUN_DEPENDS= R-cran-xts>=0.6.4:${PORTSDIR}/math/R-cran-xts
+
+USE_R_MOD= yes
+R_MOD_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/finance/R-cran-TTR/distinfo b/finance/R-cran-TTR/distinfo
new file mode 100644
index 000000000000..c2f13acba411
--- /dev/null
+++ b/finance/R-cran-TTR/distinfo
@@ -0,0 +1,2 @@
+SHA256 (TTR_0.21-0.tar.gz) = 78e7ad8af932c42313be2b1e42e0ed148b8dbeb34674f15b7f20244d08ca216a
+SIZE (TTR_0.21-0.tar.gz) = 282277
diff --git a/finance/R-cran-TTR/pkg-descr b/finance/R-cran-TTR/pkg-descr
new file mode 100644
index 000000000000..1e510a351a0d
--- /dev/null
+++ b/finance/R-cran-TTR/pkg-descr
@@ -0,0 +1,3 @@
+Functions and data to construct technical trading rules with R.
+
+WWW: http://cran.r-project.org/web/packages/TTR/