aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-06-08 11:10:05 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-06-08 11:10:05 +0000
commita702334037a7761a11c8277a57823ade7fad1724 (patch)
treea4f92c0e6f10e6e7830a65513a77030df955f0f1
parentc1230455d976f3030f51ec62fd6435613912aeaf (diff)
downloadports-a702334037a7761a11c8277a57823ade7fad1724.tar.gz
ports-a702334037a7761a11c8277a57823ade7fad1724.zip
MFH: r357000
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 Approved by: portmgr (miwi)
Notes
Notes: svn path=/branches/2014Q2/; revision=357002
-rw-r--r--devel/py-sip/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/py-sip/Makefile b/devel/py-sip/Makefile
index 5af701404496..34685bd223c2 100644
--- a/devel/py-sip/Makefile
+++ b/devel/py-sip/Makefile
@@ -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}