# -*- 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 PortSystem 1.0 PortGroup gitlab 1.0 gitlab.setup procps-ng procps 4.0.0 v name watch revision 1 categories sysutils license GPL-2 maintainers nomaintainer 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. checksums rmd160 f4edebce660d3de3a0430e2762aac4aa59983eb6 \ sha256 4b8b86673321c263558b39f98aafbca16eacb85adee249c44363bd370d84c798 \ size 892004 patchfiles patch-autogen.sh.diff \ patch-configure.ac.diff post-patch { reinplace "s|@@VERSION@@|${version}|g" ${worksrcpath}/configure.ac } use_autoreconf yes autoreconf.cmd ./autogen.sh autoreconf.args depends_build-append \ port:autoconf \ port:automake \ port:gettext \ port:libtool \ port:pkgconfig depends_lib-append \ 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 } gitlab.livecheck.regex {([0-9.]+)}