# -*- 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 139630 2015-08-22 01:50:43Z ryandesign@macports.org $ PortSystem 1.0 name watch version 3.3.11 categories sysutils platforms darwin license GPL-2 maintainers yahoo.com:mjhsieh description watch executes a program periodically, showing output fullscreen long_description \ watch is like "top" for arbitrary commands. It runs command repeatedly, \ displaying its output (the first screen full). This allows you to watch \ the program output change over time. This is part of the linux "procps" \ package. homepage http://sourceforge.net/projects/procps-ng/ master_sites sourceforge:procps-ng distname procps-ng-${version} use_xz yes checksums rmd160 c8a82895668a23521847416ff9cb661ca7f3a7d4 \ sha256 e9493169a2d2adc0bc045538707310c8e877b385e4e296143b62607d2bb044ed depends_lib port:ncurses # Disable gettext due to linking problems # and we are not going to install any catalogs anyway configure.args --disable-nls variant universal {} build.target watch # LDADD is set to libprocps, which isn't needed for watch and fails to build on Darwin build.args CC="${configure.cc} [get_canonical_archflags cc]" \ LDFLAGS="${configure.ldflags}" \ AM_LDFLAGS="" \ LDADD="" destroot { xinstall -m 0755 ${worksrcpath}/watch ${destroot}${prefix}/bin xinstall -m 0644 ${worksrcpath}/watch.1 \ ${destroot}${prefix}/share/man/man1 } livecheck.regex procps-ng-(\[0-9.\]*)${extract.suffix}