diff options
author | robak <robak@FreeBSD.org> | 2016-11-09 19:19:20 +0800 |
---|---|---|
committer | robak <robak@FreeBSD.org> | 2016-11-09 19:19:20 +0800 |
commit | 359e7c12dfec6a6fed555a2c27b84e5f00c575b0 (patch) | |
tree | 3fcd53d28fcca2997f0e03bc3915e7e8d49a99b4 | |
parent | 8ff74d4c779d6a8915bbbbba6a333c25dcfe0fe0 (diff) | |
download | freebsd-ports-gnome-359e7c12dfec6a6fed555a2c27b84e5f00c575b0.tar.gz freebsd-ports-gnome-359e7c12dfec6a6fed555a2c27b84e5f00c575b0.tar.zst freebsd-ports-gnome-359e7c12dfec6a6fed555a2c27b84e5f00c575b0.zip |
misc/ansiweather: update 1.08 -> 1.09
PR: 213629
Submitted by: Danilo G. Baio <dbaio@bsd.com.br> (maintainer)
-rw-r--r-- | misc/ansiweather/Makefile | 3 | ||||
-rw-r--r-- | misc/ansiweather/distinfo | 6 | ||||
-rw-r--r-- | misc/ansiweather/files/patch-ansiweather | 21 | ||||
-rw-r--r-- | misc/ansiweather/pkg-plist | 1 |
4 files changed, 12 insertions, 19 deletions
diff --git a/misc/ansiweather/Makefile b/misc/ansiweather/Makefile index a634667f9654..0d55f1412355 100644 --- a/misc/ansiweather/Makefile +++ b/misc/ansiweather/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= ansiweather -PORTVERSION= 1.08 +PORTVERSION= 1.09 CATEGORIES= misc MAINTAINER= dbaio@bsd.com.br @@ -29,6 +29,7 @@ do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/ansiweather ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/ansiweather.plugin.zsh ${STAGEDIR}${DATADIR} + ${INSTALL_MAN} ${WRKSRC}/ansiweather.1 ${STAGEDIR}${MANPREFIX}/man/man1 do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} diff --git a/misc/ansiweather/distinfo b/misc/ansiweather/distinfo index 8e11328ae089..5ef6159a749c 100644 --- a/misc/ansiweather/distinfo +++ b/misc/ansiweather/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1469537228 -SHA256 (fcambus-ansiweather-1.08_GH0.tar.gz) = 22dd814ef158df13b3fdbe72ca39e820874e710a4d341d1a2367aa771609665d -SIZE (fcambus-ansiweather-1.08_GH0.tar.gz) = 16991 +TIMESTAMP = 1476884144 +SHA256 (fcambus-ansiweather-1.09_GH0.tar.gz) = 75f705263c8ca1eea74039c478b6c760632f26e3b503ac9d04cd1ab188d1ca77 +SIZE (fcambus-ansiweather-1.09_GH0.tar.gz) = 17360 diff --git a/misc/ansiweather/files/patch-ansiweather b/misc/ansiweather/files/patch-ansiweather index 31ba37cf46ed..9e797657fb2b 100644 --- a/misc/ansiweather/files/patch-ansiweather +++ b/misc/ansiweather/files/patch-ansiweather @@ -1,15 +1,6 @@ ---- ansiweather.orig 2016-07-26 11:16:31 UTC +--- ansiweather.orig 2016-10-18 17:14:59 UTC +++ ansiweather -@@ -66,7 +66,7 @@ done - - if [ "$usage" = true ] - then -- printf "%s\n" \ -+ gprintf "%s\n" \ - "" \ - "AnsiWeather 1.08" \ - "Copyright (c) 2013-2016, Frederic Cambus" \ -@@ -224,7 +224,7 @@ then +@@ -205,7 +205,7 @@ then forecast=$([ "$forecast" -gt "$flength" ] && echo "$flength" || echo "$forecast") else city=$(echo "$weather" | jq -r '.name') @@ -18,7 +9,7 @@ humidity=$(echo "$weather" | jq '.main.humidity') pressure=$(echo "$weather" | jq '.main.pressure') sky=$(echo "$weather" | jq -r '.weather[0].main') -@@ -304,7 +304,7 @@ case $units in +@@ -285,7 +285,7 @@ case $units in scale="°C" speed_unit="m/s" pressure_unit="hPa" @@ -27,7 +18,7 @@ ;; imperial) scale="°F" -@@ -312,7 +312,7 @@ case $units in +@@ -293,7 +293,7 @@ case $units in pressure_unit="inHg" if [ "$forecast" = 0 ] then @@ -36,7 +27,7 @@ fi ;; esac -@@ -368,8 +368,8 @@ then +@@ -349,8 +349,8 @@ then do day=$(echo "$weather" | jq ".list[$i]") date=$(epoch_to_date "$(echo "$day" | jq -r '.dt')") @@ -47,7 +38,7 @@ icon="" if [ "$symbols" = true ] -@@ -401,7 +401,7 @@ fi +@@ -397,7 +397,7 @@ fi if [ "$ansi" = true ] then diff --git a/misc/ansiweather/pkg-plist b/misc/ansiweather/pkg-plist index fbede022c9b5..2c1ef82e9d67 100644 --- a/misc/ansiweather/pkg-plist +++ b/misc/ansiweather/pkg-plist @@ -1,4 +1,5 @@ bin/ansiweather +man/man1/ansiweather.1.gz %%DATADIR%%/ansiweather.plugin.zsh %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/README.md |