[Pkg-wmaker-commits] [wmfrog] 01/03: Add manpage; adapted from Debian.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sun Aug 23 05:46:48 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch upstream
in repository wmfrog.

commit 260673af888d792e4900e01ccea51bdc6ca3720c
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Thu Jan 1 09:42:21 2015 -0600

    Add manpage; adapted from Debian.
    
    Based on the manpage found at [1].
    
    [1] https://sources.debian.net/src/wmfrog/0.3.1%2Bgit20140909-1/debian/wmfrog.1/
---
 wmfrog/Src/Makefile |  2 ++
 wmfrog/Src/wmfrog.1 | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/wmfrog/Src/Makefile b/wmfrog/Src/Makefile
index 7e8f054..a3bc1f9 100644
--- a/wmfrog/Src/Makefile
+++ b/wmfrog/Src/Makefile
@@ -24,8 +24,10 @@ wmfrog:	$(OBJS)
 install:
 		mkdir -p "$(DESTDIR)$(PREFIX)/bin"
 		mkdir -p "$(DESTDIR)$(PREFIX)/lib/wmfrog"
+		mkdir -p "$(DESTDIR)$(PREFIX)/share/man/man1"
 		cp wmfrog "$(DESTDIR)$(PREFIX)/bin"
 		cp weather.pl "$(DESTDIR)$(PREFIX)/lib/wmfrog"
+		cp wmfrog.1 "$(DESTDIR)$(PREFIX)/share/man/man1"
 clean:
 	for i in $(OBJS) ; do \
 		rm -f $$i; \
diff --git a/wmfrog/Src/wmfrog.1 b/wmfrog/Src/wmfrog.1
new file mode 100644
index 0000000..61e5f05
--- /dev/null
+++ b/wmfrog/Src/wmfrog.1
@@ -0,0 +1,49 @@
+.TH wmfrog 1 "2015-01-01" "wmfrog" "User Commands"
+.SH "NAME"
+wmfrog \- a dockapp for showing weather in graphical way
+.SH "SYNOPSIS"
+wmfrog [options] \-station <METAR station id>
+.SH "OPTIONS"
+.IP "\fB\-delay minutes\fR" 4
+Override time (in minutes) between updates. Default is 15.
+.IP "\fB\-m, \-metric\fR" 4
+Display Temperature in metric unit: Celsius.
+.IP "\fB\-o offset\fR" 4
+Time offset of location from UTC. Positive or negative integer
+expressed in hours, like +1 or \-7.
+.IP "\fB\-s, \-station\fR" 4
+Required option. The 4\-character METAR Station ID. See
+http://en.wikipedia.org/wiki/METAR
+.IP "\fB\-w knots\fR" 4
+Set the maximum wind in KNOTS for percentage of max / scaling. Default
+is 50 Knots.
+.IP "\fB\-tmp directory\fR" 4
+Set the temporary directory where the METAR data files are downloaded
+Default is /tmp.
+.IP "\fB\-l label\fR" 4
+Set displayed text to 4 character (max) label to replace the METAR
+station id.
+.SH "DESCRIPTION"
+A dockapp for weather reports. Includes clouds (clear, few,
+scattered, broken, overcast ...); Precipitations (drizzle, rain, snow,
+ice crystals: light/moderate or heavy); Special weather (Blowing wind
+/ Freezing / Thunderstorm, funnel cloud...); Humidity percentage; Wind
+speed (average & gust); Wind Direction; Temperature (Celsius or
+Fahrenheit); Station name can be configured and weather report time is
+displayed.
+.PP
+To find out more about the METAR/TAF system, see
+http://nws.noaa.gov/ops2/Surface/metar_taf.htm
+.PP
+To find your city Metar code go to http://www.nws.noaa.gov/tg/siteloc.php
+.SH "FILES"
+.IP "/tmp/<station\-id>/" 4
+Stored data files. The directory can be changed with option \fB\-tmp\fR
+.SH "AUTHORS"
+program was written by Thibaut Colar <tcolar at colar.net>.
+.PP
+This manual page is based on 0.1.6 version of the program. Updated by Jari
+Aalto <jari.aalto at cante.net> and Doug Torrance <dtorrance at monmouthcollege.edu>.
+Released under license GNU GPL v2 or (at
+your option) any later version. For more information about license, visit
+<http://www.gnu.org/copyleft/gpl.html>.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmfrog.git



More information about the Pkg-wmaker-commits mailing list