From 983b18bce983a4d6555beda02599986b8ad73099 Mon Sep 17 00:00:00 2001 From: mph Date: Wed, 22 Apr 1998 14:07:51 +0000 Subject: Import of xquote, which gets stock quotes over the network. PR: 5431 Submitted by: ian@majesticnet.com --- finance/xquote/Makefile | 23 +++++++++++++++++++++++ finance/xquote/distinfo | 1 + finance/xquote/files/patch-aa | 11 +++++++++++ finance/xquote/files/patch-ab | 14 ++++++++++++++ finance/xquote/pkg-comment | 1 + finance/xquote/pkg-descr | 6 ++++++ finance/xquote/pkg-plist | 2 ++ misc/xquote/Makefile | 23 +++++++++++++++++++++++ misc/xquote/distinfo | 1 + misc/xquote/files/patch-aa | 11 +++++++++++ misc/xquote/files/patch-ab | 14 ++++++++++++++ misc/xquote/pkg-comment | 1 + misc/xquote/pkg-descr | 6 ++++++ misc/xquote/pkg-plist | 2 ++ 14 files changed, 116 insertions(+) create mode 100644 finance/xquote/Makefile create mode 100644 finance/xquote/distinfo create mode 100644 finance/xquote/files/patch-aa create mode 100644 finance/xquote/files/patch-ab create mode 100644 finance/xquote/pkg-comment create mode 100644 finance/xquote/pkg-descr create mode 100644 finance/xquote/pkg-plist create mode 100644 misc/xquote/Makefile create mode 100644 misc/xquote/distinfo create mode 100644 misc/xquote/files/patch-aa create mode 100644 misc/xquote/files/patch-ab create mode 100644 misc/xquote/pkg-comment create mode 100644 misc/xquote/pkg-descr create mode 100644 misc/xquote/pkg-plist diff --git a/finance/xquote/Makefile b/finance/xquote/Makefile new file mode 100644 index 000000000000..cb03848953da --- /dev/null +++ b/finance/xquote/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: xquote +# Version required: 1.1 +# Date created: 4 Jan 1998 +# Whom: Ian Struble +# +# $Id$ + +DISTNAME= xquote-1.1 +CATEGORIES= misc +MASTER_SITES= http://sunsite.auc.dk/xinvest/ \ + ${MASTER_SITE_XCONTRIB} +MASTER_SITE_SUBDIR= applications + +MAINTAINER= mph@freebsd.org + +LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm + +REQUIRES_MOTIF= yes + +USE_IMAKE= yes +NO_INSTALL_MANPAGES= yes + +.include diff --git a/finance/xquote/distinfo b/finance/xquote/distinfo new file mode 100644 index 000000000000..b93679490488 --- /dev/null +++ b/finance/xquote/distinfo @@ -0,0 +1 @@ +MD5 (xquote-1.1.tar.gz) = 5c76c694b10f83e772f3a2101e93611d diff --git a/finance/xquote/files/patch-aa b/finance/xquote/files/patch-aa new file mode 100644 index 000000000000..73f1c1d9a65d --- /dev/null +++ b/finance/xquote/files/patch-aa @@ -0,0 +1,11 @@ +--- util.h.orig Tue Sep 23 01:50:46 1997 ++++ util.h Mon Nov 17 11:03:20 1997 +@@ -52,7 +52,7 @@ + int strncasecmp (char *, char *, int); + #endif + +-#if defined(__FreeBSD__) || defined (__sgi) ++#if defined (__sgi) + char *strptime ( char *, char *, struct tm *); + #endif + diff --git a/finance/xquote/files/patch-ab b/finance/xquote/files/patch-ab new file mode 100644 index 000000000000..a65cfac404fd --- /dev/null +++ b/finance/xquote/files/patch-ab @@ -0,0 +1,14 @@ +--- util.c.orig Tue Sep 23 01:50:42 1997 ++++ util.c Mon Nov 17 11:06:50 1997 +@@ -239,9 +239,9 @@ + #endif + + +-#if defined(__FreeBSD__) || defined (NEED_STRPTIME) ++#if defined (NEED_STRPTIME) + +-/* Weird, FreeBSD and IRIX 5 don't have this, but do have strftime. ++/* Weird, IRIX 5 doesn't have this, but do have strftime. + ** This is a crippled implementation, only supporting the formats + ** actually used in the rest of Xinvest. Note that the return _value_ + ** does not conform to the man page either. diff --git a/finance/xquote/pkg-comment b/finance/xquote/pkg-comment new file mode 100644 index 000000000000..96c49a102c46 --- /dev/null +++ b/finance/xquote/pkg-comment @@ -0,0 +1 @@ +A quote retrieval tool for X. diff --git a/finance/xquote/pkg-descr b/finance/xquote/pkg-descr new file mode 100644 index 000000000000..cd1dc64a7eba --- /dev/null +++ b/finance/xquote/pkg-descr @@ -0,0 +1,6 @@ +This is a port of Xquote, a quote retrieval program that allows you +to retrieve stock, mutual fund, and currency quotes from your favorite +quote spouting website. + +- Ian +ian@broken.net diff --git a/finance/xquote/pkg-plist b/finance/xquote/pkg-plist new file mode 100644 index 000000000000..2aa265b78741 --- /dev/null +++ b/finance/xquote/pkg-plist @@ -0,0 +1,2 @@ +bin/Xquote +lib/X11/app-defaults/Xquote diff --git a/misc/xquote/Makefile b/misc/xquote/Makefile new file mode 100644 index 000000000000..cb03848953da --- /dev/null +++ b/misc/xquote/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: xquote +# Version required: 1.1 +# Date created: 4 Jan 1998 +# Whom: Ian Struble +# +# $Id$ + +DISTNAME= xquote-1.1 +CATEGORIES= misc +MASTER_SITES= http://sunsite.auc.dk/xinvest/ \ + ${MASTER_SITE_XCONTRIB} +MASTER_SITE_SUBDIR= applications + +MAINTAINER= mph@freebsd.org + +LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm + +REQUIRES_MOTIF= yes + +USE_IMAKE= yes +NO_INSTALL_MANPAGES= yes + +.include diff --git a/misc/xquote/distinfo b/misc/xquote/distinfo new file mode 100644 index 000000000000..b93679490488 --- /dev/null +++ b/misc/xquote/distinfo @@ -0,0 +1 @@ +MD5 (xquote-1.1.tar.gz) = 5c76c694b10f83e772f3a2101e93611d diff --git a/misc/xquote/files/patch-aa b/misc/xquote/files/patch-aa new file mode 100644 index 000000000000..73f1c1d9a65d --- /dev/null +++ b/misc/xquote/files/patch-aa @@ -0,0 +1,11 @@ +--- util.h.orig Tue Sep 23 01:50:46 1997 ++++ util.h Mon Nov 17 11:03:20 1997 +@@ -52,7 +52,7 @@ + int strncasecmp (char *, char *, int); + #endif + +-#if defined(__FreeBSD__) || defined (__sgi) ++#if defined (__sgi) + char *strptime ( char *, char *, struct tm *); + #endif + diff --git a/misc/xquote/files/patch-ab b/misc/xquote/files/patch-ab new file mode 100644 index 000000000000..a65cfac404fd --- /dev/null +++ b/misc/xquote/files/patch-ab @@ -0,0 +1,14 @@ +--- util.c.orig Tue Sep 23 01:50:42 1997 ++++ util.c Mon Nov 17 11:06:50 1997 +@@ -239,9 +239,9 @@ + #endif + + +-#if defined(__FreeBSD__) || defined (NEED_STRPTIME) ++#if defined (NEED_STRPTIME) + +-/* Weird, FreeBSD and IRIX 5 don't have this, but do have strftime. ++/* Weird, IRIX 5 doesn't have this, but do have strftime. + ** This is a crippled implementation, only supporting the formats + ** actually used in the rest of Xinvest. Note that the return _value_ + ** does not conform to the man page either. diff --git a/misc/xquote/pkg-comment b/misc/xquote/pkg-comment new file mode 100644 index 000000000000..96c49a102c46 --- /dev/null +++ b/misc/xquote/pkg-comment @@ -0,0 +1 @@ +A quote retrieval tool for X. diff --git a/misc/xquote/pkg-descr b/misc/xquote/pkg-descr new file mode 100644 index 000000000000..cd1dc64a7eba --- /dev/null +++ b/misc/xquote/pkg-descr @@ -0,0 +1,6 @@ +This is a port of Xquote, a quote retrieval program that allows you +to retrieve stock, mutual fund, and currency quotes from your favorite +quote spouting website. + +- Ian +ian@broken.net diff --git a/misc/xquote/pkg-plist b/misc/xquote/pkg-plist new file mode 100644 index 000000000000..2aa265b78741 --- /dev/null +++ b/misc/xquote/pkg-plist @@ -0,0 +1,2 @@ +bin/Xquote +lib/X11/app-defaults/Xquote -- cgit