Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2001 18:43:42 -0400 (EDT)
From:      Patrick Li <pat@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29834: New port misc/gkrellscore
Message-ID:  <200108172243.f7HMhgC43642@cc92687-a.wlgrv1.pa.home.com>

next in thread | raw e-mail | index | archive | help

>Number:         29834
>Category:       ports
>Synopsis:       New port misc/gkrellscore
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 17 15:50:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Li
>Release:        FreeBSD 4.4-PRERELEASE i386
>Organization:
N/A
>Environment:
System: FreeBSD bottlenek 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #0: Mon Aug 13 19:08:19 EDT 2001 pat@bottlenek:/usr/src/sys/compile/BOTTLENEK i386
>Description:
This is a plugin for gkrellm that watches sports scores of current
games, and shows them in a panel in a form like atl 11-3 cin (Atlanta
11, Cincinatti 3). When you put the mouse over the panel for a
second, the tooltip that comes up shows the full names of both
teams, their scores, the period of the game (if applicable), the
time that it will start if it hasn't yet, the date of the game,
etc.

WWW: http://ssl.usu.edu/paul/gkrellscore/
Author: Paul Cannon <paul@cannon.cs.usu.edu>
>How-To-Repeat:
N/A
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gkrellscore
#	gkrellscore/files
#	gkrellscore/files/patch-Makefile
#	gkrellscore/Makefile
#	gkrellscore/distinfo
#	gkrellscore/pkg-comment
#	gkrellscore/pkg-descr
#	gkrellscore/pkg-plist
#
echo c - gkrellscore
mkdir -p gkrellscore > /dev/null 2>&1
echo c - gkrellscore/files
mkdir -p gkrellscore/files > /dev/null 2>&1
echo x - gkrellscore/files/patch-Makefile
sed 's/^X//' >gkrellscore/files/patch-Makefile << 'END-of-gkrellscore/files/patch-Makefile'
X--- Makefile.orig	Fri Aug 17 16:04:02 2001
X+++ Makefile	Fri Aug 17 16:06:58 2001
X@@ -9,10 +9,9 @@
X # To facilitate packaging- leave blank for normal installation
X DESTDIR =
X 
X-CC := gcc
X-GTKFLAGS := $(shell gtk-config --cflags)
X-IMLIBFLAGS := $(shell imlib-config --cflags-gdk)
X-CFLAGS := $(CFLAGS) -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS)
X+GTKFLAGS = `${GTK_CONFIG} --cflags`
X+IMLIBFLAGS = `${IMLIB_CONFIG} --cflags-gdk`
X+CFLAGS += -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS)
X LDFLAGS := -shared -Wl
X INST_DIR := $(DESTDIR)/usr/lib/gkrellm/plugins
X USER_INST_DIR := $(DESTDIR)$(HOME)/.gkrellm/plugins
X@@ -23,7 +22,7 @@
X 
X all: $(TARGET).so
X 
X-%.so: %.o
X+gkrellscore.so: gkrellscore.o
X 	$(CC) $(LDFLAGS) -o $@ $<
X 
X clean:
END-of-gkrellscore/files/patch-Makefile
echo x - gkrellscore/Makefile
sed 's/^X//' >gkrellscore/Makefile << 'END-of-gkrellscore/Makefile'
X# New ports collection makefile for:	gkrellscore
X# Date Created:				Fri Aug 17 15:57:42 EDT 2001
X# Whom:					Patrick Li <pat@databits.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gkrellscore
XPORTVERSION=	0.0.2
XCATEGORIES=	misc
XMASTER_SITES=	http://ssl.usu.edu/paul/gkrellscore/
XDISTNAME=	${PORTNAME}_${PORTVERSION}
X
XMAINTAINER=	pat@databits.net
X
XBUILD_DEPENDS=	${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
XRUN_DEPENDS=	gkrellm:${PORTSDIR}/sysutils/gkrellm
X
XWRKSRC=		${WRKDIR}/${DISTNAME:S/_/-/}
XUSE_X_PREFIX=	yes
XUSE_GTK=	yes
XUSE_IMLIB=	yes
XUSE_GMAKE=	yes
X
Xpre-patch:
X	@${PERL} -pi.orig -e 's|/usr/bin/perl|${PERL}|' \
X		${WRKSRC}/gkrellscore.excite
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/gkrellscore.so \
X		${PREFIX}/libexec/gkrellm/plugins
X	@${INSTALL_SCRIPT} ${WRKSRC}/gkrellscore.excite \
X		${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-gkrellscore/Makefile
echo x - gkrellscore/distinfo
sed 's/^X//' >gkrellscore/distinfo << 'END-of-gkrellscore/distinfo'
XMD5 (gkrellscore_0.0.2.tar.gz) = 21541cb551218a266906ca1ecf51b115
END-of-gkrellscore/distinfo
echo x - gkrellscore/pkg-comment
sed 's/^X//' >gkrellscore/pkg-comment << 'END-of-gkrellscore/pkg-comment'
XPlugin to GKrellM that displays current sports scores
END-of-gkrellscore/pkg-comment
echo x - gkrellscore/pkg-descr
sed 's/^X//' >gkrellscore/pkg-descr << 'END-of-gkrellscore/pkg-descr'
XThis is a plugin for gkrellm that watches sports scores of current
Xgames, and shows them in a panel in a form like atl 11-3 cin (Atlanta
X11, Cincinatti 3). When you put the mouse over the panel for a
Xsecond, the tooltip that comes up shows the full names of both
Xteams, their scores, the period of the game (if applicable), the
Xtime that it will start if it hasn't yet, the date of the game,
Xetc.
X
XWWW: http://ssl.usu.edu/paul/gkrellscore/
XAuthor: Paul Cannon <paul@cannon.cs.usu.edu>
X
X- Patrick Li <pat@databits.net>
END-of-gkrellscore/pkg-descr
echo x - gkrellscore/pkg-plist
sed 's/^X//' >gkrellscore/pkg-plist << 'END-of-gkrellscore/pkg-plist'
Xbin/gkrellscore.excite
Xlibexec/gkrellm/plugins/gkrellscore.so
END-of-gkrellscore/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108172243.f7HMhgC43642>