diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-01-21 03:38:18 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-01-21 03:38:18 +0800 |
commit | 8631168066f2e027f6ddd220c1d7d57df91c792e (patch) | |
tree | 5d646fb6dd5d2f42289ae42466380f3b10870f15 /lang | |
parent | 3d1e575b31a5d7db297dc87f45ad3bf78e76bc64 (diff) | |
download | freebsd-ports-gnome-8631168066f2e027f6ddd220c1d7d57df91c792e.tar.gz freebsd-ports-gnome-8631168066f2e027f6ddd220c1d7d57df91c792e.tar.zst freebsd-ports-gnome-8631168066f2e027f6ddd220c1d7d57df91c792e.zip |
Fix symbolic links of idle and pydoc
- Bump PORTREVISION for package change
- While I'm here:
- Remove leading definite article from COMMENT
- Fix indent
- Add NO_ARCH
PR: 216310
Submitted by: Jose M. Alcaide <josemaria.alcaide@ehu.eus>
MFH: 2017Q1
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python/Makefile | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/lang/python/Makefile b/lang/python/Makefile index 8be4596a1ad9..a5790e158259 100644 --- a/lang/python/Makefile +++ b/lang/python/Makefile @@ -3,7 +3,7 @@ PORTNAME= python PORTVERSION= ${PYTHON_DEFAULT} -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 2 CATEGORIES= lang python ipv6 MASTER_SITES= # empty @@ -11,10 +11,11 @@ DISTFILES= # empty EXTRACT_ONLY= # empty MAINTAINER= python@FreeBSD.org -COMMENT= The "meta-port" for the default version of Python interpreter +COMMENT= "meta-port" for the default version of Python interpreter -USES= python:run -NO_BUILD= yes +USES= python:run +NO_ARCH= yes +NO_BUILD= yes PLIST_FILES= bin/2to3 \ bin/idle \ @@ -31,20 +32,11 @@ RUN_DEPENDS+= python3:lang/python3 .endif do-install: - ${LN} -sf python${PYTHON_MAJOR_VER} ${STAGEDIR}${PREFIX}/bin/python ${LN} -sf 2to3-${PYTHON_MAJOR_VER} ${STAGEDIR}${PREFIX}/bin/2to3 -.if ${PYTHON_MAJOR_VER} == 2 -.for file in idle pydoc +.for file in idle pydoc python ${LN} -sf ${file}${PYTHON_MAJOR_VER} ${STAGEDIR}${PREFIX}/bin/${file} .endfor -.elif ${PYTHON_MAJOR_VER} == 3 -.for file in idle pydoc - ${LN} -sf ${file}${PYTHON_MAJOR_VER}-${PYTHON_VER} \ - ${STAGEDIR}${PREFIX}/bin/${file} -.endfor -.endif - ${LN} -sf python${PYTHON_MAJOR_VER}-config \ - ${STAGEDIR}${PREFIX}/bin/python-config + ${LN} -sf python${PYTHON_MAJOR_VER}-config ${STAGEDIR}${PREFIX}/bin/python-config # Major upgrade support PORTUPGRADE_CMD= ${LOCALBASE}/sbin/portupgrade |