Index: head/converters/showkey/Makefile =================================================================== --- head/converters/showkey/Makefile (revision 383731) +++ head/converters/showkey/Makefile (revision 383732) @@ -1,25 +1,28 @@ # Created by: trevor # $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@FreeBSD.org -COMMENT= Prints its input, with escapes such as "" +MAINTAINER= snkoppenaal@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 Index: head/converters/showkey/distinfo =================================================================== --- head/converters/showkey/distinfo (revision 383731) +++ head/converters/showkey/distinfo (revision 383732) @@ -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 Index: head/converters/showkey/files/patch-showkey.c =================================================================== --- head/converters/showkey/files/patch-showkey.c (nonexistent) +++ head/converters/showkey/files/patch-showkey.c (revision 383732) @@ -0,0 +1,19 @@ +--- showkey.c.orig 2012-03-03 16:44:46 UTC ++++ showkey.c +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + + #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; Property changes on: head/converters/showkey/files/patch-showkey.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property