aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/Makefile1
-rw-r--r--misc/kbdscan/Makefile31
-rw-r--r--misc/kbdscan/distinfo3
-rw-r--r--misc/kbdscan/files/LICENSE-kbdscan13
-rw-r--r--misc/kbdscan/pkg-descr7
5 files changed, 55 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 3c26655018c9..4ea9d4c5ce47 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -202,6 +202,7 @@
SUBDIR += k3b-i18n
SUBDIR += kaddressbook-plugins
SUBDIR += katalog
+ SUBDIR += kbdscan
SUBDIR += kbfx
SUBDIR += kcd
SUBDIR += kcd-devel
diff --git a/misc/kbdscan/Makefile b/misc/kbdscan/Makefile
new file mode 100644
index 000000000000..9793087a6c7d
--- /dev/null
+++ b/misc/kbdscan/Makefile
@@ -0,0 +1,31 @@
+# ex:ts=8
+# Ports collection makefile for: kbdscan
+# Date created: April 23, 2010
+# Whom: Eitan Adler
+#
+# $FreeBSD$
+#
+
+PORTNAME= kbdscan
+PORTVERSION= 20100427
+CATEGORIES= misc
+MASTER_SITES= http://hack.org/mc/hacks/${PORTNAME}/
+
+MAINTAINER= eitanadlerlist@gmail.com
+COMMENT= Kbdscan shows the scancodes of keys pressed
+
+USE_BZIP2= yes
+
+LICENSE= ISC
+LICENSE_NAME= ISC License - ISCL
+LICENSE_GROUPS= FSF GPL OSI
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+# cut and paste the text from kbdscan.c
+LICENSE_FILE= ${FILESDIR}/LICENSE-kbdscan
+
+PLIST_FILES= bin/${PORTNAME}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+
+.include <bsd.port.mk>
diff --git a/misc/kbdscan/distinfo b/misc/kbdscan/distinfo
new file mode 100644
index 000000000000..8e73cfa29eb0
--- /dev/null
+++ b/misc/kbdscan/distinfo
@@ -0,0 +1,3 @@
+MD5 (kbdscan-20100427.tar.bz2) = 318fecbaca98f25f38af8faf50b36112
+SHA256 (kbdscan-20100427.tar.bz2) = 7fde919e2c633e6e21135e0fed7b13ba7d1c11749a9b7fe0abbbe725c348e722
+SIZE (kbdscan-20100427.tar.bz2) = 2434
diff --git a/misc/kbdscan/files/LICENSE-kbdscan b/misc/kbdscan/files/LICENSE-kbdscan
new file mode 100644
index 000000000000..41cfe9253eb5
--- /dev/null
+++ b/misc/kbdscan/files/LICENSE-kbdscan
@@ -0,0 +1,13 @@
+ * Copyright (c) 2010 Michael Cardell Widerkrantz <mc@hack.org>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/misc/kbdscan/pkg-descr b/misc/kbdscan/pkg-descr
new file mode 100644
index 000000000000..363f4d5c7269
--- /dev/null
+++ b/misc/kbdscan/pkg-descr
@@ -0,0 +1,7 @@
+kbdscan is a small program to set the FreeBSD console keyboard in
+raw scancode mode and show scancodes of keys pressed and released.
+
+Five seconds of inactivity resets the console to the original mode
+and quits the program.
+
+WWW: http://hack.org/mc/hacks/kbdscan/