summaryrefslogtreecommitdiff
path: root/lang/python24
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2006-10-13 07:16:45 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2006-10-13 07:16:45 +0000
commite18b838fd903ca4a6c3dca6db8a75eedefd645e4 (patch)
tree984ef244bb83f4a2bfc290e7cc31fd2928e81ef0 /lang/python24
parent- Add a forgotten man page and fix deinstall (diff)
Revert the default version of Python to 2.4 for the ports freeze
period. Python 2.5 brought a vast range of incompatibility to a large number of ports, so the python@ team will do more basic compatibility work in a private repository and merge it later. Sorry for the inconvenience. Approved by: portmgr (kris)
Notes
Notes: svn path=/head/; revision=175244
Diffstat (limited to 'lang/python24')
-rw-r--r--lang/python24/Makefile8
-rw-r--r--lang/python24/files/patch-setup.py10
-rw-r--r--lang/python24/pkg-plist5
3 files changed, 10 insertions, 13 deletions
diff --git a/lang/python24/Makefile b/lang/python24/Makefile
index 089245f8b643..7a4bd0620c7f 100644
--- a/lang/python24/Makefile
+++ b/lang/python24/Makefile
@@ -7,7 +7,7 @@
PORTNAME= python24
PORTVERSION= 2.4.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang python ipv6
MASTER_SITES= ${PYTHON_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
@@ -23,8 +23,8 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= OPT="${CFLAGS}"
MAKE_ENV= VPATH="${WRKSRC}"
INSTALLS_SHLIB= yes
-INSTALL_TARGET= altinstall
-MAN1= ${PYTHON_VERSION}.1
+INSTALL_TARGET= install
+MAN1= python.1 ${PYTHON_VERSION}.1
USE_PYTHON= yes
PYTHON_VERSION= python2.4
@@ -181,6 +181,8 @@ post-install:
${INSTALL_PROGRAM} \
${SHARED_WRKSRC}/${PYTHON_VERSION:S/thon/thon-shared/} \
${PREFIX}/bin
+ cd ${PREFIX}/bin; \
+ ${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/} python-shared
@# additional files installing by ports
@${MKDIR} ${MANPREFIX}/man/man1
diff --git a/lang/python24/files/patch-setup.py b/lang/python24/files/patch-setup.py
index 09ac786be1a6..93e2c278b468 100644
--- a/lang/python24/files/patch-setup.py
+++ b/lang/python24/files/patch-setup.py
@@ -27,13 +27,3 @@
curses_libs = ['ncursesw']
exts.append( Extension('_curses', ['_cursesmodule.c'],
libraries = curses_libs) )
-@@ -1187,8 +1187,7 @@
- ext_modules=[Extension('struct', ['structmodule.c'])],
-
- # Scripts to install
-- scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
-- 'Lib/smtpd.py']
-+ scripts = []
- )
-
- # --install-platlib
diff --git a/lang/python24/pkg-plist b/lang/python24/pkg-plist
index ec0051d4c9bb..886fe9cf0142 100644
--- a/lang/python24/pkg-plist
+++ b/lang/python24/pkg-plist
@@ -1,8 +1,13 @@
+bin/idle
bin/idle%%PYVER%%
+bin/pydoc
bin/pydoc%%PYVER%%
+bin/python
bin/python%%PYVER%%
+bin/python-shared
bin/python-shared%%PYVER%%
bin/smtpd%%PYVER%%.py
+bin/smtpd.py
%%PYTHON_INCLUDEDIR%%/Python.h
%%PYTHON_INCLUDEDIR%%/abstract.h
%%PYTHON_INCLUDEDIR%%/bitset.h