summaryrefslogtreecommitdiff
path: root/misc/tclticker
diff options
context:
space:
mode:
authoragc <agc>1999-12-21 12:47:29 +0000
committeragc <agc>1999-12-21 12:47:29 +0000
commit0c2f924fefd4c3dca4529a4fee7a3aa85f9bd38e (patch)
treecf3cab650fe8143ff0a32b57f4936fb465087201 /misc/tclticker
parent07fd2c7381210e46fe65719fe6187469ff326015 (diff)
downloadpkgsrc-0c2f924fefd4c3dca4529a4fee7a3aa85f9bd38e.tar.gz
Import tclticker into the NetBSD packages collection.
TCLTicker is a simple stock tickertape, using HTTP requests to fetch quotes. It includes 'mailquote', which can email quotes. TclTicker uses a plug-in architecture for quote services. Currently, quote service modules are written for Yahoo (one for U.S. markets, another for Euro markets) and Quote.com. User configuration includes tuning the ticker scroll rate and data refresh dates, fonts, http proxy, smtp host, rounding, always on top, and ticker symbol lists.
Diffstat (limited to 'misc/tclticker')
-rw-r--r--misc/tclticker/Makefile28
-rw-r--r--misc/tclticker/files/md53
-rw-r--r--misc/tclticker/files/patch-sum4
-rw-r--r--misc/tclticker/patches/patch-aa15
-rw-r--r--misc/tclticker/patches/patch-ab14
-rw-r--r--misc/tclticker/pkg/COMMENT1
-rw-r--r--misc/tclticker/pkg/DESCR2
-rw-r--r--misc/tclticker/pkg/PLIST9
8 files changed, 76 insertions, 0 deletions
diff --git a/misc/tclticker/Makefile b/misc/tclticker/Makefile
new file mode 100644
index 00000000000..590b0fd2b68
--- /dev/null
+++ b/misc/tclticker/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/12/21 12:47:29 agc Exp $
+#
+
+DISTNAME= tclticker-1.1
+CATEGORIES= misc tk80
+MASTER_SITES= http://www.neosoft.com/tcl/ftparchive/sorted/apps/tclticker/1.1/
+
+MAINTAINER= packages@netbsd.org
+#HOMEPAGE=
+
+DEPENDS+= tk-8.0.5:../../x11/tk80
+
+NO_BUILD= yes
+
+post-patch:
+ cd ${WRKSRC}; \
+ for f in tclticker mailquote; do \
+ ${MV} $$f $$f-prefix; \
+ ${SED} -e 's|@PREFIX@|${PREFIX}|g' $$f-prefix > $$f; \
+ done
+
+do-install:
+ ${BSD_INSTALL_SCRIPT} ${WRKSRC}/tclticker ${PREFIX}/bin
+ ${BSD_INSTALL_SCRIPT} ${WRKSRC}/mailquote ${PREFIX}/bin
+ -${MKDIR} -p ${PREFIX}/share/tclticker
+ cd ${WRKSRC}/lib ; ${GTAR} cf - . | (cd ${PREFIX}/share/tclticker ; ${GTAR} xvf - )
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/tclticker/files/md5 b/misc/tclticker/files/md5
new file mode 100644
index 00000000000..ffe568ceb74
--- /dev/null
+++ b/misc/tclticker/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/12/21 12:47:30 agc Exp $
+
+MD5 (tclticker-1.1.tar.gz) = f5d964a30de359d8bc02d994e5a80aef
diff --git a/misc/tclticker/files/patch-sum b/misc/tclticker/files/patch-sum
new file mode 100644
index 00000000000..d4048266807
--- /dev/null
+++ b/misc/tclticker/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/12/21 12:47:30 agc Exp $
+
+MD5 (patch-aa) = 7ebb503274c560db9283bec01fb2bb0f
+MD5 (patch-ab) = ba92480333c668554afe208df3bc8eda
diff --git a/misc/tclticker/patches/patch-aa b/misc/tclticker/patches/patch-aa
new file mode 100644
index 00000000000..e3ca2662462
--- /dev/null
+++ b/misc/tclticker/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/12/21 12:47:30 agc Exp $
+
+--- tclticker 1999/12/21 12:35:29 1.1
++++ tclticker 1999/12/21 12:38:00
+@@ -43,7 +43,9 @@
+ # authors grant the U.S. Government and others acting in its behalf
+ # permission to use and distribute the software in accordance with the
+ # terms specified in this license.
+-
++
++# set this explicitly
++set env(TCLTICKER_LIB) "@PREFIX@/share/tclticker"
+
+ if {! [info exists env(TCLTICKER_LIB)]} {
+ lappend auto_path [file join [file dirname $argv0] lib]
diff --git a/misc/tclticker/patches/patch-ab b/misc/tclticker/patches/patch-ab
new file mode 100644
index 00000000000..5b4268e1498
--- /dev/null
+++ b/misc/tclticker/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/12/21 12:47:30 agc Exp $
+
+--- mailquote 1999/12/21 12:37:01 1.1
++++ mailquote 1999/12/21 12:37:52
+@@ -46,6 +46,9 @@
+ # permission to use and distribute the software in accordance with the
+ # terms specified in this license.
+
++# set this explicitly
++set env(TCLTICKER_LIB) "@PREFIX@/share/tclticker"
++
+
+ if {! [info exists env(TCLTICKER_LIB)]} {
+ lappend auto_path [file join [file dirname $argv0] lib]
diff --git a/misc/tclticker/pkg/COMMENT b/misc/tclticker/pkg/COMMENT
new file mode 100644
index 00000000000..da4e51ff004
--- /dev/null
+++ b/misc/tclticker/pkg/COMMENT
@@ -0,0 +1 @@
+Stock-quote ticker tape application
diff --git a/misc/tclticker/pkg/DESCR b/misc/tclticker/pkg/DESCR
new file mode 100644
index 00000000000..e7690679680
--- /dev/null
+++ b/misc/tclticker/pkg/DESCR
@@ -0,0 +1,2 @@
+A simple stock tickertape, using HTTP requests to fetch quotes.
+Mailquote emails quotes to an email address.
diff --git a/misc/tclticker/pkg/PLIST b/misc/tclticker/pkg/PLIST
new file mode 100644
index 00000000000..b17bf8e487e
--- /dev/null
+++ b/misc/tclticker/pkg/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/12/21 12:47:30 agc Exp $
+bin/tclticker
+bin/mailquote
+share/tclticker/finance.uk.yahoo.com.tcl
+share/tclticker/finance.yahoo.com.tcl
+share/tclticker/rebuild_tclIndex.sh
+share/tclticker/tclIndex
+share/tclticker/ticker.lib
+share/tclticker/www.quote.com.tcl