aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python24
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2006-10-13 15:16:45 +0800
committerperky <perky@FreeBSD.org>2006-10-13 15:16:45 +0800
commit3a81657f5e6e8b2a6d7aed1b68ddf38f2e09c589 (patch)
tree6c46f1d5bf4bc63b89ba8a1cd88a3898b2377fbc /lang/python24
parente7f318bbbc010a1cc2d2a35dcd0ccf78ca6656c2 (diff)
downloadfreebsd-ports-gnome-3a81657f5e6e8b2a6d7aed1b68ddf38f2e09c589.tar.gz
freebsd-ports-gnome-3a81657f5e6e8b2a6d7aed1b68ddf38f2e09c589.tar.zst
freebsd-ports-gnome-3a81657f5e6e8b2a6d7aed1b68ddf38f2e09c589.zip
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)
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