1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

New port gkrellmouse version 0.0.2: Mouse odometer plugin for

GKrellM

PR:		29833
Submitted by:	Patrick Li <pat@databits.net>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2001-08-29 00:18:30 +00:00
parent 8f60fa5484
commit decc27392d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47045
7 changed files with 62 additions and 0 deletions

View File

@ -58,6 +58,7 @@
SUBDIR += gcombust
SUBDIR += gkrellflynn
SUBDIR += gkrellm
SUBDIR += gkrellmouse
SUBDIR += glload
SUBDIR += gnomecontrolcenter
SUBDIR += gnomefind

View File

@ -0,0 +1,29 @@
# New ports collection makefile for: gkrellmouse
# Date Created: Fri Aug 17 15:57:42 EDT 2001
# Whom: Patrick Li <pat@databits.net>
#
# $FreeBSD$
#
PORTNAME= gkrellmouse
PORTVERSION= 0.0.2
CATEGORIES= sysutils
MASTER_SITES= http://ssl.usu.edu/paul/gkrellmouse/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= pat@databits.net
BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
USE_X_PREFIX= yes
USE_GTK= yes
USE_IMLIB= yes
USE_GMAKE= yes
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/gkmouse.so \
${PREFIX}/libexec/gkrellm/plugins
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (gkrellmouse_0.0.2.tar.gz) = 9730235b225c559a71e7ccaa5b4e819f

View File

@ -0,0 +1,19 @@
--- Makefile.orig Wed Aug 1 22:12:08 2001
+++ Makefile Tue Aug 28 21:12:58 2001
@@ -13,12 +13,11 @@
DESTDIR =
# This should point to your gkrellm headers
-GKRELLM_HDRS := /usr/include/gkrellm
+GKRELLM_HDRS := ${X11BASE}/include/gkrellm
-CC := gcc
-GTKFLAGS := $(shell gtk-config --cflags)
-IMLIBFLAGS := $(shell imlib-config --cflags-gdk)
-CFLAGS := $(CFLAGS) -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I$(GKRELLM_HDRS)
+GTKFLAGS = `${GTK_CONFIG} --cflags`
+IMLIBFLAGS = `${IMLIB_CONFIG} --cflags-gdk`
+CFLAGS += -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I$(GKRELLM_HDRS)
LDFLAGS := -shared -Wl
INST_DIR := $(DESTDIR)/usr/lib/gkrellm/plugins
USER_INST_DIR := $(DESTDIR)$(HOME)/.gkrellm/plugins

View File

@ -0,0 +1 @@
Mouse odometer plugin for GKrellM

View File

@ -0,0 +1,10 @@
This is a simple plugin for gkrellm that shows you how fast your
mouse is going (in the chart) and the total distance in pixels it
has travelled since the plugin was started. It's pretty simple and
mindless, and probably shouldn't be relied upon to produce
ultra-accurate data, but it gets the point across.
WWW: http://ssl.usu.edu/paul/gkrellmouse/
Author: Paul Cannon <paul@cannon.cs.usu.edu>
- Patrick Li <pat@databits.net>

View File

@ -0,0 +1 @@
libexec/gkrellm/plugins/gkmouse.so