diff --git a/sysutils/watch/Portfile b/sysutils/watch/Portfile index d9439b4b255bb..c75d772b581a8 100644 --- a/sysutils/watch/Portfile +++ b/sysutils/watch/Portfile @@ -3,24 +3,24 @@ PortSystem 1.0 PortGroup gitlab 1.0 -gitlab.setup procps-ng procps 4.0.0 v +gitlab.setup procps-ng procps 4.0.4 v name watch -revision 1 +revision 0 categories sysutils license GPL-2 -maintainers nomaintainer +maintainers {gmail.com:stuartwesterman @stuartwesterman} openmaintainer 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. + 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 +checksums rmd160 630e3ed123e86d2f52230780b56b0ec29c62894d \ + sha256 65d8e4eba8c1a264418f4fada87e06d59cedb96f04b7346f5c249bfeba72f410 \ + size 1423198 patchfiles patch-autogen.sh.diff \ patch-configure.ac.diff @@ -49,7 +49,7 @@ configure.args --disable-nls variant universal {} -build.target watch +build.target src/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}" \ @@ -57,8 +57,8 @@ build.args CC="${configure.cc} [get_canonical_archflags cc]" \ LDADD="" destroot { - xinstall -m 0755 ${worksrcpath}/watch ${destroot}${prefix}/bin - xinstall -m 0644 ${worksrcpath}/watch.1 \ + xinstall -m 0755 ${worksrcpath}/src/watch ${destroot}${prefix}/bin + xinstall -m 0644 ${worksrcpath}/man/watch.1 \ ${destroot}${prefix}/share/man/man1 } diff --git a/sysutils/watch/files/patch-autogen.sh.diff b/sysutils/watch/files/patch-autogen.sh.diff index 62d25c5d0e80d..c5f2a2a959b2d 100644 --- a/sysutils/watch/files/patch-autogen.sh.diff +++ b/sysutils/watch/files/patch-autogen.sh.diff @@ -1,5 +1,5 @@ ---- autogen.sh.orig 2022-03-22 06:40:10.000000000 -0400 -+++ autogen.sh 2022-04-05 12:18:30.000000000 -0400 +--- autogen.sh.orig 2024-08-13 02:41:43 ++++ autogen.sh 2024-08-13 02:42:06 @@ -35,7 +35,7 @@ DIE=1 } diff --git a/sysutils/watch/files/patch-configure.ac.diff b/sysutils/watch/files/patch-configure.ac.diff index f3529fd1e1f8c..fd11dc4cb5d74 100644 --- a/sysutils/watch/files/patch-configure.ac.diff +++ b/sysutils/watch/files/patch-configure.ac.diff @@ -1,12 +1,12 @@ This patch ensures that the correct version number is used. Since there is no tar-ball, the script to extract the version number fails and returns UNKNOWN ---- configure.ac.orig 2020-03-27 10:25:00.000000000 -0400 -+++ configure.ac 2020-03-27 10:25:55.000000000 -0400 +--- configure.ac.orig 2024-08-13 02:45:05 ++++ configure.ac 2024-08-13 02:55:46 @@ -4,7 +4,7 @@ AC_PREREQ([2.69]) AC_CONFIG_MACRO_DIR([m4]) AC_INIT([procps-ng], -- m4_esyscmd([misc/git-version-gen .tarball-version]), +- m4_esyscmd([local/git-version-gen .tarball-version]), + @@VERSION@@, [procps@freelists.org],,[https://gitlab.com/procps-ng/procps]) AM_INIT_AUTOMAKE([foreign 1.11 subdir-objects -Wall -Wno-portability tar-pax no-dist-gzip dist-xz])