diff options
author | perky <perky@FreeBSD.org> | 2004-12-01 23:04:05 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2004-12-01 23:04:05 +0800 |
commit | 2bbe6b652108b44a504b7563159d5ea2ca474b84 (patch) | |
tree | bdd9bdf8776a2af4933c54360d47255406363345 /lang/python23/Makefile | |
parent | 4147645e20bcf8e3fcf6630c850a0a54c8a72f07 (diff) | |
download | freebsd-ports-gnome-2bbe6b652108b44a504b7563159d5ea2ca474b84.tar.gz freebsd-ports-gnome-2bbe6b652108b44a504b7563159d5ea2ca474b84.tar.zst freebsd-ports-gnome-2bbe6b652108b44a504b7563159d5ea2ca474b84.zip |
- Update lang/python to 2.4 final release.
- Finish repocopy lang/python -> lang/python23 for Python 2.3.4
Diffstat (limited to 'lang/python23/Makefile')
-rw-r--r-- | lang/python23/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lang/python23/Makefile b/lang/python23/Makefile index 504bdc966737..d27ce95f103e 100644 --- a/lang/python23/Makefile +++ b/lang/python23/Makefile @@ -7,7 +7,7 @@ PORTNAME= python PORTVERSION= 2.3.4 -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES= lang python ipv6 MASTER_SITES= ${PYTHON_MASTER_SITES} MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} @@ -25,13 +25,14 @@ CONFIGURE_ARGS= --with-fpectl CONFIGURE_ENV= OPT="${CFLAGS}" MAKE_ENV= VPATH="${WRKSRC}" INSTALLS_SHLIB= yes -INSTALL_TARGET= install -MAN1= python.1 +INSTALL_TARGET= altinstall +MAN1= ${PYTHON_VERSION}.1 USE_PYTHON= yes PYTHON_VERSION= python2.3 PYTHON_NO_DEPENDS= yes USE_REINPLACE= yes +LATEST_LINK= ${PYTHON_VERSION:S/.//} SHARED_WRKSRC= ${WRKSRC}/build.shared PLIST_SUB= PYVER=${PYTHON_VERSION:S/python//} @@ -160,6 +161,9 @@ post-install: @# shared version of executable and library ${INSTALL_PROGRAM} ${SHARED_WRKSRC}/lib${PYTHON_VERSION}.so.1 \ ${PREFIX}/lib + @${MKDIR} ${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/Misc/python.man \ + ${MANPREFIX}/man/man1/${PYTHON_VERSION}.1 cd ${PREFIX}/lib; ${LN} -sf lib${PYTHON_VERSION}.so.1 \ lib${PYTHON_VERSION}.so ${LN} -sf ${PREFIX}/lib/lib${PYTHON_VERSION}.so \ @@ -167,12 +171,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 - ${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el \ - ${PREFIX}/share/emacs/site-lisp ${INSTALL_SCRIPT} ${WRKDIR}/pydoc2.3 ${WRKDIR}/idle2.3 \ ${PREFIX}/bin |