Date: Fri, 17 Aug 2001 18:43:38 -0400 (EDT) From: Patrick Li <pat@databits.net> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/29833: New port sysutils/gkrellmouse Message-ID: <200108172243.f7HMhc943550@cc92687-a.wlgrv1.pa.home.com>
next in thread | raw e-mail | index | archive | help
>Number: 29833 >Category: ports >Synopsis: New port sysutils/gkrellmouse >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 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> >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: # # gkrellmouse # gkrellmouse/files # gkrellmouse/files/patch-Makefile # gkrellmouse/Makefile # gkrellmouse/distinfo # gkrellmouse/pkg-comment # gkrellmouse/pkg-descr # gkrellmouse/pkg-plist # echo c - gkrellmouse mkdir -p gkrellmouse > /dev/null 2>&1 echo c - gkrellmouse/files mkdir -p gkrellmouse/files > /dev/null 2>&1 echo x - gkrellmouse/files/patch-Makefile sed 's/^X//' >gkrellmouse/files/patch-Makefile << 'END-of-gkrellmouse/files/patch-Makefile' X--- Makefile.orig Wed Aug 1 18:12:30 2001 X+++ Makefile Fri Aug 17 16:43:17 2001 X@@ -13,12 +13,11 @@ X DESTDIR = X X # This should point to your gkrellm headers X-GKRELLM_HDRS := /usr/include/gkrellm X+GKRELLM_HDRS := ${X11BASE}/include/gkrellm X X-CC := gcc X-GTKFLAGS := $(shell gtk-config --cflags) X-IMLIBFLAGS := $(shell imlib-config --cflags-gdk) X-CFLAGS := $(CFLAGS) -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I$(GKRELLM_HDRS) X+GTKFLAGS = `${GTK_CONFIG} --cflags` X+IMLIBFLAGS = `${IMLIB_CONFIG} --cflags-gdk` X+CFLAGS += -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I$(GKRELLM_HDRS) X LDFLAGS := -shared -Wl X INST_DIR := $(DESTDIR)/usr/lib/gkrellm/plugins X USER_INST_DIR := $(DESTDIR)$(HOME)/.gkrellm/plugins X@@ -26,7 +25,7 @@ X X all: $(TARGET).so X X-%.so: %.o X+gkmouse.so: gkmouse.o X $(CC) $(LDFLAGS) -o $@ $< X X clean: END-of-gkrellmouse/files/patch-Makefile echo x - gkrellmouse/Makefile sed 's/^X//' >gkrellmouse/Makefile << 'END-of-gkrellmouse/Makefile' X# New ports collection makefile for: gkrellmouse X# Date Created: Fri Aug 17 15:57:42 EDT 2001 X# Whom: Patrick Li <pat@databits.net> X# X# $FreeBSD$ X# X XPORTNAME= gkrellmouse XPORTVERSION= 0.0.2 XCATEGORIES= sysutils XMASTER_SITES= http://ssl.usu.edu/paul/gkrellmouse/ 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 Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/gkmouse.so \ X ${PREFIX}/libexec/gkrellm/plugins X X.include <bsd.port.mk> END-of-gkrellmouse/Makefile echo x - gkrellmouse/distinfo sed 's/^X//' >gkrellmouse/distinfo << 'END-of-gkrellmouse/distinfo' XMD5 (gkrellmouse_0.0.2.tar.gz) = 9730235b225c559a71e7ccaa5b4e819f END-of-gkrellmouse/distinfo echo x - gkrellmouse/pkg-comment sed 's/^X//' >gkrellmouse/pkg-comment << 'END-of-gkrellmouse/pkg-comment' XMouse odometer plugin for GKrellM END-of-gkrellmouse/pkg-comment echo x - gkrellmouse/pkg-descr sed 's/^X//' >gkrellmouse/pkg-descr << 'END-of-gkrellmouse/pkg-descr' XThis is a simple plugin for gkrellm that shows you how fast your Xmouse is going (in the chart) and the total distance in pixels it Xhas travelled since the plugin was started. It's pretty simple and Xmindless, and probably shouldn't be relied upon to produce Xultra-accurate data, but it gets the point across. X XWWW: http://ssl.usu.edu/paul/gkrellmouse/ XAuthor: Paul Cannon <paul@cannon.cs.usu.edu> X X- Patrick Li <pat@databits.net> END-of-gkrellmouse/pkg-descr echo x - gkrellmouse/pkg-plist sed 's/^X//' >gkrellmouse/pkg-plist << 'END-of-gkrellmouse/pkg-plist' Xlibexec/gkrellm/plugins/gkmouse.so END-of-gkrellmouse/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.f7HMhc943550>