diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2010-08-25 14:29:03 +0800 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2010-08-25 14:29:03 +0800 |
commit | c838d543503639c4b65efb4e5010e7f98c0148f5 (patch) | |
tree | 5150d582183db7822bb96fa0942098747168257c | |
parent | 862beb7742d0606c53876bfc343434a7b1f19e17 (diff) | |
download | freebsd-ports-gnome-c838d543503639c4b65efb4e5010e7f98c0148f5.tar.gz freebsd-ports-gnome-c838d543503639c4b65efb4e5010e7f98c0148f5.tar.zst freebsd-ports-gnome-c838d543503639c4b65efb4e5010e7f98c0148f5.zip |
- Extend USE_PYTHON range (connect Python 2.7)
PR: ports/149952
Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet AT sunpoet.net> (maintainer)
-rw-r--r-- | astro/weather/Makefile | 5 | ||||
-rw-r--r-- | astro/weather/pkg-plist | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/astro/weather/Makefile b/astro/weather/Makefile index eb558de7f126..f9b2bc1386ab 100644 --- a/astro/weather/Makefile +++ b/astro/weather/Makefile @@ -14,10 +14,13 @@ MASTER_SITES= http://fungi.yuggoth.org/weather/src/ \ MAINTAINER= sunpoet@sunpoet.net COMMENT= An utility to provide current weather conditions and forecasts -USE_PYTHON= -2.6 +USE_PYTHON= -2.7 MAN1= weather.1 MAN5= weatherrc.5 +PLIST_FILES= bin/weather \ + %%PYTHON_SITELIBDIR%%/${PORTNAME}.py \ + %%PYTHON_SITELIBDIR%%/${PORTNAME}.pyc post-patch: @${REINPLACE_CMD} -e '1 s/python/${PYTHON_VERSION}/' ${WRKSRC}/weather diff --git a/astro/weather/pkg-plist b/astro/weather/pkg-plist deleted file mode 100644 index acd49c389e08..000000000000 --- a/astro/weather/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -@comment $FreeBSD$ -bin/weather -%%PYTHON_SITELIBDIR%%/weather.py -%%PYTHON_SITELIBDIR%%/weather.pyc |