diff options
Diffstat (limited to 'astro/weather/Makefile')
-rw-r--r-- | astro/weather/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/astro/weather/Makefile b/astro/weather/Makefile index 3d5f79ed8a98..bc86b77b57d6 100644 --- a/astro/weather/Makefile +++ b/astro/weather/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= weather -PORTVERSION= 2.0 -PORTREVISION= 1 +PORTVERSION= 2.3 CATEGORIES= astro python MASTER_SITES= http://fungi.yuggoth.org/weather/src/ \ LOCAL/sunpoet @@ -19,7 +18,7 @@ USES= python shebangfix tar:xz PLIST_FILES= bin/${PORTNAME} \ %%PYTHON_SITELIBDIR%%/${PORTNAME}.py \ %%PYTHON_SITELIBDIR%%/${PYCACHE_DIR}${PYCACHE_FILE}.pyc \ - %%PYTHON_SITELIBDIR%%/${PYCACHE_DIR}${PYCACHE_FILE}.${PYOEXTENSION} \ + %%PYTHON_SITELIBDIR%%/${PYCACHE_DIR}${PYCACHE_FILE}.${PYTHON_PYOEXTENSION} \ man/man1/${PORTNAME}.1.gz \ man/man5/${PORTNAME}rc.5.gz PORTDATA= airports places stations zctas zones @@ -37,9 +36,9 @@ PYCACHE_FILE= ${PORTNAME}.cpython-${PYTHON_SUFFIX} .endif .if ${PYTHON_REL} < 3500 -PYOEXTENSION= pyo +PYTHON_PYOEXTENSION= pyo .else -PYOEXTENSION= opt-1.pyc +PYTHON_PYOEXTENSION= opt-1.pyc .endif do-build: @@ -51,7 +50,7 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.py ${STAGEDIR}${PYTHON_SITELIBDIR}/ ${INSTALL_DATA} ${WRKSRC}/${PYCACHE_DIR}${PYCACHE_FILE}.pyc ${STAGEDIR}${PYTHON_SITELIBDIR}/${PYCACHE_DIR} - ${INSTALL_DATA} ${WRKSRC}/${PYCACHE_DIR}${PYCACHE_FILE}.${PYOEXTENSION} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PYCACHE_DIR} + ${INSTALL_DATA} ${WRKSRC}/${PYCACHE_DIR}${PYCACHE_FILE}.${PYTHON_PYOEXTENSION} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PYCACHE_DIR} ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1 ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}rc.5 ${STAGEDIR}${MANPREFIX}/man/man5/${PORTNAME}rc.5 ${MKDIR} ${STAGEDIR}${DATADIR}/ |