aboutsummaryrefslogtreecommitdiffstats
path: root/finance
diff options
context:
space:
mode:
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/