# $OpenBSD: Makefile,v 1.13 2009/10/06 09:32:47 benoit Exp $ COMMENT = Python module to access NOAA's METAR weather reports MODPY_EGG_VERSION = 0.15 DISTNAME = pymetar-${MODPY_EGG_VERSION} PKGNAME = py-metar-${MODPY_EGG_VERSION} CATEGORIES = astro HOMEPAGE = http://www.schwarzvogel.de/software-pymetar.shtml MAINTAINER = Benoit Lecocq # GPLv2 PERMIT_PACKAGE_CDROM = Yes PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM = Yes PERMIT_DISTFILES_FTP = Yes MASTER_SITES = http://www.schwarzvogel.de/pkgs/ MODULES = lang/python NO_REGRESS = Yes pre-build: cp ${WRKSRC}/bin/weather.py ${WRKSRC}/bin/pymet @perl -pi -e 's,bin/weather.py,bin/pymet,g' ${WRKSRC}/setup.py .include