2012-11-14 11:56:15 +01:00
|
|
|
# Created by: Hye-Shik Chang <perky@fallin.lv>
|
2002-07-25 20:57:37 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= metar
|
2013-04-27 06:49:25 +02:00
|
|
|
PORTVERSION= 0.19
|
2014-02-24 11:41:31 +01:00
|
|
|
PORTREVISION= 2
|
2007-07-22 21:33:55 +02:00
|
|
|
CATEGORIES= astro python geography
|
2010-05-29 15:48:24 +02:00
|
|
|
MASTER_SITES= http://www.schwarzvogel.de/pkgs/ \
|
2010-10-01 03:14:18 +02:00
|
|
|
LOCAL/sunpoet
|
2002-07-25 20:57:37 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2010-05-29 15:48:24 +02:00
|
|
|
DISTNAME= ${REALPORTNAME}-${PORTVERSION}
|
2002-07-25 20:57:37 +02:00
|
|
|
|
2010-09-22 19:10:26 +02:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
2012-08-05 09:09:55 +02:00
|
|
|
COMMENT= Python module that provides access to NOAA METAR weather reports
|
2002-07-25 20:57:37 +02:00
|
|
|
|
2010-11-02 19:55:05 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2012-08-05 09:09:55 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2013-04-27 06:49:25 +02:00
|
|
|
OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}/options
|
2012-08-05 09:09:55 +02:00
|
|
|
|
2014-02-24 11:41:31 +01:00
|
|
|
PYDISTUTILS_AUTOPLIST= yes
|
2013-04-27 06:49:25 +02:00
|
|
|
USE_PYDISTUTILS=yes
|
2014-01-13 22:00:02 +01:00
|
|
|
USE_PYTHON= 2
|
2014-02-24 11:41:31 +01:00
|
|
|
USES= shebangfix
|
2008-12-04 11:36:29 +01:00
|
|
|
|
|
|
|
PORTDOCS= COPYING README THANKS librarydoc.txt
|
|
|
|
|
2010-05-29 15:48:24 +02:00
|
|
|
REALPORTNAME= pymetar
|
2008-12-04 11:36:29 +01:00
|
|
|
|
2014-02-24 11:41:31 +01:00
|
|
|
SHEBANG_FILES= bin/${REALPORTNAME}
|
|
|
|
python_CMD= ${PYTHON_CMD}
|
2012-08-05 09:09:55 +02:00
|
|
|
|
2008-12-04 11:36:29 +01:00
|
|
|
post-patch:
|
2014-02-24 11:41:31 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|share/\(man/man1\)|\1|' \
|
|
|
|
-e 's|"share/doc/pymetar-%s"%pymetar.__version__|"${DOCSDIR}"|' ${WRKSRC}/${PYSETUP}
|
2004-01-26 03:33:44 +01:00
|
|
|
|
2002-07-25 20:57:37 +02:00
|
|
|
.include <bsd.port.mk>
|