diff options
| author | Dmitry Sivachenko <demon@FreeBSD.org> | 2012-12-21 15:38:06 +0000 |
|---|---|---|
| committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2012-12-21 15:38:06 +0000 |
| commit | 7c0f9fe801ecb1c862098e03861b41b372a5cbb3 (patch) | |
| tree | 3388c1e67c7d4260b9dea43c07d7d8c2a84821ef /Mk/bsd.python.mk | |
| parent | cd59db7ba9f7989bc17bc2eadfcc851bbcffbf2b (diff) | |
Notes
Diffstat (limited to 'Mk/bsd.python.mk')
| -rw-r--r-- | Mk/bsd.python.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk index e175fb58abdb..c75e4b04f0b7 100644 --- a/Mk/bsd.python.mk +++ b/Mk/bsd.python.mk @@ -87,6 +87,9 @@ Python_Include_MAINTAINER= python@FreeBSD.org # in case you want to use an older version as a default. # default: python2.7 # +# PYTHON_MAJOR_VER - Python version major number. 2 for python-2.x, +# 3 for python-3.x and so on. +# # PYTHON_WRKSRC - The ${WRKSRC} for your python version. Needed for # extensions like Tkinter, py-gdbm and py-expat, which # are built from sources contained in the Python @@ -424,6 +427,8 @@ check-makevars:: @${FALSE} .endif +PYTHON_MAJOR_VER= ${PYTHON_VER:R} + PYTHON_MASTER_SITES= ${MASTER_SITE_PYTHON} PYTHON_MASTER_SITE_SUBDIR= ftp/python/${PYTHON_PORTVERSION:C/rc[0-9]//} PYTHON_DISTFILE= Python-${PYTHON_PORTVERSION:S/.rc/rc/}${EXTRACT_SUFX} |
