import astro/ansiweather, from maintainer Frederic Cambus, ok/tweaks bcallah@
AnsiWeather is a shell script for displaying the current weather conditions in a terminal, with support for ANSI colors and Unicode symbols. Weather data comes from the OpenWeatherMap free weather API.
This commit is contained in:
parent
c6f3a8392f
commit
60de6e2b35
33
astro/ansiweather/Makefile
Normal file
33
astro/ansiweather/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2015/05/19 08:49:05 sthen Exp $
|
||||
|
||||
COMMENT = weather in terminal, with ANSI colors and Unicode symbols
|
||||
DISTNAME = ansiweather-${GH_TAGNAME}
|
||||
CATEGORIES = astro
|
||||
|
||||
HOMEPAGE = https://github.com/fcambus/ansiweather
|
||||
MAINTAINER = Frederic Cambus <fcambus@users.sourceforge.net>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
GH_ACCOUNT = fcambus
|
||||
GH_PROJECT = ansiweather
|
||||
GH_TAGNAME = 1.02
|
||||
|
||||
RUN_DEPENDS = shells/bash \
|
||||
textproc/jq
|
||||
|
||||
NO_BUILD = Yes
|
||||
NO_TEST = Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/ansiweather ${PREFIX}/bin
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ansiweather
|
||||
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/ansiweather
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ansiweather
|
||||
${INSTALL_DATA} ${WRKSRC}/ansiweatherrc.example \
|
||||
${PREFIX}/share/examples/ansiweather
|
||||
|
||||
.include <bsd.port.mk>
|
2
astro/ansiweather/distinfo
Normal file
2
astro/ansiweather/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (ansiweather-1.02.tar.gz) = a2W6hqCjr3rA+/6jwOhxNxxRnQ+v155KUXkJEov3yl8=
|
||||
SIZE (ansiweather-1.02.tar.gz) = 5763
|
12
astro/ansiweather/patches/patch-ansiweather
Normal file
12
astro/ansiweather/patches/patch-ansiweather
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-ansiweather,v 1.1.1.1 2015/05/19 08:49:05 sthen Exp $
|
||||
--- ansiweather.orig Sat May 16 18:01:58 2015
|
||||
+++ ansiweather Sat May 16 18:03:27 2015
|
||||
@@ -36,7 +36,7 @@ function get_config {
|
||||
fi
|
||||
}
|
||||
|
||||
-fetch_cmd=$(get_config "fetch_cmd" || echo "curl -s")
|
||||
+fetch_cmd=$(get_config "fetch_cmd" || echo "ftp -V -o -")
|
||||
|
||||
|
||||
|
5
astro/ansiweather/pkg/DESCR
Normal file
5
astro/ansiweather/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
AnsiWeather is a shell script for displaying the current weather
|
||||
conditions in a terminal, with support for ANSI colors and Unicode
|
||||
symbols.
|
||||
|
||||
Weather data comes from the OpenWeatherMap free weather API.
|
6
astro/ansiweather/pkg/PLIST
Normal file
6
astro/ansiweather/pkg/PLIST
Normal file
@ -0,0 +1,6 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/05/19 08:49:05 sthen Exp $
|
||||
bin/ansiweather
|
||||
share/doc/ansiweather/
|
||||
share/doc/ansiweather/README.md
|
||||
share/examples/ansiweather/
|
||||
share/examples/ansiweather/ansiweatherrc.example
|
Loading…
x
Reference in New Issue
Block a user