diff --git a/geo/p5-Geo-METAR/Makefile b/geo/p5-Geo-METAR/Makefile new file mode 100644 index 00000000000..6e2a3ca09e1 --- /dev/null +++ b/geo/p5-Geo-METAR/Makefile @@ -0,0 +1,19 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/04/05 04:13:44 okan Exp $ + +COMMENT= process aviation weather reports in the METAR format +MODULES= cpan +DISTNAME= Geo-METAR-1.15 +CATEGORIES= geo + +# Perl +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Geo-METAR + ${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl \ + ${PREFIX}/share/examples/p5-Geo-METAR + +.include diff --git a/geo/p5-Geo-METAR/distinfo b/geo/p5-Geo-METAR/distinfo new file mode 100644 index 00000000000..746579294fe --- /dev/null +++ b/geo/p5-Geo-METAR/distinfo @@ -0,0 +1,5 @@ +MD5 (Geo-METAR-1.15.tar.gz) = bLksPDzglPFRe2AfXiLQ0Q== +RMD160 (Geo-METAR-1.15.tar.gz) = pdHWF72zr2yD6cCojc2QDo6ezI4= +SHA1 (Geo-METAR-1.15.tar.gz) = SBXw+RUHzFo6FzUU4P/tQmjJbTg= +SHA256 (Geo-METAR-1.15.tar.gz) = xzq4S5r0EpXV0iZmD7o7/W2jRyBgzWNFe8/85QiT5TY= +SIZE (Geo-METAR-1.15.tar.gz) = 16002 diff --git a/geo/p5-Geo-METAR/pkg/DESCR b/geo/p5-Geo-METAR/pkg/DESCR new file mode 100644 index 00000000000..0adb9d23659 --- /dev/null +++ b/geo/p5-Geo-METAR/pkg/DESCR @@ -0,0 +1,8 @@ +METAR reports are available on-line, thanks to the National Weather +Service. Since reading the METAR format isn't easy for non-pilots, +these reports are relatively useles to the common man who just wants a +quick glace at the weather. This module tries to parse the METAR +reports so the data can be used to create readable weather reports +and/or process the data in applications. + +Note: fetch_temp.pl example script requires p5-libwww. diff --git a/geo/p5-Geo-METAR/pkg/PLIST b/geo/p5-Geo-METAR/pkg/PLIST new file mode 100644 index 00000000000..1fc09b6e3f8 --- /dev/null +++ b/geo/p5-Geo-METAR/pkg/PLIST @@ -0,0 +1,7 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/04/05 04:13:44 okan Exp $ +${P5SITE}/Geo/ +${P5SITE}/Geo/METAR.pm +@man man/man3p/Geo::METAR.3p +share/examples/p5-Geo-METAR/ +share/examples/p5-Geo-METAR/fetch_temp.pl +share/examples/p5-Geo-METAR/simple_dump.pl