diff options
author | petef <petef@FreeBSD.org> | 2003-06-01 13:53:22 +0000 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2003-06-01 13:53:22 +0000 |
commit | 76ace7eddc43a1a0364c1008324af3649e3804c6 (patch) | |
tree | 2dcb4a16eca1ae297d68e3081c90d386c8731a35 /sysutils/gkleds2 | |
parent | a1b4ae13ba8bc3a9febf16804be924193e9260a9 (diff) | |
download | FreeBSD-ports-76ace7eddc43a1a0364c1008324af3649e3804c6.zip FreeBSD-ports-76ace7eddc43a1a0364c1008324af3649e3804c6.tar.gz |
Add gkleds2 0.8.1, GKrellM Leds for CapsLock, NumLock and ScrollLock.
PR: 46167
Submitted by: Jan Stocker <Jan.Stocker@t-online.de>
Diffstat (limited to 'sysutils/gkleds2')
-rw-r--r-- | sysutils/gkleds2/Makefile | 26 | ||||
-rw-r--r-- | sysutils/gkleds2/distinfo | 1 | ||||
-rw-r--r-- | sysutils/gkleds2/files/patch-Makefile | 47 | ||||
-rw-r--r-- | sysutils/gkleds2/pkg-descr | 9 | ||||
-rw-r--r-- | sysutils/gkleds2/pkg-plist | 1 |
5 files changed, 84 insertions, 0 deletions
diff --git a/sysutils/gkleds2/Makefile b/sysutils/gkleds2/Makefile new file mode 100644 index 0000000..fab6f93 --- /dev/null +++ b/sysutils/gkleds2/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: gkleds2 +# Date Created: Dec 10 2002 +# Whom: Jan Stocker <Jan.Stocker@t-online.de> +# +# $FreeBSD$ +# + +PORTNAME= gkleds2 +PORTVERSION= 0.8.1 +CATEGORIES= sysutils +MASTER_SITES= http://heim.ifi.uio.no/~oyvinha/files/files/ +DISTNAME= gkleds-${PORTVERSION} + +MAINTAINER= Jan.Stocker@t-online.de +COMMENT= GKrellM Leds for CapsLock, NumLock and ScrollLock + +BUILD_DEPENDS= ${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2 +RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2 + +USE_X_PREFIX= yes +USE_GMAKE= yes + +MAKE_ENV+= PLUGIN_DIR=${PREFIX}/libexec/gkrellm2/plugins \ + INSTALL_PROG="${INSTALL_PROGRAM}" + +.include <bsd.port.mk> diff --git a/sysutils/gkleds2/distinfo b/sysutils/gkleds2/distinfo new file mode 100644 index 0000000..d5f91b0 --- /dev/null +++ b/sysutils/gkleds2/distinfo @@ -0,0 +1 @@ +MD5 (gkleds-0.8.1.tar.gz) = 8329bc219c55f5b83c4dc5f097990d74 diff --git a/sysutils/gkleds2/files/patch-Makefile b/sysutils/gkleds2/files/patch-Makefile new file mode 100644 index 0000000..1833cfb --- /dev/null +++ b/sysutils/gkleds2/files/patch-Makefile @@ -0,0 +1,47 @@ +$FreeBSD$ + +--- Makefile.orig Tue Jan 28 17:14:08 2003 ++++ Makefile Sun Jun 1 08:47:34 2003 +@@ -11,16 +11,14 @@ + DEGUG = -DGKLEDS_DEBUG + LIBFLAGS = -shared + INCS = $(GTK_INCLUDES) -DGKLEDS_SELFCOMPILE +-COMPFLAGS = -Wall -O2 -fPIC +-CC = gcc ++COMPFLAGS = -Wall -fPIC ${CFLAGS} ++CC ?= gcc + + SRCS = src/gkleds.c src/gkleds_ind.c src/gkleds_conf.c src/gkrellm2/win32-plugin.c + HDRS = src/gkleds.h src/gkleds_ind.c src/gkleds_conf.c src/gkrellm2/win32-plugin.h + WIN32_OBJS = gkleds.o gkleds_ind.o gkleds_conf.o win32-plugin.o + UNIX_OBJS = gkleds.o gkleds_ind.o gkleds_conf.o + +-INSTALL_PROG = install +- + .PHONY : clean + .PHONY : install + .PHONY : uninstall +@@ -29,7 +27,7 @@ + #======================================================================= + #======================================================================= + +-unix : $(UNIX_OBJS) ++all : $(UNIX_OBJS) + $(CC) $(LIBFLAGS) $(UNIX_LIBS) -o gkleds.so $^ + + win32 : $(WIN32_OBJS) +@@ -59,13 +57,4 @@ + rm -rf src/gkrellm2/*~ src/gkrellm2/\#* + + install : gkleds.so +- @ if [ $$UID -ne 0 ]; \ +- then PLUGIN_DIR=$$HOME/.gkrellm2/plugins; \ +- elif [ -e /usr/bin/gkrellm ]; \ +- then PLUGIN_DIR=/usr/lib/gkrellm2/plugins; \ +- else \ +- PLUGIN_DIR=/usr/local/lib/gkrellm2/plugins; \ +- fi; \ +- $(INSTALL_PROG) -d $$PLUGIN_DIR; \ +- $(INSTALL_PROG) -s gkleds.so $$PLUGIN_DIR; \ +- printf "\ngkleds installed in $$PLUGIN_DIR\n" ++ $(INSTALL_PROG) gkleds.so $(PLUGIN_DIR); diff --git a/sysutils/gkleds2/pkg-descr b/sysutils/gkleds2/pkg-descr new file mode 100644 index 0000000..959061c --- /dev/null +++ b/sysutils/gkleds2/pkg-descr @@ -0,0 +1,9 @@ +gkleds is a GKrellM plugin which monitors the CapsLock, NumLock and +ScrollLock keys and reports their current status via on-screen LEDs. +This is useful for people who have keyboards without LEDs (typically +cordless keyboards). + +Author: Oyvind Hagen <oyvinha@ifi.uio.no> +WWW: http://www.stud.ifi.uio.no/~oyvinha/gkleds + +- Jan Stocker <Jan.Stocker@t-online.de> diff --git a/sysutils/gkleds2/pkg-plist b/sysutils/gkleds2/pkg-plist new file mode 100644 index 0000000..67146ac --- /dev/null +++ b/sysutils/gkleds2/pkg-plist @@ -0,0 +1 @@ +libexec/gkrellm2/plugins/gkleds.so |