pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/finance/gkrellm-stock Update to version 0.5.1. This i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/879dc6245d3b
branches:  trunk
changeset: 469538:879dc6245d3b
user:      cube <cube%pkgsrc.org@localhost>
date:      Tue Feb 24 23:05:57 2004 +0000

description:
Update to version 0.5.1.  This is the GKrellM-2 port of the stock plugin.

diffstat:

 finance/gkrellm-stock/Makefile         |  43 +++++++++++++-----------------
 finance/gkrellm-stock/PLIST            |   6 ++--
 finance/gkrellm-stock/distinfo         |   9 ++---
 finance/gkrellm-stock/patches/patch-aa |  48 +++------------------------------
 finance/gkrellm-stock/patches/patch-ab |  16 -----------
 5 files changed, 31 insertions(+), 91 deletions(-)

diffs (157 lines):

diff -r f9568f5a77f4 -r 879dc6245d3b finance/gkrellm-stock/Makefile
--- a/finance/gkrellm-stock/Makefile    Tue Feb 24 23:05:08 2004 +0000
+++ b/finance/gkrellm-stock/Makefile    Tue Feb 24 23:05:57 2004 +0000
@@ -1,30 +1,25 @@
-# $NetBSD: Makefile,v 1.9 2004/01/20 12:14:59 agc Exp $
+# $NetBSD: Makefile,v 1.10 2004/02/24 23:05:57 cube Exp $
+#
 
-DISTNAME=      gkrellstock-0.2
-PKGNAME=       gkrellm-stock-0.2
-PKGREVISION=   4
-CATEGORIES=    finance
-MASTER_SITES=  http://www.geocities.com/m_muthukumar/
+DISTNAME=              gkrellstock-0.5.1
+PKGNAME=               gkrellm-stock-0.5.1
+CATEGORIES=            finance
+MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=gkrellstock/}
 
-MAINTAINER=    damon%NetBSD.org@localhost
-HOMEPAGE=      http://www.geocities.com/m_muthukumar/gkrellstock.html
-COMMENT=       gkrellm stock ticker plugin
-
-DEPENDS+=       p5-finance-quote-1.*:../../finance/p5-finance-quote
+MAINTAINER=            cube%NetBSD.org@localhost
+HOMEPAGE=              http://gkrellstock.sourceforge.net/
+COMMENT=               GKrellM2 stock ticker plugin
 
-WRKSRC=                ${WRKDIR}/gkrellStock-0.2
-USE_BUILDLINK2=        # defined
-USE_PERL5=     # defined
+DEPENDS+=              p5-finance-quote>=1.08:../../finance/p5-finance-quote
+
+WRKSRC=                        ${WRKDIR}/gkrellStock-0.5.1
+USE_BUILDLINK3=                yes
+ALL_TARGET=            gkrellstock.so
+REPLACE_PERL=          ${WRKSRC}/GetQuote2
 
-do-configure:
-.for FILE in GetQuote Asia.pm
-       ${CP} ${WRKSRC}/${FILE} ${WRKSRC}/${FILE}.ORIG
-       ${SED} -e "s,/usr/bin/perl,${PERL5},g" \
-               < ${WRKSRC}/${FILE}.ORIG > ${WRKSRC}/${FILE}
-.endfor
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/gkrellstock.so ${PREFIX}/lib/gkrellm2/plugins
+       ${INSTALL_SCRIPT} ${WRKSRC}/GetQuote2 ${PREFIX}/bin
 
-pre-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/lib/gkrellm/plugins
-
-.include "../../sysutils/gkrellm/buildlink2.mk"
+.include "../../sysutils/gkrellm/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f9568f5a77f4 -r 879dc6245d3b finance/gkrellm-stock/PLIST
--- a/finance/gkrellm-stock/PLIST       Tue Feb 24 23:05:08 2004 +0000
+++ b/finance/gkrellm-stock/PLIST       Tue Feb 24 23:05:57 2004 +0000
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:01:09 zuntum Exp $
-lib/gkrellm/plugins/gkrellstock.so
-bin/GetQuote
+@comment $NetBSD: PLIST,v 1.2 2004/02/24 23:05:57 cube Exp $
+bin/GetQuote2
+lib/gkrellm2/plugins/gkrellstock.so
diff -r f9568f5a77f4 -r 879dc6245d3b finance/gkrellm-stock/distinfo
--- a/finance/gkrellm-stock/distinfo    Tue Feb 24 23:05:08 2004 +0000
+++ b/finance/gkrellm-stock/distinfo    Tue Feb 24 23:05:57 2004 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/10/30 13:23:40 damon Exp $
+$NetBSD: distinfo,v 1.2 2004/02/24 23:05:57 cube Exp $
 
-SHA1 (gkrellstock-0.2.tar.gz) = 09f754fdb57505e52afacb22caec6c398ecc57de
-Size (gkrellstock-0.2.tar.gz) = 19062 bytes
-SHA1 (patch-aa) = bcdc060a96420778992a75deb7244da14de68e1e
-SHA1 (patch-ab) = 22d4b7ca33f5f682849c9f05e035567c422e2d31
+SHA1 (gkrellstock-0.5.1.tar.gz) = b0352fbcde2f6f2cfbbb666176ce415a4924b434
+Size (gkrellstock-0.5.1.tar.gz) = 22385 bytes
+SHA1 (patch-aa) = fe5e598211dcf16a8eb828a8c6f4fae19679f017
diff -r f9568f5a77f4 -r 879dc6245d3b finance/gkrellm-stock/patches/patch-aa
--- a/finance/gkrellm-stock/patches/patch-aa    Tue Feb 24 23:05:08 2004 +0000
+++ b/finance/gkrellm-stock/patches/patch-aa    Tue Feb 24 23:05:57 2004 +0000
@@ -1,51 +1,13 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/10/30 13:23:40 damon Exp $
+$NetBSD: patch-aa,v 1.2 2004/02/24 23:05:57 cube Exp $
 
---- Makefile.orig      Tue Aug  7 10:06:13 2001
+--- Makefile.orig      2003-04-21 21:51:38.000000000 +0200
 +++ Makefile
-@@ -5,14 +5,16 @@
- IMLIB_LIB = `imlib-config --libs-gdk`
- 
- 
--FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
-+CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) -I${PREFIX}/include
- LIBS = $(GTK_LIB) $(IMLIB_LIB)
+@@ -5,7 +5,7 @@ FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE)
+ LIBS = $(GTK_LIB)
  LFLAGS = -shared
  
 -CC = gcc $(CFLAGS) $(FLAGS)
-+CC = gcc $(CFLAGS)
++CC += $(CFLAGS) $(FLAGS)
  
  OBJS = gkrellstock.o
  
-+all: gkrellstock.so
-+
- gkrellstock.so: $(OBJS)
-       $(CC) $(OBJS) -o gkrellstock.so $(LFLAGS) $(LIBS)  -lpthread
- 
-@@ -22,23 +24,10 @@
- gkrellstock.o: gkrellstock.c
- 
- install:
--      if [ -d /usr/lib/gkrellm/plugins/ ] ; then \
--              install -c -s -m 644 gkrellstock.so /usr/lib/gkrellm/plugins/ ; \
--      elif [ -d /usr/share/gkrellm/plugins/ ] ; then \
--              install -c -s -m 644 gkrellstock.so /usr/share/gkrellm/plugins/ ; \
--      elif [ -d /usr/local/lib/gkrellm/plugins/ ] ; then \
--              install -c -s -m 644 gkrellstock.so /usr/local/lib/gkrellm/plugins/ ; \
--      elif [ -d /usr/lib/gkrellm/plugins/ ] ; then \
--              install -c -s -m 644 gkrellstock.so /usr/lib/gkrellm/plugins/ ; \
--      else \
--              install -D -c -s -m 644 gkrellstock.so /usr/lib/gkrellm/plugins/gkrellstock.so ; \
--      fi
--      install -c -m 755 GetStock /usr/X11R6/bin
-+      install -c -s -m 644 gkrellstock.so ${PREFIX}/lib/gkrellm/plugins
-+      install -c -m 755 GetQuote ${PREFIX}/bin
- 
- uninstall:
--      rm -f /usr/lib/gkrellm/plugins/gkrellstock.so
--      rm -f /usr/share/gkrellm/plugins/gkrellstock.so
--      rm -f /usr/local/lib/gkrellm/plugins/gkrellstock.so
--      rm -f /usr/lib/gkrellm/plugins/gkrellstock.so
--      rm -f /usr/X11R6/bin/GetQuote
-+      rm -f ${PREFIX}/lib/gkrellm/plugins/gkrellstock.so
-+      rm -f ${PREFIX}/bin/GetQuote
- 
diff -r f9568f5a77f4 -r 879dc6245d3b finance/gkrellm-stock/patches/patch-ab
--- a/finance/gkrellm-stock/patches/patch-ab    Tue Feb 24 23:05:08 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/10/30 13:23:40 damon Exp $
-
---- GetQuote.orig      Sat Oct 20 00:52:44 2001
-+++ GetQuote
-@@ -95,7 +95,10 @@
- # Get rid of puncuation in @ARGV.  This will filter out metacharacters and
- # such, which makes the script marginally more safe
- #
--foreach (@tickers) { s/[^a-zA-Z0-9\-=_\.]//; }
-+
-+# Add ^ to the list so that we can display indices
-+
-+foreach (@tickers) { s/[^a-zA-Z0-9\-=_\.\^]//; }
- 
- # Check the input to make sure we can look stuff up
- #



Home | Main Index | Thread Index | Old Index