aboutsummaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-08-01 02:56:37 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-08-01 02:56:37 +0000
commitc38aaa7db0c660d54a66ee5b56c4c5d4a42355a4 (patch)
treecf341f5688d777834a791b9280b5e1d5e5de78c5 /finance
parent041a60736f9ce63aa3a9eebf0a60c35a76392005 (diff)
downloadports-c38aaa7db0c660d54a66ee5b56c4c5d4a42355a4.tar.gz
ports-c38aaa7db0c660d54a66ee5b56c4c5d4a42355a4.zip
Notes
Diffstat (limited to 'finance')
-rw-r--r--finance/wmstock/Makefile29
-rw-r--r--finance/wmstock/distinfo1
-rw-r--r--finance/wmstock/files/patch-aa34
-rw-r--r--finance/wmstock/files/patch-ab41
-rw-r--r--finance/wmstock/pkg-comment1
-rw-r--r--finance/wmstock/pkg-descr11
-rw-r--r--finance/wmstock/pkg-plist2
7 files changed, 119 insertions, 0 deletions
diff --git a/finance/wmstock/Makefile b/finance/wmstock/Makefile
new file mode 100644
index 000000000000..4858d547a010
--- /dev/null
+++ b/finance/wmstock/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: wmstock
+# Version required: 0.06
+# Date created: 19 Jun 1999
+# Whom: Will Andrews <andrews@technologist.com>
+#
+# $Id$
+#
+
+DISTNAME= wmstock-0.06
+CATEGORIES= misc
+MASTER_SITES= http://mattfischer.com/wmstock/src/ \
+ http://www.psn.net/~andrews/wmstock/
+
+MAINTAINER= andrews@technologist.com
+
+LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
+
+USE_X_PREFIX= yes
+
+WRKSRC= ${WRKDIR}/wmstock/src
+USE_GMAKE= yes
+MAN1= wmstock.1
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/wmstock ${PREFIX}/bin/wmstock
+ @${INSTALL_SCRIPT} ${WRKSRC}/testqt.pl ${PREFIX}/bin/testqt.pl
+ @${INSTALL_MAN} ${WRKSRC}/wmstock.1x ${PREFIX}/man/man1/wmstock.1
+
+.include <bsd.port.mk>
diff --git a/finance/wmstock/distinfo b/finance/wmstock/distinfo
new file mode 100644
index 000000000000..de40fe753295
--- /dev/null
+++ b/finance/wmstock/distinfo
@@ -0,0 +1 @@
+MD5 (wmstock-0.06.tar.gz) = 56687a81ad7fe74b67856d0369bcea8b
diff --git a/finance/wmstock/files/patch-aa b/finance/wmstock/files/patch-aa
new file mode 100644
index 000000000000..faf869cc57c2
--- /dev/null
+++ b/finance/wmstock/files/patch-aa
@@ -0,0 +1,34 @@
+--- testqt.pl.orig Sun Aug 1 19:46:56 1999
++++ testqt.pl Sun Aug 1 19:48:47 1999
+@@ -1,11 +1,11 @@
+ #!/usr/bin/perl
+
+- $wget_loc = `which wget`;
++ $wget_loc = `which fetch`;
+ chop $wget_loc;
+
+ if (!$wget_loc)
+ {
+- die "testqt.pl:: Could not find wget. If it is not in your path please add it to your path. If it is not installed please install it.\n";
++ die "testqt.pl:: Could not find fetch. If it is not in your path please add it to your path. If it is not installed please install it.\n";
+ }
+
+ $home = (getpwuid($<))[7];
+@@ -78,7 +78,7 @@
+ #
+
+ $tempfile = "stock.tmp.$$";
+- $wget_args = " --cache=off --tries 0 -q -O $home/.wmstock/$tempfile \"$URL\"";
++ $wget_args = " -p -o $home/.wmstock/$tempfile \"$URL\"";
+ $command = $wget_loc.$wget_args;
+ system "$wget_loc$wget_args";
+ sleep(3);
+@@ -115,7 +115,7 @@
+ $version = $_[0];
+ $vtempfile = ".newest";
+ $vers_url="http://www.mattfischer.com/wmstock/src/$vtempfile";
+- $wget_args = " --cache=off --tries 0 -q -O $home/.wmstock/$vtempfile \"$vers_url\"";
++ $wget_args = " -p -o $home/.wmstock/$vtempfile \"$vers_url\"";
+ $command = $wget_loc.$wget_args;
+
+ print "Please wait while I check for a new version.\n";
diff --git a/finance/wmstock/files/patch-ab b/finance/wmstock/files/patch-ab
new file mode 100644
index 000000000000..b4707ad937f5
--- /dev/null
+++ b/finance/wmstock/files/patch-ab
@@ -0,0 +1,41 @@
+--- Makefile.orig Wed Jul 7 12:22:08 1999
++++ Makefile Sun Aug 1 19:45:11 1999
+@@ -2,13 +2,13 @@
+ # <mfischer@umr.edu>
+ # based on wmWeather - see ../Credits for more information
+
+-CC = gcc
+-CFLAGS = -O2 -g -Wall
++CC ?= gcc
++CFLAGS += -g -Wall
+ DEBUG = -DMLF_DEBUG
+ GCOV = -fprofile-arcs -ftest-coverage
+-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
+-DESTDIR= /usr/X11R6
+-LIBDIR = -L/usr/X11R6/lib
++INCDIR = -I${PREFIX}/include/X11 -I${PREFIX}/include
++DESTDIR= ${PREFIX}
++LIBDIR = -L${PREFIX}/lib
+ # for linux
+ LIBS = -lXpm -lX11 -lXext
+ # for Solaris
+@@ -22,10 +22,6 @@
+ .c.o:
+ $(CC) $(CFLAGS) -c $< -o $*.o $(INCDIR)
+
+-# $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
+-# no longer need the -D<uname>...
+-
+-
+ all: wmstock.o wmstock
+
+ wmstock.o: wmstock_master.xpm wmstock_mask.xbm
+@@ -43,8 +39,3 @@
+ rm -f $$i; \
+ done
+ rm -f wmstock
+-
+-install:: wmstock
+- install -c -s -m 0755 wmstock $(DESTDIR)/bin
+- install -c -m 0755 testqt.pl $(DESTDIR)/bin
+- install -c -m 0644 wmstock.1x $(DESTDIR)/man/man1
diff --git a/finance/wmstock/pkg-comment b/finance/wmstock/pkg-comment
new file mode 100644
index 000000000000..12a1f9f2f1f2
--- /dev/null
+++ b/finance/wmstock/pkg-comment
@@ -0,0 +1 @@
+Cool WindowMaker Dockapp that shows stock ticker(s)
diff --git a/finance/wmstock/pkg-descr b/finance/wmstock/pkg-descr
new file mode 100644
index 000000000000..52a4097b9937
--- /dev/null
+++ b/finance/wmstock/pkg-descr
@@ -0,0 +1,11 @@
+wmstock is a cool WindowMaker dockapp that shows stock
+ticker(s) that are retrieved from Yahoo through wget.
+
+However, since wget appears to be broken in this manner/form
+at this time, this port has a patch to use lynx instead, and
+requires lynx to be installed.
+
+Author: Matt Fischer <mfischer@umr.edu>
+WWW: http://mattfischer.com/wmstock
+
+- Will <andrews@technologist.com>
diff --git a/finance/wmstock/pkg-plist b/finance/wmstock/pkg-plist
new file mode 100644
index 000000000000..760888abb6a1
--- /dev/null
+++ b/finance/wmstock/pkg-plist
@@ -0,0 +1,2 @@
+bin/wmstock
+bin/testqt.pl