Bug 46167 - New port: sysutils/gkleds
Summary: New port: sysutils/gkleds
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-10 18:00 UTC by Jan Stocker
Modified: 2003-06-01 14:54 UTC (History)
0 users

See Also:


Attachments
file.shar (3.66 KB, text/plain)
2002-12-10 18:00 UTC, Jan Stocker
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Stocker 2002-12-10 18:00:00 UTC
New port... adding LEDs for CapsLock, NumLock and ScrollLock in GKrellm2... nice to have for iTouch-Keyboard users :)
Comment 1 Jan Stocker 2002-12-10 18:18:30 UTC
My hands were just a bit too fast...




--- /tmp/x/sysutils/gkleds2/Makefile    Tue Dec 10 18:52:42 2002
+++ Makefile    Tue Dec 10 19:14:22 2002
@@ -1,8 +1,8 @@
-# New ports collection makefile for:   gkrellmvolume
-# Date Created:                Jun 22 2000
-# Whom:                        Hajimu UMEMOTO <ume@FreeBSD.org>
+# New ports collection makefile for:   gkleds2
+# Date Created:                Dec 10 2002
+# Whom:                        Jan Stocker <Jan.Stocker@t-online.de>
 #
-# $FreeBSD: ports/audio/gkrellmvolume2/Makefile,v 1.10 2002/11/06 20:10:50 ume Exp $
+# $FreeBSD:  $
 #
 
 PORTNAME=      gkleds2
@@ -19,6 +19,7 @@
 USE_X_PREFIX=  yes
 USE_GMAKE=     yes
 
-MAKE_ENV+=     PLUGIN_DIR=${PREFIX}/libexec/gkrellm2/plugins 
+MAKE_ENV+=     PLUGIN_DIR=${PREFIX}/libexec/gkrellm2/plugins \
+               INSTALL_PROG="${INSTALL_PROGRAM}"
 
 .include <bsd.port.mk>
Comment 2 Pete Fritchman freebsd_committer freebsd_triage 2003-04-20 19:55:33 UTC
State Changed
From-To: open->feedback

It looks like the master site changed and there's a release of version 
0.8.1.  Could you send updates or a new shar?
Comment 3 Tilman Keskinoz freebsd_committer freebsd_triage 2003-05-09 12:09:16 UTC
Class Changed
From-To: maintainer-update->change-request

accurate class
Comment 4 Jan Stocker 2003-05-19 14:01:16 UTC
Update to 0.8.1, new port style, corrected URL...
Full shar-file...

# 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-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	Wed Jan 29 00:14:08 2003
X+++ Makefile	Mon May 19 14:47:23 2003
X@@ -19,8 +19,6 @@
X WIN32_OBJS = gkleds.o gkleds_ind.o gkleds_conf.o win32-plugin.o
X UNIX_OBJS = gkleds.o gkleds_ind.o gkleds_conf.o
X 
X-INSTALL_PROG = install
X-
X .PHONY : clean
X .PHONY : install
X .PHONY : uninstall
X@@ -29,7 +27,7 @@
X #=======================================================================
X #=======================================================================
X 
X-unix : $(UNIX_OBJS)
X+all : $(UNIX_OBJS)
X 	$(CC) $(LIBFLAGS) $(UNIX_LIBS) -o gkleds.so $^
X 
X win32 : $(WIN32_OBJS)
X@@ -59,13 +57,4 @@
X 	rm -rf src/gkrellm2/*~ src/gkrellm2/\#*
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:	gkleds2
X# Date Created:		Dec 10 2002
X# Whom:			Jan Stocker <Jan.Stocker@t-online.de>
X#
X# $FreeBSD:  $
X#
X
XPORTNAME=	gkleds2
XPORTVERSION=	0.8.1
XCATEGORIES=	sysutils
XMASTER_SITES= 	http://heim.ifi.uio.no/~oyvinha/files/files/
XDISTNAME=	gkleds-${PORTVERSION}
X
XMAINTAINER=	Jan.Stocker@t-online.de
XCOMMENT=	GKrellM Leds for CapsLock, NumLock and ScrollLock
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		INSTALL_PROG="${INSTALL_PROGRAM}"
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.1.tar.gz) = 8329bc219c55f5b83c4dc5f097990d74
END-of-sysutils/gkleds2/distinfo
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


-- 
Jan Stocker <Jan.Stocker@t-online.de>
Comment 5 Tilman Keskinoz freebsd_committer freebsd_triage 2003-05-19 20:51:48 UTC
State Changed
From-To: feedback->open

new followup
Comment 6 Pete Fritchman freebsd_committer freebsd_triage 2003-06-01 14:54:00 UTC
State Changed
From-To: open->closed

New port added, thanks.