Skip to content

Commit

Permalink
showkey: update to 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
kurthindenburg committed Feb 2, 2017
1 parent b939ef0 commit 3379da9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 21 deletions.
6 changes: 3 additions & 3 deletions sysutils/showkey/Portfile
Expand Up @@ -3,7 +3,7 @@
PortSystem 1.0

name showkey
version 1.7
version 1.8
categories sysutils
platforms darwin
maintainers khindenburg openmaintainer
Expand All @@ -21,8 +21,8 @@ long_description This program puts your terminal in raw mode, eats \
homepage http://catb.org/esr/showkey/
master_sites ${homepage}

checksums rmd160 9824d2c175e57d743f54395761141175b87e4dbc \
sha256 0383a508c29df9a80b294a805a38f38d2dee6d2687e43c5ece3c5901220fb44d
checksums rmd160 16579d27e5652314536c0d091f70d26605ce4f76 \
sha256 31b6b064976a34d7d8e7a254db0397ba2dc50f1bb6e283038b17c48a358d50d3

patchfiles patch-Makefile.diff

Expand Down
22 changes: 4 additions & 18 deletions sysutils/showkey/files/patch-Makefile.diff
@@ -1,14 +1,6 @@
--- Makefile.orig 2015-04-11 14:27:05.000000000 -0400
+++ Makefile 2015-04-11 14:29:25.000000000 -0400
@@ -1,5 +1,7 @@
# showkey -- keystroke echoer

+PREFIX=/usr/local
+
VERS=1.7

showkey: showkey.c
@@ -19,12 +21,14 @@
--- Makefile 2017-01-27 01:05:41.000000000 -0500
+++ Makefile 2017-02-02 11:18:20.000000000 -0500
@@ -19,8 +19,10 @@
splint +posixlib +charintliteral +charint showkey.c

install: showkey.1
Expand All @@ -20,10 +12,4 @@
+ cp showkey.1 $(DESTDIR)$(PREFIX)/share/man/man1

uninstall:
- rm /usr/bin/showkey
- rm /usr/share/man/man1/showkey.1
+ rm $(PREFIX)/bin/showkey
+ rm $(PREIFX)/share/man/man1/showkey.1

SOURCES = README COPYING NEWS control Makefile showkey.c showkey.xml

rm /usr/bin/showkey

0 comments on commit 3379da9

Please sign in to comment.