aboutsummaryrefslogtreecommitdiffstats
path: root/finance
diff options
context:
space:
mode:
Diffstat (limited to 'finance')
-rw-r--r--finance/xquote/Makefile8
-rw-r--r--finance/xquote/distinfo4
-rw-r--r--finance/xquote/files/patch-aa11
-rw-r--r--finance/xquote/files/patch-ab14
-rw-r--r--finance/xquote/files/patch-ad21
-rw-r--r--finance/xquote/pkg-descr2
-rw-r--r--finance/xquote/pkg-plist2
7 files changed, 23 insertions, 39 deletions
diff --git a/finance/xquote/Makefile b/finance/xquote/Makefile
index 668038d15525..825c504fb446 100644
--- a/finance/xquote/Makefile
+++ b/finance/xquote/Makefile
@@ -5,17 +5,21 @@
# $FreeBSD$
PORTNAME= xquote
-PORTVERSION= 1.1
+PORTVERSION= 2.6.9
CATEGORIES= finance
-MASTER_SITES= http://sunsite.dk/xinvest/ \
+MASTER_SITES= http://xinvest.sunsite.dk/ \
${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications
MAINTAINER= mph@freebsd.org
COMMENT= A quote retrieval tool for X
+LIB_DEPENDS= Xbae.4:${PORTSDIR}/x11-toolkits/xbae
+
USE_MOTIF= yes
USE_IMAKE= yes
USE_XPM= yes
+PLIST_FILES= bin/Xquote lib/X11/app-defaults/Xquote
+
.include <bsd.port.mk>
diff --git a/finance/xquote/distinfo b/finance/xquote/distinfo
index 7bfe40651cc6..b5528d85afba 100644
--- a/finance/xquote/distinfo
+++ b/finance/xquote/distinfo
@@ -1,2 +1,2 @@
-MD5 (xquote-1.1.tar.gz) = 5c76c694b10f83e772f3a2101e93611d
-SIZE (xquote-1.1.tar.gz) = 74722
+MD5 (xquote-2.6.9.tar.gz) = e51f40e74acc476cd2a2e0129cb054cc
+SIZE (xquote-2.6.9.tar.gz) = 97913
diff --git a/finance/xquote/files/patch-aa b/finance/xquote/files/patch-aa
deleted file mode 100644
index 73f1c1d9a65d..000000000000
--- a/finance/xquote/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
deleted file mode 100644
index a65cfac404fd..000000000000
--- a/finance/xquote/files/patch-ab
+++ /dev/null
@@ -1,14 +0,0 @@
---- 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/files/patch-ad b/finance/xquote/files/patch-ad
index 66b2f30f16ca..a0d080f8f317 100644
--- a/finance/xquote/files/patch-ad
+++ b/finance/xquote/files/patch-ad
@@ -1,17 +1,22 @@
---- Imakefile.orig Wed Nov 5 08:13:15 1997
-+++ Imakefile Wed Nov 1 10:38:34 2000
-@@ -13,7 +13,7 @@
+--- Imakefile.orig Sat May 1 16:45:28 2004
++++ Imakefile Sun May 30 00:55:59 2004
+@@ -13,16 +13,16 @@
DEFINES = -DSHAPE -DXQUOTE
INCLUDES = -I$(INCROOT)/X11
-SYS_LIBRARIES = -lXm -lXpm $(XMULIB) $(XTOOLLIB) -lXext $(XLIB) -lm
-+SYS_LIBRARIES = $(MOTIFLIB) -lXpm $(XMULIB) $(XTOOLLIB) -lXext $(XLIB) -lm
++SYS_LIBRARIES = $(MOTIFLIB) -lXpm $(XMULIB) $(XTOOLLIB) -lXext $(XLIB) -lm -lXbae
DEPLIBS =
- SRCS = about.c color.c file.c help.c optdetail.c option.c optnet.c \
-@@ -24,5 +24,5 @@
- opttick.o optupdate.o parse.o pixmap.o remote.o server.o session.o \
- status.o tape.o util.o view.o xquote.o xutil.o
+ SRCS = about.c color.c fileXq.c help.c optdetail.c option.c optnet.c \
+ opttick.c optupdate.c parse.c pixmap.c remoteXq.c server.c session.c \
+- sessionXq.c status.c tape.c util.c view.c xquote.c xutil.c
++ sessionXi.c status.c tape.c util.c view.c xquote.c xutil.c
+
+ OBJS = about.o color.o fileXq.o help.o optdetail.o option.o optnet.o \
+ opttick.o optupdate.o parse.o pixmap.o remoteXq.o server.o session.o \
+- sessionXq.o status.o tape.o util.o view.o xquote.o xutil.o
++ sessionXi.o status.o tape.o util.o view.o xquote.o xutil.o
-ComplexProgramTarget(Xquote)
+ComplexProgramTargetNoMan(Xquote)
diff --git a/finance/xquote/pkg-descr b/finance/xquote/pkg-descr
index cd1dc64a7eba..6bdb2fa155d0 100644
--- a/finance/xquote/pkg-descr
+++ b/finance/xquote/pkg-descr
@@ -2,5 +2,7 @@ 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.
+WWW: http://xinvest.sunsite.dk/
+
- Ian
ian@broken.net
diff --git a/finance/xquote/pkg-plist b/finance/xquote/pkg-plist
deleted file mode 100644
index 2aa265b78741..000000000000
--- a/finance/xquote/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/Xquote
-lib/X11/app-defaults/Xquote