openbsd-ports/astro/py-metar/Makefile

30 lines
625 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.11 2009/03/09 23:09:19 espie Exp $
2007-09-15 06:37:21 -04:00
COMMENT= Python module to access the NOAA's METAR weather reports
V= 0.13
DISTNAME= pymetar-${V}
PKGNAME= py-metar-${V}p0
CATEGORIES= astro
2004-04-01 08:17:57 -05:00
HOMEPAGE= http://www.schwarzvogel.de/software-pymetar.shtml
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-04-01 08:17:57 -05:00
MASTER_SITES= http://www.schwarzvogel.de/pkgs/
SUBST_VARS= V
2004-08-03 05:35:25 -04:00
MODULES= lang/python
NO_REGRESS= Yes
pre-build:
2004-08-02 16:59:38 -04:00
cp ${WRKSRC}/bin/weather.py ${WRKSRC}/bin/pymet
@perl -pi -e 's,bin/weather.py,bin/pymet,g' ${WRKSRC}/setup.py
.include <bsd.port.mk>