diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2003-10-24 01:18:37 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2003-10-24 01:18:37 +0000 |
commit | 84e27e4737fd450962aa125245b2327a7b50dec1 (patch) | |
tree | fb1621f108450a8601c96bdb77ba7f81f7ce43a7 | |
parent | f7f81e5b9db94f145e07226cc372de3bc8e44ac8 (diff) | |
download | ports-84e27e4737fd450962aa125245b2327a7b50dec1.tar.gz ports-84e27e4737fd450962aa125245b2327a7b50dec1.zip |
new port of showkey
Notes
Notes:
svn path=/head/; revision=92004
-rw-r--r-- | converters/Makefile | 1 | ||||
-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 |
5 files changed, 52 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile index 5894069573b5..b3c78eaf6fd4 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -56,6 +56,7 @@ SUBDIR += ruby-dump.rb SUBDIR += ruby-iconv SUBDIR += ruby-lv + SUBDIR += showkey SUBDIR += siconv SUBDIR += tnef SUBDIR += trans diff --git a/converters/showkey/Makefile b/converters/showkey/Makefile new file mode 100644 index 000000000000..a64450556eb3 --- /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 000000000000..f969814a98d5 --- /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 000000000000..0fce32aa65b8 --- /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 000000000000..41893885471c --- /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/ |