2009-03-09 19:09:19 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2009/03/09 23:09:19 espie Exp $
|
2004-02-03 13:23:20 -05:00
|
|
|
|
2007-09-15 06:37:21 -04:00
|
|
|
COMMENT= Python module to access the NOAA's METAR weather reports
|
2004-02-03 13:23:20 -05:00
|
|
|
|
2007-12-18 15:54:33 -05:00
|
|
|
V= 0.13
|
|
|
|
DISTNAME= pymetar-${V}
|
2009-03-09 19:09:19 -04:00
|
|
|
PKGNAME= py-metar-${V}p0
|
2004-02-03 13:23:20 -05:00
|
|
|
CATEGORIES= astro
|
|
|
|
|
2004-04-01 08:17:57 -05:00
|
|
|
HOMEPAGE= http://www.schwarzvogel.de/software-pymetar.shtml
|
2004-02-03 13:23:20 -05:00
|
|
|
|
|
|
|
# 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/
|
2004-02-03 13:23:20 -05:00
|
|
|
|
2007-12-18 15:54:33 -05:00
|
|
|
SUBST_VARS= V
|
2004-08-03 05:35:25 -04:00
|
|
|
MODULES= lang/python
|
2004-02-03 13:23:20 -05:00
|
|
|
|
|
|
|
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
|
2004-02-03 13:23:20 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|