From d2ca7a49df2b8a7c0ec9ba3c10b7c9a28394d06b Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Mon, 27 Aug 2001 17:48:39 +0000 Subject: New port gkrellscore version 0.0.2: Plugin to GKrellM that displays current sports scores PR: 29834 Submitted by: Patrick Li --- misc/Makefile | 1 + misc/gkrellscore/Makefile | 37 +++++++++++++++++++++++++++++++++++ misc/gkrellscore/distinfo | 1 + misc/gkrellscore/files/patch-Makefile | 16 +++++++++++++++ misc/gkrellscore/pkg-comment | 1 + misc/gkrellscore/pkg-descr | 12 ++++++++++++ misc/gkrellscore/pkg-plist | 2 ++ 7 files changed, 70 insertions(+) create mode 100644 misc/gkrellscore/Makefile create mode 100644 misc/gkrellscore/distinfo create mode 100644 misc/gkrellscore/files/patch-Makefile create mode 100644 misc/gkrellscore/pkg-comment create mode 100644 misc/gkrellscore/pkg-descr create mode 100644 misc/gkrellscore/pkg-plist (limited to 'misc') diff --git a/misc/Makefile b/misc/Makefile index dee2b5195d33..428b39fd51d4 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -67,6 +67,7 @@ SUBDIR += gctpc SUBDIR += geekcode SUBDIR += git + SUBDIR += gkrellscore SUBDIR += gkrellweather SUBDIR += gman SUBDIR += gnomepm diff --git a/misc/gkrellscore/Makefile b/misc/gkrellscore/Makefile new file mode 100644 index 000000000000..d441ee451352 --- /dev/null +++ b/misc/gkrellscore/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: gkrellscore +# Date Created: Fri Aug 17 15:57:42 EDT 2001 +# Whom: Patrick Li +# +# $FreeBSD$ +# + +PORTNAME= gkrellscore +PORTVERSION= 0.0.2 +CATEGORIES= misc +MASTER_SITES= http://ssl.usu.edu/paul/gkrellscore/ +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= pat@databits.net + +BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm +RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm \ + wget:${PORTSDIR}/ftp/wget + +WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} +USE_X_PREFIX= yes +USE_GTK= yes +USE_IMLIB= yes +USE_GMAKE= yes + +pre-patch: + @${PERL} -pi.orig -e 's|/usr/bin/perl|${PERL}|; \ + s|(mkdir \$$dir)|$$1,0755|' \ + ${WRKSRC}/gkrellscore.excite + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/gkrellscore.so \ + ${PREFIX}/libexec/gkrellm/plugins + @${INSTALL_SCRIPT} ${WRKSRC}/gkrellscore.excite \ + ${PREFIX}/bin + +.include diff --git a/misc/gkrellscore/distinfo b/misc/gkrellscore/distinfo new file mode 100644 index 000000000000..6b1638344fd0 --- /dev/null +++ b/misc/gkrellscore/distinfo @@ -0,0 +1 @@ +MD5 (gkrellscore_0.0.2.tar.gz) = 21541cb551218a266906ca1ecf51b115 diff --git a/misc/gkrellscore/files/patch-Makefile b/misc/gkrellscore/files/patch-Makefile new file mode 100644 index 000000000000..58848810074e --- /dev/null +++ b/misc/gkrellscore/files/patch-Makefile @@ -0,0 +1,16 @@ +--- Makefile.orig Wed Jul 25 22:10:15 2001 ++++ Makefile Mon Aug 27 14:16:26 2001 +@@ -12,10 +12,9 @@ + # for aiding packaging + DESTDIR = + +-CC := gcc +-GTKFLAGS := $(shell gtk-config --cflags) +-IMLIBFLAGS := $(shell imlib-config --cflags-gdk) +-CFLAGS := $(CFLAGS) -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) ++GTKFLAGS = `${GTK_CONFIG} --cflags` ++IMLIBFLAGS = `${IMLIB_CONFIG} --cflags-gdk` ++CFLAGS += -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) + LDFLAGS := -shared -Wl + INST_DIR := $(DESTDIR)/usr/lib/gkrellm/plugins + .PHONY: clean install diff --git a/misc/gkrellscore/pkg-comment b/misc/gkrellscore/pkg-comment new file mode 100644 index 000000000000..6e3961a0ed06 --- /dev/null +++ b/misc/gkrellscore/pkg-comment @@ -0,0 +1 @@ +Plugin to GKrellM that displays current sports scores diff --git a/misc/gkrellscore/pkg-descr b/misc/gkrellscore/pkg-descr new file mode 100644 index 000000000000..74571607c04d --- /dev/null +++ b/misc/gkrellscore/pkg-descr @@ -0,0 +1,12 @@ +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 + +- Patrick Li diff --git a/misc/gkrellscore/pkg-plist b/misc/gkrellscore/pkg-plist new file mode 100644 index 000000000000..0b1a5969c846 --- /dev/null +++ b/misc/gkrellscore/pkg-plist @@ -0,0 +1,2 @@ +bin/gkrellscore.excite +libexec/gkrellm/plugins/gkrellscore.so -- cgit v1.2.3