diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2010-08-15 19:12:51 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2010-08-15 19:12:51 +0000 |
commit | 61b31f74b45ae151e324b183ddfe33e659c6da57 (patch) | |
tree | 3a1f97194b116ac6ba347095f35095a7285ae341 /Mk | |
parent | 6dc96975e4c198c2fd41c51bcb44ed4a4d87ed5d (diff) | |
download | ports-61b31f74b45ae151e324b183ddfe33e659c6da57.tar.gz ports-61b31f74b45ae151e324b183ddfe33e659c6da57.zip |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.python.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk index bd9fbddb8f40..83a357328472 100644 --- a/Mk/bsd.python.mk +++ b/Mk/bsd.python.mk @@ -214,7 +214,7 @@ Python_Include_MAINTAINER= python@FreeBSD.org # _PYTHON_PORTBRANCH= 2.6 -_PYTHON_ALLBRANCHES= 2.6 2.5 2.4 3.1 # preferred first +_PYTHON_ALLBRANCHES= 2.6 2.5 2.4 2.7 3.1 # preferred first _ZOPE_PORTBRANCH= 2.7 _ZOPE_ALLBRANCHES= 2.7 2.8 2.9 2.10 3.2 @@ -377,6 +377,14 @@ PYTHON_REL= 312 PYTHON_SUFFIX= 31 PYTHON_VER= 3.1 +# Python-2.7 +.elif ${PYTHON_VERSION} == "python2.7" +PYTHON_PORTVERSION?=2.7 +PYTHON_PORTSDIR= ${PORTSDIR}/lang/python27 +PYTHON_REL= 270 +PYTHON_SUFFIX= 27 +PYTHON_VER= 2.7 + # Python-2.6 .elif ${PYTHON_VERSION} == "python2.6" PYTHON_PORTVERSION?=2.6.5 @@ -418,6 +426,7 @@ check-makevars:: @${ECHO} " python2.4" @${ECHO} " python2.5" @${ECHO} " python2.6 (default)" + @${ECHO} " python2.7" @${ECHO} " python3.1" @${FALSE} .endif |