freebsd-ports/lang/python3/Makefile
Po-Chuan Hsieh a0e02daf64
lang/python3: Clean up
- Remove leading definite article from COMMENT
- Update USES=python
- Remove unneeded use of PYTHON_MAJOR_VER because this is for python 3.x
- Merge the symbolic link of 2to3 and python to the .for loop
2021-07-25 04:23:06 +08:00

34 lines
719 B
Makefile

PORTNAME= python3
PORTVERSION= 3
PORTREVISION= 3
CATEGORIES= lang python
MASTER_SITES= # empty
DISTFILES= # empty
EXTRACT_ONLY= # empty
MAINTAINER= python@FreeBSD.org
COMMENT= Meta-port for the Python interpreter 3.x
USES= python:3.6+,run
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= bin/2to3-3 \
bin/idle3 \
bin/pydoc3 \
bin/python3 \
bin/python3-config \
libdata/pkgconfig/python3.pc
do-install:
.for file in 2to3- idle pydoc python
${LN} -sf ${file}${PYTHON_VER} \
${STAGEDIR}${PREFIX}/bin/${file}3
.endfor
${LN} -sf python${PYTHON_VER}-config \
${STAGEDIR}${PREFIX}/bin/python3-config
${LN} -sf python-${PYTHON_VER}.pc \
${STAGEDIR}${PREFIX}/libdata/pkgconfig/python3.pc
.include <bsd.port.mk>