Set PYTHON_PY3K_PLIST_HACK to adjust the plist for Python >= 3.2.0.

Since this port does not use distutils/setuptools and we manually generate
the .pyc/.pyo files, we need to set PYTHON_PY3K_PLIST_HACK so that the cache
files end up in the right directory if Python >= 3.2.0 is used due to
PEP-3147.

PR:		188150
MFH:		2014Q2
This commit is contained in:
Raphael Kubo da Costa 2014-06-08 10:19:25 +00:00
parent f8537de986
commit cd03765d17
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357000

View File

@ -3,6 +3,7 @@
PORTNAME= sip
PORTVERSION= ${SIP_VERSION}
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITES_SIP} ${MASTER_SITE_LOCAL}
@ -12,7 +13,8 @@ DISTNAME= ${SIP_DISTNAME}
MAINTAINER= kde@FreeBSD.org
COMMENT= Python to C and C++ bindings generator
USE_PYTHON= yes
USE_PYTHON= yes
PYTHON_PY3K_PLIST_HACK= yes
DATADIR= ${PREFIX}/share/py-${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}