diff --git a/misc/wego/Makefile b/misc/wego/Makefile index b317860c174c..0c97d206f3a3 100644 --- a/misc/wego/Makefile +++ b/misc/wego/Makefile @@ -1,27 +1,32 @@ PORTNAME= wego -DISTVERSION= 2.3 -PORTREVISION= 16 +DISTVERSION= 2.4 CATEGORIES= misc MAINTAINER= pkubaj@FreeBSD.org COMMENT= Weather client for the terminal WWW= https://github.com/schachmat/wego LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules USE_GITHUB= yes GH_ACCOUNT= schachmat GH_TUPLE= \ - golang:sys:v0.8.0:golang_sys/vendor/golang.org/x/sys \ - mattn:go-colorable:v0.1.13:mattn_go_colorable/vendor/github.com/mattn/go-colorable \ - mattn:go-isatty:v0.0.19:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ - mattn:go-runewidth:v0.0.14:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ - rivo:uniseg:v0.4.4:rivo_uniseg/vendor/github.com/rivo/uniseg \ - schachmat:ingo:a4bdc0729a3f:schachmat_ingo/vendor/github.com/schachmat/ingo + mattn:go-colorable:v0.1.14:mattn_go_colorable/vendor/github.com/mattn/go-colorable \ + mattn:go-runewidth:v0.0.23:mattn_go_runwidth/vendor/github.com/mattn/go-runewidth \ + muesli:mango:v0.2.0:muesli_mango/vendor/github.com/muesli/mango \ + muesli:roff:v0.1.0:muesli_roff/vendor/github.com/muesli/roff \ + schachmat:ingo:a4bdc0729a3f:schachmat_ingo/vendor/github.com/schachmat/ingo \ + clipperhouse:uax29:v2.2.0:clipperhouse_uax29/vendor/github.com/clipperhouse/uax29/v2 \ + mattn:go-isatty:v0.0.20:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ + golang:sys:v0.29.0:golang_sys/vendor/golang.org/x/sys GO_TARGET= wego -PLIST_FILES= bin/${PORTNAME} +PLIST_FILES= bin/${PORTNAME} \ + share/man/man1/${PORTNAME}.1.gz + +post-install: + ${STAGEDIR}${PREFIX}/bin/wego --man > ${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME}.1 .include diff --git a/misc/wego/distinfo b/misc/wego/distinfo index bf620c04bb54..bbbf889cda8e 100644 --- a/misc/wego/distinfo +++ b/misc/wego/distinfo @@ -1,15 +1,19 @@ -TIMESTAMP = 1724659369 -SHA256 (schachmat-wego-2.3_GH0.tar.gz) = 6a7501ab537709d1d9fc04f14e5a2c5a8f99309591a8dae75260caf4a74ce567 -SIZE (schachmat-wego-2.3_GH0.tar.gz) = 20902 -SHA256 (golang-sys-v0.8.0_GH0.tar.gz) = b2d02a26e2f974193692e0357c73f46b7b82c5d51099af1b01e4c456d261a428 -SIZE (golang-sys-v0.8.0_GH0.tar.gz) = 1436337 -SHA256 (mattn-go-colorable-v0.1.13_GH0.tar.gz) = c3b62c76d365906bba9aa9d9ec048fd33a2a5742299d6482a08e7466d4c52d77 -SIZE (mattn-go-colorable-v0.1.13_GH0.tar.gz) = 9762 -SHA256 (mattn-go-isatty-v0.0.19_GH0.tar.gz) = 67b1614d495030982d276b211f3ba2a155fad61919ba96e34db8e67ed28660e4 -SIZE (mattn-go-isatty-v0.0.19_GH0.tar.gz) = 4679 -SHA256 (mattn-go-runewidth-v0.0.14_GH0.tar.gz) = 0e6a49d6a8f694154af2746a820d4c5f13fe3d9b0968bdf16fcf939dd461e034 -SIZE (mattn-go-runewidth-v0.0.14_GH0.tar.gz) = 18274 -SHA256 (rivo-uniseg-v0.4.4_GH0.tar.gz) = eb2837932d0a666e13ea6b4cebf698096266d4f14740faa78c63b8291cf1fb5c -SIZE (rivo-uniseg-v0.4.4_GH0.tar.gz) = 453399 +TIMESTAMP = 1775988332 +SHA256 (schachmat-wego-2.4_GH0.tar.gz) = 5ae1c76a322ff2e295034a801755c42b0cb6bdef5ab205af42cf95dbf7c570f4 +SIZE (schachmat-wego-2.4_GH0.tar.gz) = 27133 +SHA256 (mattn-go-colorable-v0.1.14_GH0.tar.gz) = 293966a59f0238da3c39f5b27c192d0efd6473ff74ab5a9c7e1ec73fdda3f1d4 +SIZE (mattn-go-colorable-v0.1.14_GH0.tar.gz) = 9800 +SHA256 (mattn-go-runewidth-v0.0.23_GH0.tar.gz) = a224c045a32c51ecd08bb89171edc4e0e51cf796e5e55eb6a47b5c8e91fbdc14 +SIZE (mattn-go-runewidth-v0.0.23_GH0.tar.gz) = 21791 +SHA256 (muesli-mango-v0.2.0_GH0.tar.gz) = 51e658392534433189e6b853a4002f92dc784e6cbcb14ec2d7d6ac2a86abab2c +SIZE (muesli-mango-v0.2.0_GH0.tar.gz) = 35761 +SHA256 (muesli-roff-v0.1.0_GH0.tar.gz) = cfc5290374b43e2a3197f39701ec6fee32b79a67f47c5102c7430eba88a9826c +SIZE (muesli-roff-v0.1.0_GH0.tar.gz) = 4925 SHA256 (schachmat-ingo-a4bdc0729a3f_GH0.tar.gz) = 2bfcf26de06c432ea4e2e61973d6a3b093efcf7b0f720506893589e332c5e0b4 SIZE (schachmat-ingo-a4bdc0729a3f_GH0.tar.gz) = 5341 +SHA256 (clipperhouse-uax29-v2.2.0_GH0.tar.gz) = 215f028ab0f49dfb281776fb85361efb0c2d02c45d7a9fe42cbc36dd7cfbd8c8 +SIZE (clipperhouse-uax29-v2.2.0_GH0.tar.gz) = 279548 +SHA256 (mattn-go-isatty-v0.0.20_GH0.tar.gz) = 18fc42a278e60fb7a1dffa72f20539ae88d0e292db55b513ef514b7d369883a6 +SIZE (mattn-go-isatty-v0.0.20_GH0.tar.gz) = 4713 +SHA256 (golang-sys-v0.29.0_GH0.tar.gz) = 7bac3e0a686a05d0e86ca110917b45f60553d6c146dba8a4cdafb911486428e7 +SIZE (golang-sys-v0.29.0_GH0.tar.gz) = 1519988 diff --git a/misc/wego/pkg-descr b/misc/wego/pkg-descr index 4caf63cd9834..d09b7a21ac45 100644 --- a/misc/wego/pkg-descr +++ b/misc/wego/pkg-descr @@ -1 +1,22 @@ wego is a weather client for the terminal. + +Features: +* show forecast for 1 to 7 days +* multiple backends: `openweathermap`, `weatherapi`, `open-meteo`, `smhi`, + `caiyun`, `worldweatheronline`, `pirateweather`, and `json` +* multiple frontends: `ascii-art-table` (default), `emoji`, `markdown`, + and `json` +* displayed info: + * temperature range ([felt](https://en.wikipedia.org/wiki/Wind_chill) + and measured) + * windspeed and direction + * viewing distance + * precipitation amount and probability + * humidity +* unit systems: `metric`, `imperial`, `si`, `metric-ms` +* disk caching of weather data with configurable TTL (`--cache-ttl`) +* multi language support +* config file for default location which can be overridden by commandline +* automatic config management with [ingo](https://github.com/schachmat/ingo) +* built-in man page (`wego --man`) +* composable via JSON: pipe data between the `json` backend and `json` frontend