summaryrefslogtreecommitdiff
path: root/lang/python3/Makefile
blob: 0886170050544fa67ad1b62a3378006670dad8b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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>