opnsense-ports/lang/python3/Makefile
Franco Fichtner de5f07e55f */*: sync with upstream
Taken from: HardenedBSD
2021-07-26 14:27:30 +02: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>