[Midnightbsd-cvs] mports: /mports: Add finance category.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Sep 19 22:53:40 EDT 2007
Log Message:
-----------
Add finance category.
Add wmstock which allows you to track stocks in a windowmaker docapp.
Modified Files:
--------------
mports:
Makefile (r1.33 -> r1.34)
Added Files:
-----------
mports/finance:
Makefile (r1.1)
mports/finance/wmstock:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
mports/finance/wmstock/files:
patch-aa (r1.1)
patch-ab (r1.1)
-------------- next part --------------
--- /dev/null
+++ finance/Makefile
@@ -0,0 +1,8 @@
+# $MidnightBSD: mports/finance/Makefile,v 1.1 2007/09/20 02:53:38 laffer1 Exp $
+#
+
+ COMMENT = Monetary, financial and related applications
+
+ SUBDIR += wmstock
+
+.include <bsd.port.subdir.mk>
--- /dev/null
+++ finance/wmstock/pkg-descr
@@ -0,0 +1,5 @@
+wmstock is a cool WindowMaker dockapp that shows stock
+ticker(s) that are retrieved from Yahoo.
+
+Author: Matt Fischer <mfischer at umr.edu>
+WWW: http://mattfischer.com/wmstock/
--- /dev/null
+++ finance/wmstock/pkg-plist
@@ -0,0 +1,2 @@
+bin/wmstock
+bin/getquote
--- /dev/null
+++ finance/wmstock/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: wmstock
+# Date created: 19 Jun 1999
+# Whom: Will Andrews <andrews at technologist.com>
+#
+# $MidnightBSD: mports/finance/wmstock/Makefile,v 1.1 2007/09/20 02:53:38 laffer1 Exp $
+# $FreeBSD: ports/finance/wmstock/Makefile,v 1.16 2007/05/19 20:04:58 flz Exp $
+#
+
+PORTNAME= wmstock
+PORTVERSION= 0.11
+CATEGORIES= finance windowmaker
+MASTER_SITES= http://mattfischer.com/wmstock/src/
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= WindowMaker Dockapp that shows stock ticker(s)
+
+USE_XLIB= yes
+USE_X_PREFIX= yes
+USE_XPM= yes
+
+WRKSRC= ${WRKDIR}/wmstock/src
+USE_GMAKE= yes
+MAN1= wmstock.1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmstock ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/getquote ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/wmstock.1x ${PREFIX}/man/man1/wmstock.1
+
+.include <bsd.port.mk>
--- /dev/null
+++ finance/wmstock/distinfo
@@ -0,0 +1,3 @@
+MD5 (wmstock-0.11.tar.gz) = 9dcc25199f786298cea980d79ee83dbe
+SHA256 (wmstock-0.11.tar.gz) = e7fa585ee9961fbe2d5fe9dd4d89bb5e83af218201f04ab1e1375e0d7ee153d3
+SIZE (wmstock-0.11.tar.gz) = 45078
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/Makefile,v
retrieving revision 1.33
retrieving revision 1.34
diff -LMakefile -LMakefile -u -r1.33 -r1.34
--- Makefile
+++ Makefile
@@ -14,6 +14,7 @@
SUBDIR += dns
SUBDIR += editors
SUBDIR += emulators
+SUBDIR += finance
SUBDIR += ftp
SUBDIR += games
SUBDIR += german
--- /dev/null
+++ finance/wmstock/files/patch-ab
@@ -0,0 +1,22 @@
+--- Makefile Wed Apr 19 11:17:30 2000
++++ Makefile.new Sat May 20 01:34:48 2000
+@@ -2,14 +2,15 @@
+ # <mfischer at umr.edu>
+ # based on wmWeather - see ../Credits for more information
+
+-CC = gcc
++CC ?= gcc
+ DEBUG = -DMLF_DEBUG -DTIME_DEBUG
+ GCOV = -fprofile-arcs -ftest-coverage
+
+ #standard, should work for most Linux/Solaris (may need to be changed for HP)
+-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
+-DESTDIR= /usr/X11R6
+-LIBDIR = -L/usr/X11R6/lib
++X11BASE ?= /usr/X11R6
++INCDIR = -I${X11BASE}/include/X11 -I${X11BASE}/include
++DESTDIR= ${PREFIX}
++LIBDIR = -L${X11BASE}/lib
+
+ # for linux
+ LIBS = -lXpm -lX11 -lXext
--- /dev/null
+++ finance/wmstock/files/patch-aa
@@ -0,0 +1,28 @@
+--- getquote Sun May 14 13:28:49 2000
++++ getquote.new Sat May 20 01:37:30 2000
+@@ -1,6 +1,6 @@
+ #!/usr/bin/perl
+
+- $wget_loc = "wget";
++ $wget_loc = "fetch";
+
+ # used to have some "which" here, replaced it..
+
+@@ -77,7 +77,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;
+ $result = system ("$wget_loc$wget_args");
+ if ($result != 0) {
+@@ -118,7 +118,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;
+
More information about the Midnightbsd-cvs
mailing list