aboutsummaryrefslogtreecommitdiff
path: root/astro/py-metar/Makefile
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2004-01-26 02:33:44 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2004-01-26 02:33:44 +0000
commit9e360d478f0b340191918fc0add9eca2593ffa94 (patch)
treef76ea2b80df2ec8b64db0d60168cac419629bdb2 /astro/py-metar/Makefile
parentba4f95c0b0178fbc7601fccc59d9189f46ac3dd0 (diff)
downloadports-9e360d478f0b340191918fc0add9eca2593ffa94.tar.gz
ports-9e360d478f0b340191918fc0add9eca2593ffa94.zip
Notes
Diffstat (limited to 'astro/py-metar/Makefile')
-rw-r--r--astro/py-metar/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/astro/py-metar/Makefile b/astro/py-metar/Makefile
index c77349a0126d..23da0f69b138 100644
--- a/astro/py-metar/Makefile
+++ b/astro/py-metar/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= metar
-PORTVERSION= 0.7
+PORTVERSION= 0.8
CATEGORIES= astro python
MASTER_SITES= http://unattached.i-no.de/pkgs/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,6 +15,7 @@ DISTNAME= pymetar-${PORTVERSION}
MAINTAINER= perky@FreeBSD.org
COMMENT= Python module that provides access to NOAA's METAR weather reports
+USE_REINPLACE= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
@@ -22,4 +23,7 @@ USE_PYTHON_PREFIX= yes
post-extract:
${CP} ${WRKSRC}/bin/pymet2.py ${WRKSRC}/bin/pymet2
+post-patch:
+ ${REINPLACE_CMD} 's,bin/pymet2.py,bin/pymet2,g' ${WRKSRC}/setup.py
+
.include <bsd.port.mk>