mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
- Extend USE_PYTHON range (connect Python 2.7)
PR: ports/149952 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet AT sunpoet.net> (maintainer)
This commit is contained in:
parent
48918810a4
commit
cb5db6d7ba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259950
@ -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
|
||||
|
@ -1,4 +0,0 @@
|
||||
@comment $FreeBSD$
|
||||
bin/weather
|
||||
%%PYTHON_SITELIBDIR%%/weather.py
|
||||
%%PYTHON_SITELIBDIR%%/weather.pyc
|
Loading…
Reference in New Issue
Block a user