source: trunk/dports/sysutils/pv/Portfile

Last change on this file was 145878, checked in by eborisch@…, 19 months ago

pv: Update to 1.6.0 and take maintainership. See #50667.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 145878 2016-02-19 18:19:50Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           muniversal 1.0
6
7name                pv
8version             1.6.0
9categories          sysutils
10platforms           darwin
11maintainers         eborisch openmaintainer
12license             Apache-2
13
14description         monitor the progress of data through a pipe
15
16long_description    pv - Pipe Viewer - is a terminal-based tool for monitoring \
17                    the progress of data through a pipeline. It can be \
18                    inserted into any normal pipeline between two processes to \
19                    give a visual indication of how quickly data is passing \
20                    through, how long it has taken, how near to completion it \
21                    is, and an estimate of how long it will be until completion.
22
23homepage            http://www.ivarch.com/programs/pv.shtml
24master_sites        http://www.ivarch.com/programs/sources/
25
26use_bzip2           yes
27
28checksums \
29    rmd160  c1271f71df99db9e8b9df3f491bd2d18ebab4b68 \
30    sha256  0ece824e0da27b384d11d1de371f20cafac465e038041adab57fcf4b5036ef8d
31
32configure.args      --mandir=${prefix}/share/man \
33                    --infodir=${prefix}/share/info
34
35depends_lib         port:gettext
36
37if {${os.platform} eq "darwin" && ${os.major} != 9} {
38    # Leopard is the only release where stat64 exists and is not deprecated.
39    # Rather than updating a patch to replace each instance, use the deprecated
40    # interface as long as it exists, just don't complain about it. (configure
41    # script runs a check.)
42    configure.cppflags-append -Wno-deprecated
43}
44
45patch {
46    reinplace "/fscanf/s/Lu/llu/" src/pv/watchpid.c
47}
48
49livecheck.type      regex
50livecheck.regex     >${name}-(\[0-9.\]+)${extract.suffix}<
Note: See TracBrowser for help on using the repository browser.