aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormph <mph@FreeBSD.org>1998-04-22 22:07:51 +0800
committermph <mph@FreeBSD.org>1998-04-22 22:07:51 +0800
commit983b18bce983a4d6555beda02599986b8ad73099 (patch)
tree5759d63a8297fbde2073f801bd51fecb31885a23 /misc
parent029661e7ad9e3eabbdb91740237da4f51ff86153 (diff)
downloadfreebsd-ports-gnome-983b18bce983a4d6555beda02599986b8ad73099.tar.gz
freebsd-ports-gnome-983b18bce983a4d6555beda02599986b8ad73099.tar.zst
freebsd-ports-gnome-983b18bce983a4d6555beda02599986b8ad73099.zip
Import of xquote, which gets stock quotes over the network.
PR: 5431 Submitted by: ian@majesticnet.com
Diffstat (limited to 'misc')
-rw-r--r--misc/xquote/Makefile23
-rw-r--r--misc/xquote/distinfo1
-rw-r--r--misc/xquote/files/patch-aa11
-rw-r--r--misc/xquote/files/patch-ab14
-rw-r--r--misc/xquote/pkg-comment1
-rw-r--r--misc/xquote/pkg-descr6
-rw-r--r--misc/xquote/pkg-plist2
7 files changed, 58 insertions, 0 deletions
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 <ian@broken.net>
+#
+# $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 <bsd.port.mk>
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