aboutsummaryrefslogtreecommitdiff
path: root/astro
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
parentba4f95c0b0178fbc7601fccc59d9189f46ac3dd0 (diff)
downloadports-9e360d478f0b340191918fc0add9eca2593ffa94.tar.gz
ports-9e360d478f0b340191918fc0add9eca2593ffa94.zip
Notes
Diffstat (limited to 'astro')
-rw-r--r--astro/py-metar/Makefile6
-rw-r--r--astro/py-metar/distinfo2
2 files changed, 6 insertions, 2 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>
diff --git a/astro/py-metar/distinfo b/astro/py-metar/distinfo
index 78bee84c5c74..6cff6365c0d1 100644
--- a/astro/py-metar/distinfo
+++ b/astro/py-metar/distinfo
@@ -1 +1 @@
-MD5 (pymetar-0.7.tar.gz) = aeb58383a6a0d334b9fbed33e48f0f2e
+MD5 (pymetar-0.8.tar.gz) = 228eedaddc7821f2ed086d91f9d56b68