Import of gkrellstock 0.2, submitted by Joshua Stein <jcs@rt.fm>.

A gkrellm plugin which displays stock quotes.
This commit is contained in:
naddy 2001-08-26 21:51:51 +00:00
parent 8bd6e5fe30
commit 342e56b4c3
5 changed files with 70 additions and 0 deletions

38
misc/gkrellstock/Makefile Normal file
View File

@ -0,0 +1,38 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/08/26 21:51:51 naddy Exp $
# vim:ts=8
DISTNAME= gkrellstock-0.2
CATEGORIES= misc
NEED_VERSION= 1.444
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
COMMENT= "gkrellm plugin to display stock quotes"
HOMEPAGE= http://www.geocities.com/m_muthukumar/gkrellstock.html
MASTER_SITES= http://www.geocities.com/m_muthukumar/
MAINTAINER= Joshua Stein <jcs@rt.fm>
USE_X11= Yes
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
WRKDIST= ${WRKDIR}/gkrellStock-0.2
BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm/gkrellm.h::sysutils/gkrellm
RUN_DEPENDS= gkrellm::sysutils/gkrellm \
${LOCALBASE}/libdata/perl5/site_perl/Finance/Quote.pm::misc/p5-Finance-Quote
ALL_TARGET=
do-install:
@mkdir -p ${PREFIX}/lib/gkrellm/plugins
${INSTALL_PROGRAM} ${WRKSRC}/gkrellstock.so \
${PREFIX}/lib/gkrellm/plugins
@mkdir -p ${PREFIX}/libdata/perl5/site_perl/Finance/Quote/
${INSTALL_DATA} ${WRKSRC}/Asia.pm \
${PREFIX}/libdata/perl5/site_perl/Finance/Quote/
${INSTALL_SCRIPT} ${WRKSRC}/GetQuote ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (gkrellstock-0.2.tar.gz) = 22f2665db35daa9837af056ead0e2e30
RMD160 (gkrellstock-0.2.tar.gz) = 48d6fc809a078f49eb9a62e4e1123829f0b889fb
SHA1 (gkrellstock-0.2.tar.gz) = 09f754fdb57505e52afacb22caec6c398ecc57de

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2001/08/26 21:51:51 naddy Exp $
--- Makefile.orig Tue Aug 7 09:06:13 2001
+++ Makefile Sun Aug 26 12:57:12 2001
@@ -5,16 +5,14 @@
IMLIB_LIB = `imlib-config --libs-gdk`
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
+CFLAGS+= -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
LIBS = $(GTK_LIB) $(IMLIB_LIB)
LFLAGS = -shared
-CC = gcc $(CFLAGS) $(FLAGS)
-
OBJS = gkrellstock.o
gkrellstock.so: $(OBJS)
- $(CC) $(OBJS) -o gkrellstock.so $(LFLAGS) $(LIBS) -lpthread
+ $(CC) $(OBJS) -o gkrellstock.so $(LFLAGS) $(LIBS)
clean:
rm -f *.o core *.so* *.bak *~

View File

@ -0,0 +1,3 @@
A gkrellm plugin which displays stock quotes.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/08/26 21:51:51 naddy Exp $
bin/GetQuote
lib/gkrellm/plugins/gkrellstock.so
libdata/perl5/site_perl/Finance/Quote/Asia.pm