aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2024-06-26 12:00:04 +0000
committerJan Beich <jbeich@FreeBSD.org>2024-06-27 00:55:38 +0000
commit757b703aa209baf8f8aa6ed945d2dc840032fcfb (patch)
treed7e329402ea178cb3adfc39f124d9f3bb9a325aa
parent3f9d9a27c6e1b5b0bdea3babc2f3cc86c2d1bbf3 (diff)
x11/wayidle: update to 0.2.0
Changes: https://git.sr.ht/~whynothugo/wayidle/log/v0.2.0 Reported by: Repology
-rw-r--r--x11/wayidle/Makefile16
-rw-r--r--x11/wayidle/Makefile.crates2
-rw-r--r--x11/wayidle/distinfo10
-rw-r--r--x11/wayidle/pkg-descr2
4 files changed, 21 insertions, 9 deletions
diff --git a/x11/wayidle/Makefile b/x11/wayidle/Makefile
index c6055c596d92..fb764e021570 100644
--- a/x11/wayidle/Makefile
+++ b/x11/wayidle/Makefile
@@ -1,7 +1,6 @@
PORTNAME= wayidle
DISTVERSIONPREFIX= v
-DISTVERSION= 0.1.1
-PORTREVISION= 10
+DISTVERSION= 0.2.0
CATEGORIES= x11 wayland
MASTER_SITES= https://git.sr.ht/~whynothugo/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
# XXX Teach USES=cargo to not override default DISTFILES
@@ -17,4 +16,17 @@ LICENSE_FILE= ${WRKSRC}/LICENCE.md
USES= cargo
PLIST_FILES= bin/${PORTNAME}
+OPTIONS_DEFINE= MANPAGES
+OPTIONS_DEFAULT=MANPAGES
+
+MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
+MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz
+
+do-build-MANPAGES-on:
+ scdoc < ${WRKSRC}/${PORTNAME}.1.scd >${WRKSRC}/${PORTNAME}.1
+
+do-install-MANPAGES-on:
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
+ ${STAGEDIR}${PREFIX}/${MANPAGES_PLIST_FILES:H}
+
.include <bsd.port.mk>
diff --git a/x11/wayidle/Makefile.crates b/x11/wayidle/Makefile.crates
index 62c4087609d4..7b1f093b5d35 100644
--- a/x11/wayidle/Makefile.crates
+++ b/x11/wayidle/Makefile.crates
@@ -4,7 +4,7 @@ CARGO_CRATES= anyhow-1.0.71 \
cfg-if-1.0.0 \
convert_case-0.6.0 \
lexopt-0.3.0 \
- libc-0.2.144 \
+ libc-0.2.155 \
memchr-2.5.0 \
memoffset-0.7.1 \
nix-0.26.2 \
diff --git a/x11/wayidle/distinfo b/x11/wayidle/distinfo
index 7ba5f694ab1e..768ff5dba4de 100644
--- a/x11/wayidle/distinfo
+++ b/x11/wayidle/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1685370149
-SHA256 (wayidle-v0.1.1.tar.gz) = f71d7c9f62d39b254b11a716e7ba7da9ae81224bacb8b273ab5d9595b9fa6b7d
-SIZE (wayidle-v0.1.1.tar.gz) = 4511
+TIMESTAMP = 1719403204
+SHA256 (wayidle-v0.2.0.tar.gz) = 36f191372658a7ac25a4343bcd227ce06523358ca1801daa807fd07b1cd34d27
+SIZE (wayidle-v0.2.0.tar.gz) = 5247
SHA256 (rust/crates/anyhow-1.0.71.crate) = 9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8
SIZE (rust/crates/anyhow-1.0.71.crate) = 43808
SHA256 (rust/crates/autocfg-1.1.0.crate) = d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa
@@ -13,8 +13,8 @@ SHA256 (rust/crates/convert_case-0.6.0.crate) = ec182b0ca2f35d8fc196cf3404988fd8
SIZE (rust/crates/convert_case-0.6.0.crate) = 18675
SHA256 (rust/crates/lexopt-0.3.0.crate) = baff4b617f7df3d896f97fe922b64817f6cd9a756bb81d40f8883f2f66dcb401
SIZE (rust/crates/lexopt-0.3.0.crate) = 24767
-SHA256 (rust/crates/libc-0.2.144.crate) = 2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1
-SIZE (rust/crates/libc-0.2.144.crate) = 682092
+SHA256 (rust/crates/libc-0.2.155.crate) = 97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c
+SIZE (rust/crates/libc-0.2.155.crate) = 743539
SHA256 (rust/crates/memchr-2.5.0.crate) = 2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d
SIZE (rust/crates/memchr-2.5.0.crate) = 65812
SHA256 (rust/crates/memoffset-0.7.1.crate) = 5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4
diff --git a/x11/wayidle/pkg-descr b/x11/wayidle/pkg-descr
index cde70095babe..1d298a14d033 100644
--- a/x11/wayidle/pkg-descr
+++ b/x11/wayidle/pkg-descr
@@ -2,4 +2,4 @@ Wayidle waits until the Wayland compositor reports being N seconds
idle. If a command was specified, it will "exec" into that command,
otherwise, it will exit zero.
-Wayidle is designed for usage is shell scripts or execline scripts.
+Wayidle is primarily designed for usage is scripts.