Changeset View
Changeset View
Standalone View
Standalone View
head/lang/python-tools/Makefile
Show All 31 Lines | |||||
python_CMD= ${PYTHON_CMD} | python_CMD= ${PYTHON_CMD} | ||||
UNIQUE_SUFFIX= -${PYTHON_VER} | UNIQUE_SUFFIX= -${PYTHON_VER} | ||||
UNIQUE_SUFFIX_FILES= ${SCRIPT_FILES:C/^.*/bin\/&/g} \ | UNIQUE_SUFFIX_FILES= ${SCRIPT_FILES:C/^.*/bin\/&/g} \ | ||||
${PYLIB_FILES:C/^.*/bin\/&/g} | ${PYLIB_FILES:C/^.*/bin\/&/g} | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${PYTHON_REL} < 320 | .if ${PYTHON_REL} < 3200 | ||||
SCRIPT_FILES+= logmerge | SCRIPT_FILES+= logmerge | ||||
python_OLD_CMD= /usr/bin/env python | python_OLD_CMD= /usr/bin/env python | ||||
.else | .else | ||||
# Python 3+ uses python3 as shebang line, python2 just python | # Python 3+ uses python3 as shebang line, python2 just python | ||||
python_OLD_CMD= /usr/bin/env python3 | python_OLD_CMD= /usr/bin/env python3 | ||||
.endif | .endif | ||||
.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION} | .if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION} | ||||
Show All 14 Lines |