# -*- 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 # $Id: Portfile 145878 2016-02-19 18:19:50Z eborisch@macports.org $ PortSystem 1.0 PortGroup muniversal 1.0 name pv version 1.6.0 categories sysutils platforms darwin maintainers eborisch openmaintainer license Apache-2 description monitor the progress of data through a pipe long_description pv - Pipe Viewer - is a terminal-based tool for monitoring \ the progress of data through a pipeline. It can be \ inserted into any normal pipeline between two processes to \ give a visual indication of how quickly data is passing \ through, how long it has taken, how near to completion it \ is, and an estimate of how long it will be until completion. homepage http://www.ivarch.com/programs/pv.shtml master_sites http://www.ivarch.com/programs/sources/ use_bzip2 yes checksums \ rmd160 c1271f71df99db9e8b9df3f491bd2d18ebab4b68 \ sha256 0ece824e0da27b384d11d1de371f20cafac465e038041adab57fcf4b5036ef8d configure.args --mandir=${prefix}/share/man \ --infodir=${prefix}/share/info depends_lib port:gettext if {${os.platform} eq "darwin" && ${os.major} != 9} { # Leopard is the only release where stat64 exists and is not deprecated. # Rather than updating a patch to replace each instance, use the deprecated # interface as long as it exists, just don't complain about it. (configure # script runs a check.) configure.cppflags-append -Wno-deprecated } patch { reinplace "/fscanf/s/Lu/llu/" src/pv/watchpid.c } livecheck.type regex livecheck.regex >${name}-(\[0-9.\]+)${extract.suffix}<