aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.python.mk
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2010-08-16 03:12:51 +0800
committerlwhsu <lwhsu@FreeBSD.org>2010-08-16 03:12:51 +0800
commit99d151a85b4b82eba9a70d821b40e4e138044bcc (patch)
tree835ef5fd985fafdd1044733759eaa0d158f004a3 /Mk/bsd.python.mk
parent1096e185e20c6fac4a123c96c99626bc98d99a89 (diff)
downloadfreebsd-ports-gnome-99d151a85b4b82eba9a70d821b40e4e138044bcc.tar.gz
freebsd-ports-gnome-99d151a85b4b82eba9a70d821b40e4e138044bcc.tar.zst
freebsd-ports-gnome-99d151a85b4b82eba9a70d821b40e4e138044bcc.zip
- Introduce Python 2.7.0
Original work by: wen
Diffstat (limited to 'Mk/bsd.python.mk')
-rw-r--r--Mk/bsd.python.mk11
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