diff options
Diffstat (limited to 'lang/python24')
-rw-r--r-- | lang/python24/Makefile | 8 | ||||
-rw-r--r-- | lang/python24/files/patch-setup.py | 10 | ||||
-rw-r--r-- | lang/python24/pkg-plist | 5 |
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 |