summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-08-27 17:48:39 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-08-27 17:48:39 +0000
commitd2ca7a49df2b8a7c0ec9ba3c10b7c9a28394d06b (patch)
tree68c1a564a8876e9f11a9a1d7a0fcc8e9bb9618a8 /misc
parentAdd penv-1.0pre2. (diff)
New port gkrellscore version 0.0.2: Plugin to GKrellM that displays
current sports scores PR: 29834 Submitted by: Patrick Li <pat@databits.net>
Notes
Notes: svn path=/head/; revision=46987
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/gkrellscore/Makefile37
-rw-r--r--misc/gkrellscore/distinfo1
-rw-r--r--misc/gkrellscore/files/patch-Makefile16
-rw-r--r--misc/gkrellscore/pkg-comment1
-rw-r--r--misc/gkrellscore/pkg-descr12
-rw-r--r--misc/gkrellscore/pkg-plist2
7 files changed, 70 insertions, 0 deletions
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 <pat@databits.net>
+#
+# $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 <bsd.port.mk>
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 <paul@cannon.cs.usu.edu>
+
+- Patrick Li <pat@databits.net>
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