svn commit: r364883 - head/astro/weather
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Aug 15 02:59:52 UTC 2014
Author: sunpoet
Date: Fri Aug 15 02:59:51 2014
New Revision: 364883
URL: http://svnweb.freebsd.org/changeset/ports/364883
QAT: https://qat.redports.org/buildarchive/r364883/
Log:
- Use USES=python
- Fix PLIST: add missing PLIST_DIRS
Modified:
head/astro/weather/Makefile
Modified: head/astro/weather/Makefile
==============================================================================
--- head/astro/weather/Makefile Fri Aug 15 02:32:06 2014 (r364882)
+++ head/astro/weather/Makefile Fri Aug 15 02:59:51 2014 (r364883)
@@ -13,8 +13,7 @@ COMMENT= Utility to provide current weat
LICENSE= ISCL
-USE_PYTHON= yes
-USES= shebangfix tar:xz
+USES= python shebangfix tar:xz
PLIST_FILES= bin/${PORTNAME} \
%%PYTHON_SITELIBDIR%%/${PORTNAME}.py \
@@ -32,6 +31,7 @@ python_CMD= ${PYTHON_CMD}
PYCACHE_DIR= # empty
PYCACHE_FILE= ${PORTNAME}
.else
+PLIST_DIRS= %%PYTHON_SITELIBDIR%%/__pycache__
PYCACHE_DIR= __pycache__/
PYCACHE_FILE= ${PORTNAME}.cpython-${PYTHON_SUFFIX}
.endif
More information about the svn-ports-all
mailing list