0034f8085d
reports from the NOAA (http://www.noaa.gov) and allow access to the included weather information. To find a station ID, visit http://www.nws.noaa.gov/tg/siteloc.shtml For instance, "Belgium/Bruxelles National" has the EBBR ID so a common usage of pymet2 would be: $ pymet2 EBBR The default ID taken if none supplied in the command line is NZCM. ok sturm@.
30 lines
652 B
Makefile
30 lines
652 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2004/02/03 18:23:20 xsa Exp $
|
|
|
|
COMMENT= "Python module to access the NOAA's METAR weather reports"
|
|
|
|
DISTNAME= pymetar-0.8
|
|
PKGNAME= ${DISTNAME:S/py/py-/}
|
|
CATEGORIES= astro
|
|
|
|
HOMEPAGE= http://unattached.i-no.de/software-pymetar.shtml
|
|
|
|
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://unattached.i-no.de/pkgs/
|
|
|
|
MODULES= python
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
pre-build:
|
|
cp ${WRKSRC}/bin/pymet2.py ${WRKSRC}/bin/pymet2
|
|
@perl -pi -e 's,bin/pymet2.py,bin/pymet2,g' ${WRKSRC}/setup.py
|
|
|
|
.include <bsd.port.mk>
|