source: trunk/dports/sysutils/showkey/Portfile

Last change on this file was 134950, checked in by khindenburg@…, 2 years ago

showkey: update to 1.7

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 134950 2015-04-11 18:33:55Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                showkey
7version             1.7
8categories          sysutils
9platforms           darwin
10maintainers         khindenburg openmaintainer
11license             MIT
12
13description         echo raw keystrokes back at you in a printable form
14
15long_description    This program puts your terminal in raw mode, eats \
16                    keystrokes, and prints them back it you in a recognizable \
17                    printed form (using <>-surrounded ASCII mnemonics for \
18                    non-printables). \
19                    This may be useful, for example, if you're not certain \
20                    what your keyboard keys are sending.
21
22homepage            http://catb.org/esr/showkey/
23master_sites        ${homepage}
24
25checksums           rmd160  9824d2c175e57d743f54395761141175b87e4dbc \
26                    sha256  0383a508c29df9a80b294a805a38f38d2dee6d2687e43c5ece3c5901220fb44d
27
28patchfiles          patch-Makefile.diff
29
30use_configure       no
31
32variant universal {}
33if {[variant_isset universal]} {
34    set archflags ${configure.universal_cflags}
35} else {
36    set archflags ${configure.cc_archflags}
37}
38
39build.target
40build.args          CC="${configure.cc} ${archflags}"
41
42destroot.args       PREFIX=${prefix}
43
44livecheck.type      regex
45livecheck.regex     "${name}-(\[\\d.\]+)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.