diff options
author | Max Khon <fjoe@FreeBSD.org> | 2003-04-10 14:29:39 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2003-04-10 14:29:39 +0000 |
commit | 9cdac8966d3cdc165e02f40fd40061edd4d42a1b (patch) | |
tree | 154d0783d9cf058b10e5a261c54356ac30b67f92 /x11/cnslock | |
parent | New port: WMxmms (diff) |
New port: cnslock
Cnslock is a dock application (dockapp) which provides a visual
indication of the states of the three "lock" buttons (caps, num, and
scroll).
It should be especially useful for people who own a wireless keyboard
with no leds on it, and thus have difficulty keeping track of "lock"
states.
Submitted by: Alexey Dokuchaev
Diffstat (limited to 'x11/cnslock')
-rw-r--r-- | x11/cnslock/Makefile | 25 | ||||
-rw-r--r-- | x11/cnslock/distinfo | 1 | ||||
-rw-r--r-- | x11/cnslock/files/patch-Makefile | 16 | ||||
-rw-r--r-- | x11/cnslock/pkg-descr | 9 | ||||
-rw-r--r-- | x11/cnslock/pkg-plist | 1 |
5 files changed, 52 insertions, 0 deletions
diff --git a/x11/cnslock/Makefile b/x11/cnslock/Makefile new file mode 100644 index 000000000000..39b48e6cbf5e --- /dev/null +++ b/x11/cnslock/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: cnslock +# Date created: 10 May 2003 +# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru> +# +# $FreeBSD$ +# + +PORTNAME= cnslock +PORTVERSION= 1.02 +CATEGORIES= x11 windowmaker +MASTER_SITES= http://www.dockapps.com/download.php/id/181/ \ + ftp://ftp.nsu.ru/tmp/ + +MAINTAINER= danfe@regency.nsu.ru +COMMENT= A visual indicator of the states of the three "lock" buttons + +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt + +USE_X_PREFIX= yes +USE_XPM= yes + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/x11/cnslock/distinfo b/x11/cnslock/distinfo new file mode 100644 index 000000000000..79e576c9c096 --- /dev/null +++ b/x11/cnslock/distinfo @@ -0,0 +1 @@ +MD5 (cnslock-1.02.tar.gz) = ec17390325d4347f3ced36ffc54d9c31 diff --git a/x11/cnslock/files/patch-Makefile b/x11/cnslock/files/patch-Makefile new file mode 100644 index 000000000000..5b107b39b842 --- /dev/null +++ b/x11/cnslock/files/patch-Makefile @@ -0,0 +1,16 @@ +--- Makefile.orig Thu Apr 10 19:48:41 2003 ++++ Makefile Thu Apr 10 20:03:05 2003 +@@ -2,11 +2,11 @@ + PREFIX = /usr/local + + VERSION = 1.02 +-CFLAGS = -O3 -Wall `gtk-config --cflags` -DVERSION=$(VERSION) ${EXTRA} ++CFLAGS += `gtk12-config --cflags` -DVERSION=$(VERSION) ${EXTRA} + CC = gcc + OBJS = cnslock.o kleds.o applet.o + +-LIBS = `gtk-config --libs | sed "s/-lgtk//g"` ++LIBS = `gtk12-config --libs | sed "s/-lgtk12//g"` -lgnugetopt + + all: cnslock + diff --git a/x11/cnslock/pkg-descr b/x11/cnslock/pkg-descr new file mode 100644 index 000000000000..dbc797911445 --- /dev/null +++ b/x11/cnslock/pkg-descr @@ -0,0 +1,9 @@ +Cnslock is a dock application (dockapp) which provides a visual +indication of the states of the three "lock" buttons (caps, num, and +scroll). + +It should be especially useful for people who own a wireless keyboard +with no leds on it, and thus have difficulty keeping track of "lock" +states. + +WWW: http://www.dockapps.com/file.php/id/123 diff --git a/x11/cnslock/pkg-plist b/x11/cnslock/pkg-plist new file mode 100644 index 000000000000..2d2b7b2c8aeb --- /dev/null +++ b/x11/cnslock/pkg-plist @@ -0,0 +1 @@ +bin/cnslock |