blob: b371a0f3be830a7c14050cb3c5c5b885c80b6088 (
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
35
36
37
38
|
PORTNAME= python3
PORTVERSION= ${PYTHON_MAJOR_VER}
PORTREVISION= 3
CATEGORIES= lang python
MASTER_SITES=
DISTFILES=
EXTRACT_ONLY=
MAINTAINER= python@FreeBSD.org
COMMENT= The "meta-port" for version 3 of the Python interpreter
USES= python:3.5+,run
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= bin/2to3-${PYTHON_MAJOR_VER} \
bin/idle${PYTHON_MAJOR_VER} \
bin/pydoc${PYTHON_MAJOR_VER} \
bin/python${PYTHON_MAJOR_VER} \
bin/python${PYTHON_MAJOR_VER}-config \
libdata/pkgconfig/python${PYTHON_MAJOR_VER}.pc
do-install:
${LN} -sf python${PYTHON_VER} \
${STAGEDIR}${PREFIX}/bin/python${PYTHON_MAJOR_VER}
${LN} -sf 2to3-${PYTHON_VER} \
${STAGEDIR}${PREFIX}/bin/2to3-${PYTHON_MAJOR_VER}
.for file in idle pydoc
${LN} -sf ${file}${PYTHON_VER} \
${STAGEDIR}${PREFIX}/bin/${file}${PYTHON_MAJOR_VER}
.endfor
${LN} -sf python${PYTHON_VER}-config \
${STAGEDIR}${PREFIX}/bin/python${PYTHON_MAJOR_VER}-config
${LN} -sf python-${PYTHON_VER}.pc \
${STAGEDIR}${PREFIX}/libdata/pkgconfig/python${PYTHON_MAJOR_VER}.pc
.include <bsd.port.mk>
|