source: trunk/dports/sysutils/crswallow/Portfile

Last change on this file was 95899, checked in by jmr@…, 5 years ago

correct license formatting

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 95899 2012-07-26 10:56:29Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                crswallow
7version             0.2
8categories          sysutils
9license             MPL-1.1 GPL-2+ LGPL-2.1+
10platforms           darwin
11maintainers         gmail.com:stefan.van.der.eijk openmaintainer
12
13description         filter or rate-limit text lines containing CR
14long_description    crswallow processes text lines passed in from stdin and \
15                    forwards most of them to stdout/stderr. Text lines which \
16                    contain the carriage return character (cr) are often \
17                    used by software to print progress information on a text \
18                    console. Some tools update the status very often, e.g. \
19                    mencoder may do so several hundred times per second. \
20                    Such output can be very disturbing when running software \
21                    over a remote terminal connection with low bandwidth. \
22                    The crswallow filter can limit status output to a single \
23                    update in a given time interval, for example once per \
24                    second.
25                               
26homepage            http://code.google.com/p/crswallow/
27master_sites        googlecode
28
29checksums           md5     f1a751c0ea8891ec1682d4ea209fc3b0 \
30                    sha1    96701106de01db3e4b46e799ff23b8537019410c \
31                    rmd160  781d40d2fd00eafdbe9076ec9dfbf40670beef2e
32
33worksrcdir          ${name}
34
35variant universal {}
36if {[variant_isset universal]} {
37    set archflags ${configure.universal_cflags}
38} else {
39    set archflags ${configure.cc_archflags}
40}
41
42use_configure       no
43build.cmd           ${configure.cc}
44build.args          ${configure.cflags} ${archflags} -o ${name}
45build.target        ${name}.c
46
47destroot {
48    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
49}
Note: See TracBrowser for help on using the repository browser.