Date: Tue, 10 Dec 2002 18:56:04 +0100 (CET) From: Jan Stocker <Jan.Stocker@t-online.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/46167: New port: sysutils/gkleds Message-ID: <200212101756.gBAHu4QN006191@Twoflower.liebende.de>
next in thread | raw e-mail | index | archive | help
>Number: 46167 >Category: ports >Synopsis: New port: sysutils/gkleds >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Dec 10 10:00:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jan Stocker >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD Twoflower.liebende.de 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Nov 26 15:42:05 CET 2002 root@Twoflower.liebende.de:/usr/obj/usr/src/sys/Twoflower50 i386 >Description: New port... adding LEDs for CapsLock, NumLock and ScrollLock in GKrellm2... nice to have for iTouch-Keyboard users :) >How-To-Repeat: >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: # # sysutils/gkleds2 # sysutils/gkleds2/files # sysutils/gkleds2/files/patch-Makefile # sysutils/gkleds2/Makefile # sysutils/gkleds2/distinfo # sysutils/gkleds2/pkg-comment # sysutils/gkleds2/pkg-descr # sysutils/gkleds2/pkg-plist # echo c - sysutils/gkleds2 mkdir -p sysutils/gkleds2 > /dev/null 2>&1 echo c - sysutils/gkleds2/files mkdir -p sysutils/gkleds2/files > /dev/null 2>&1 echo x - sysutils/gkleds2/files/patch-Makefile sed 's/^X//' >sysutils/gkleds2/files/patch-Makefile << 'END-of-sysutils/gkleds2/files/patch-Makefile' X--- Makefile.orig Tue Dec 10 18:40:15 2002 X+++ Makefile Tue Dec 10 18:43:09 2002 X@@ -18,8 +18,6 @@ X OBJS = gkleds.o X IMAGES = leds.xpm X X-INSTALL_PROG = install X- X .PHONY : clean X .PHONY : install X .PHONY : uninstall X@@ -28,6 +26,8 @@ X #======================================================================= X #======================================================================= X X+all: gkleds.so X+ X gkleds.so : $(OBJS) X $(CC) $(LFLAGS) $(LIBS) -o $@ $< X X@@ -45,13 +45,4 @@ X rm -rf src/*~ src/\#* X X install : gkleds.so X- @ if [ $$UID -ne 0 ]; \ X- then PLUGIN_DIR=$$HOME/.gkrellm2/plugins; \ X- elif [ -e /usr/bin/gkrellm ]; \ X- then PLUGIN_DIR=/usr/lib/gkrellm2/plugins; \ X- else \ X- PLUGIN_DIR=/usr/local/lib/gkrellm2/plugins; \ X- fi; \ X- $(INSTALL_PROG) -d $$PLUGIN_DIR; \ X- $(INSTALL_PROG) -s gkleds.so $$PLUGIN_DIR; \ X- printf "\ngkleds installed in $$PLUGIN_DIR\n" X+ $(INSTALL_PROG) gkleds.so $(PLUGIN_DIR); END-of-sysutils/gkleds2/files/patch-Makefile echo x - sysutils/gkleds2/Makefile sed 's/^X//' >sysutils/gkleds2/Makefile << 'END-of-sysutils/gkleds2/Makefile' X# New ports collection makefile for: gkrellmvolume X# Date Created: Jun 22 2000 X# Whom: Hajimu UMEMOTO <ume@FreeBSD.org> X# X# $FreeBSD: ports/audio/gkrellmvolume2/Makefile,v 1.10 2002/11/06 20:10:50 ume Exp $ X# X XPORTNAME= gkleds2 XPORTVERSION= 0.8.0 XCATEGORIES= sysutils XMASTER_SITES= http://www.stud.ifi.uio.no/~oyvinha/gkleds/ XDISTNAME= gkleds-${PORTVERSION} X XMAINTAINER= Jan.Stocker@t-online.de X XBUILD_DEPENDS= ${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2 XRUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2 X XUSE_X_PREFIX= yes XUSE_GMAKE= yes X XMAKE_ENV+= PLUGIN_DIR=${PREFIX}/libexec/gkrellm2/plugins X X.include <bsd.port.mk> END-of-sysutils/gkleds2/Makefile echo x - sysutils/gkleds2/distinfo sed 's/^X//' >sysutils/gkleds2/distinfo << 'END-of-sysutils/gkleds2/distinfo' XMD5 (gkleds-0.8.0.tar.gz) = 138314eab634dc197acf46032bb0fa15 END-of-sysutils/gkleds2/distinfo echo x - sysutils/gkleds2/pkg-comment sed 's/^X//' >sysutils/gkleds2/pkg-comment << 'END-of-sysutils/gkleds2/pkg-comment' XGKrellM Leds for CapsLock, NumLock and ScrollLock END-of-sysutils/gkleds2/pkg-comment echo x - sysutils/gkleds2/pkg-descr sed 's/^X//' >sysutils/gkleds2/pkg-descr << 'END-of-sysutils/gkleds2/pkg-descr' Xgkleds is a GKrellM plugin which monitors the CapsLock, NumLock and XScrollLock keys and reports their current status via on-screen LEDs. XThis is useful for people who have keyboards without LEDs (typically Xcordless keyboards). X XAuthor: Oyvind Hagen <oyvinha@ifi.uio.no> XWWW: http://www.stud.ifi.uio.no/~oyvinha/gkleds X X- Jan Stocker <Jan.Stocker@t-online.de> END-of-sysutils/gkleds2/pkg-descr echo x - sysutils/gkleds2/pkg-plist sed 's/^X//' >sysutils/gkleds2/pkg-plist << 'END-of-sysutils/gkleds2/pkg-plist' Xlibexec/gkrellm2/plugins/gkleds.so END-of-sysutils/gkleds2/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?200212101756.gBAHu4QN006191>