blob: 7ae48a72960509cc90c86f2db8a5cdec942623f8 (
plain) (
blame)
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= python
PORTVERSION= ${PYTHON_DEFAULT}
PORTREVISION= 3
PORTEPOCH= 2
CATEGORIES= lang python
MASTER_SITES= # empty
DISTFILES= # empty
EXTRACT_ONLY= # empty
MAINTAINER= python@FreeBSD.org
COMMENT= "meta-port" for the default version of Python interpreter
WWW= https://www.python.org/
RUN_DEPENDS= python${PYTHON_MAJOR_VER}:lang/python${PYTHON_MAJOR_VER}
USES= python:run
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= bin/2to3 \
bin/idle \
bin/pydoc \
bin/python \
bin/python-config
do-install:
${LN} -sf 2to3-${PYTHON_MAJOR_VER} ${STAGEDIR}${PREFIX}/bin/2to3
.for file in idle pydoc python
${LN} -sf ${file}${PYTHON_MAJOR_VER} ${STAGEDIR}${PREFIX}/bin/${file}
.endfor
${LN} -sf python${PYTHON_MAJOR_VER}-config ${STAGEDIR}${PREFIX}/bin/python-config
.include <bsd.port.mk>
|