diff options
Diffstat (limited to 'finance/tclticker')
-rw-r--r-- | finance/tclticker/Makefile | 28 | ||||
-rw-r--r-- | finance/tclticker/files/md5 | 3 | ||||
-rw-r--r-- | finance/tclticker/files/patch-sum | 4 | ||||
-rw-r--r-- | finance/tclticker/patches/patch-aa | 22 | ||||
-rw-r--r-- | finance/tclticker/patches/patch-ab | 21 | ||||
-rw-r--r-- | finance/tclticker/pkg/COMMENT | 1 | ||||
-rw-r--r-- | finance/tclticker/pkg/DESCR | 7 | ||||
-rw-r--r-- | finance/tclticker/pkg/PLIST | 9 |
8 files changed, 95 insertions, 0 deletions
diff --git a/finance/tclticker/Makefile b/finance/tclticker/Makefile new file mode 100644 index 00000000000..cfd47254fea --- /dev/null +++ b/finance/tclticker/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/12/11 13:53:25 wiz Exp $ +# + +DISTNAME= tclticker-1.1 +CATEGORIES= finance tk80 +MASTER_SITES= http://www.neosoft.com/tcl/ftparchive/sorted/apps/tclticker/1.1/ + +MAINTAINER= packages@netbsd.org +#HOMEPAGE= + +DEPENDS+= tk-8.3.2:../../x11/tk + +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: + ${INSTALL_SCRIPT} ${WRKSRC}/tclticker ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/mailquote ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/tclticker + cd ${WRKSRC}/lib ; ${GTAR} cf - . | (cd ${PREFIX}/share/tclticker ; ${GTAR} xvf - ) + +.include "../../mk/bsd.pkg.mk" diff --git a/finance/tclticker/files/md5 b/finance/tclticker/files/md5 new file mode 100644 index 00000000000..8398dbdbe9d --- /dev/null +++ b/finance/tclticker/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/12/11 13:53:25 wiz Exp $ + +MD5 (tclticker-1.1.tar.gz) = f5d964a30de359d8bc02d994e5a80aef diff --git a/finance/tclticker/files/patch-sum b/finance/tclticker/files/patch-sum new file mode 100644 index 00000000000..8ef8ae30ea3 --- /dev/null +++ b/finance/tclticker/files/patch-sum @@ -0,0 +1,4 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/12/11 13:53:25 wiz Exp $ + +MD5 (patch-aa) = 667b179d226033fd8b0fff41fa34cbaf +MD5 (patch-ab) = e1f7b8cd91ea32c07cf433be6558a373 diff --git a/finance/tclticker/patches/patch-aa b/finance/tclticker/patches/patch-aa new file mode 100644 index 00000000000..d89c593c097 --- /dev/null +++ b/finance/tclticker/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/12/11 13:53:25 wiz Exp $ +--- tclticker.orig Mon Dec 20 15:27:02 1999 ++++ tclticker Wed Aug 30 21:00:36 2000 +@@ -1,6 +1,6 @@ + #!/bin/sh + # restart using wish \ +- exec wish8.0 "$0" ${1+"$@"} ++ exec wish "$0" ${1+"$@"} + + # stock ticker + # copyright 1999 tom poindexter <tpoindex@nyx.net> +@@ -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) "/usr/pkg/share/tclticker" + + if {! [info exists env(TCLTICKER_LIB)]} { + lappend auto_path [file join [file dirname $argv0] lib] diff --git a/finance/tclticker/patches/patch-ab b/finance/tclticker/patches/patch-ab new file mode 100644 index 00000000000..afacb9bd103 --- /dev/null +++ b/finance/tclticker/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1.1.1 2000/12/11 13:53:25 wiz Exp $ +--- mailquote.orig Mon Dec 20 15:10:24 1999 ++++ mailquote Wed Aug 30 21:00:30 2000 +@@ -1,6 +1,6 @@ + #!/bin/sh + # restart using wish \ +- exec tclsh8.0 "$0" ${1+"$@"} ++ exec tclsh "$0" ${1+"$@"} + + # mailquote + # copyright 1999 tom poindexter <tpoindex@nyx.net> +@@ -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) "/usr/pkg/share/tclticker" ++ + + if {! [info exists env(TCLTICKER_LIB)]} { + lappend auto_path [file join [file dirname $argv0] lib] diff --git a/finance/tclticker/pkg/COMMENT b/finance/tclticker/pkg/COMMENT new file mode 100644 index 00000000000..da4e51ff004 --- /dev/null +++ b/finance/tclticker/pkg/COMMENT @@ -0,0 +1 @@ +Stock-quote ticker tape application diff --git a/finance/tclticker/pkg/DESCR b/finance/tclticker/pkg/DESCR new file mode 100644 index 00000000000..bf59c036e76 --- /dev/null +++ b/finance/tclticker/pkg/DESCR @@ -0,0 +1,7 @@ +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. diff --git a/finance/tclticker/pkg/PLIST b/finance/tclticker/pkg/PLIST new file mode 100644 index 00000000000..8ecbf574c60 --- /dev/null +++ b/finance/tclticker/pkg/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/11 13:53:25 wiz 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 |