svn commit: r383732 - in head/converters/showkey: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Fri Apr 10 15:10:06 UTC 2015
Author: danfe
Date: Fri Apr 10 15:10:04 2015
New Revision: 383732
URL: https://svnweb.freebsd.org/changeset/ports/383732
Log:
- Update to version 1.7 and drop stale mastersite
- Provide better understandable COMMENT text
- Remove USES=gmake, builds with any make(1) implementation now
- Add a patch to fix compilation warnings exposed by Clang
- Install couple of documentation files
- Transfer maintainership to the submitter
PR: 199311
Added:
head/converters/showkey/files/
head/converters/showkey/files/patch-showkey.c (contents, props changed)
Modified:
head/converters/showkey/Makefile
head/converters/showkey/distinfo
Modified: head/converters/showkey/Makefile
==============================================================================
--- head/converters/showkey/Makefile Fri Apr 10 14:49:55 2015 (r383731)
+++ head/converters/showkey/Makefile Fri Apr 10 15:10:04 2015 (r383732)
@@ -2,24 +2,27 @@
# $FreeBSD$
PORTNAME= showkey
-PORTVERSION= 1.5
+PORTVERSION= 1.7
CATEGORIES= converters
-MASTER_SITES= http://catb.org/~esr/showkey/ \
- http://www.c-s.li/ports/
+MASTER_SITES= http://catb.org/~esr/showkey/
-MAINTAINER= ports at FreeBSD.org
-COMMENT= Prints its input, with escapes such as "<NUL>"
+MAINTAINER= snkoppenaal at gmail.com
+COMMENT= Display cooked key sequences (keycap-to-keystrokes mappings)
LICENSE= MIT
-USES= gmake
MAKE_ARGS= CC="${CC} ${CFLAGS}"
ALL_TARGET= showkey
PLIST_FILES= bin/showkey man/man1/showkey.1.gz
+PORTDOCS= NEWS README
+
+OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/showkey ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/showkey.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/converters/showkey/distinfo
==============================================================================
--- head/converters/showkey/distinfo Fri Apr 10 14:49:55 2015 (r383731)
+++ head/converters/showkey/distinfo Fri Apr 10 15:10:04 2015 (r383732)
@@ -1,2 +1,2 @@
-SHA256 (showkey-1.5.tar.gz) = 5f11cfafb218aa6f2c17b34f3808881d4f8c852b5aad90c1b187765a514eb471
-SIZE (showkey-1.5.tar.gz) = 4795
+SHA256 (showkey-1.7.tar.gz) = 0383a508c29df9a80b294a805a38f38d2dee6d2687e43c5ece3c5901220fb44d
+SIZE (showkey-1.7.tar.gz) = 4811
Added: head/converters/showkey/files/patch-showkey.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/converters/showkey/files/patch-showkey.c Fri Apr 10 15:10:04 2015 (r383732)
@@ -0,0 +1,19 @@
+--- showkey.c.orig 2012-03-03 16:44:46 UTC
++++ showkey.c
+@@ -11,6 +11,7 @@
+ #include <string.h>
+ #include <stdbool.h>
+ #include <stdlib.h>
++#include <unistd.h>
+
+ #define ALT 0x80
+ #define ESC 0x1b
+@@ -80,7 +81,7 @@ static void visualize(int c, /*@out@*/ch
+ }
+
+
+-main()
++int main()
+ {
+ struct termios cooked, raw;
+ unsigned char c;
More information about the svn-ports-all
mailing list