Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 02:59:51 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364883 - head/astro/weather
Message-ID:  <201408150259.s7F2xpTH068605@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408150259.s7F2xpTH068605>