diff options
author | trevor <trevor@FreeBSD.org> | 2003-10-24 09:18:37 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2003-10-24 09:18:37 +0800 |
commit | d5448fb65c67d0a84d1ba54383112e5fdc7a0a7c (patch) | |
tree | 57d2570ba8bf7415e0a099f656a519c13ae9cfdf /converters/showkey | |
parent | d9c95dfbf5ae8750eb3f26fbd3d5f7f892b02e7f (diff) | |
download | freebsd-ports-graphics-d5448fb65c67d0a84d1ba54383112e5fdc7a0a7c.tar.gz freebsd-ports-graphics-d5448fb65c67d0a84d1ba54383112e5fdc7a0a7c.tar.zst freebsd-ports-graphics-d5448fb65c67d0a84d1ba54383112e5fdc7a0a7c.zip |
new port of showkey
Diffstat (limited to 'converters/showkey')
-rw-r--r-- | converters/showkey/Makefile | 27 | ||||
-rw-r--r-- | converters/showkey/distinfo | 1 | ||||
-rw-r--r-- | converters/showkey/files/patch-showkey.c | 13 | ||||
-rw-r--r-- | converters/showkey/pkg-descr | 10 |
4 files changed, 51 insertions, 0 deletions
diff --git a/converters/showkey/Makefile b/converters/showkey/Makefile new file mode 100644 index 00000000000..a64450556eb --- /dev/null +++ b/converters/showkey/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: showkey +# Date created: 2003-10-24 +# Whom: trevor +# +# $FreeBSD$ +# + +PORTNAME= showkey +PORTVERSION= 1.3 +CATEGORIES= converters +MASTER_SITES= http://catb.org/~esr/showkey/ + +MAINTAINER= trevor@FreeBSD.org +COMMENT= Prints its input, with escapes such as "<NUL>" + +ALL_TARGET= showkey +MAN1= showkey.1 +PLIST= ${WRKDIR}/pkg-plist + +pre-install: + ${ECHO_CMD} bin/showkey > ${PLIST} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/showkey ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/showkey.1 ${MANPREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/converters/showkey/distinfo b/converters/showkey/distinfo new file mode 100644 index 00000000000..f969814a98d --- /dev/null +++ b/converters/showkey/distinfo @@ -0,0 +1 @@ +MD5 (showkey-1.3.tar.gz) = 5727fd241bd0cf5e4e27694bdb2d3bb3 diff --git a/converters/showkey/files/patch-showkey.c b/converters/showkey/files/patch-showkey.c new file mode 100644 index 00000000000..0fce32aa65b --- /dev/null +++ b/converters/showkey/files/patch-showkey.c @@ -0,0 +1,13 @@ +$FreeBSD$ + +--- showkey.c.orig Tue Aug 27 03:12:48 2002 ++++ showkey.c Fri Oct 24 01:02:04 2003 +@@ -58,7 +58,7 @@ + unsigned char c; + unsigned int i, timeouts; + +- for (i = SIGHUP; i <= SIGPOLL; i++) ++ for (i = SIGHUP; i <= SIGIO; i++) + (void) signal(c, catcher); + + // Get the state of the tty diff --git a/converters/showkey/pkg-descr b/converters/showkey/pkg-descr new file mode 100644 index 00000000000..41893885471 --- /dev/null +++ b/converters/showkey/pkg-descr @@ -0,0 +1,10 @@ +from the man page: + + This program puts your terminal in raw mode, eats keystrokes, and + prints them back it you in a recognizable printed form (using <>-sur- + rounded ASCII mnemonics for non-printables). + + This may be useful, for example, if you're not certain what your key- + board keys are sending. + +WWW: http://catb.org/~esr/showkey/ |