summaryrefslogtreecommitdiffstats
path: root/lang/python21
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2002-04-16 11:44:39 +0000
committertg <tg@FreeBSD.org>2002-04-16 11:44:39 +0000
commit5be6dbb1131b864790923fd6a1cc4dfffd5ea659 (patch)
tree5a787a3a071931f265c7e7cd156f4bc0d09839f6 /lang/python21
parentccedb2763c993dbc781736e0d93aad7a5d4fb3fc (diff)
downloadFreeBSD-ports-5be6dbb1131b864790923fd6a1cc4dfffd5ea659.zip
FreeBSD-ports-5be6dbb1131b864790923fd6a1cc4dfffd5ea659.tar.gz
Allow python?? ports to co-exist with lang/python.
PR: 36353 Submitted by: Alan Eldridge <ports@geeksrus.net>
Diffstat (limited to 'lang/python21')
-rw-r--r--lang/python21/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/lang/python21/Makefile b/lang/python21/Makefile
index aa5388a..770203d 100644
--- a/lang/python21/Makefile
+++ b/lang/python21/Makefile
@@ -21,8 +21,8 @@ WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
CONFIGURE_ENV= OPT="${CFLAGS}"
-INSTALL_TARGET= install
-MAN1= python.1
+INSTALL_TARGET= altinstall
+MAN1= ${PYTHON_VERSION}.1
USE_PYTHON= yes
PYTHON_VERSION= python2.1
@@ -78,8 +78,9 @@ pre-install:
.endfor
post-install:
- @${MKDIR} ${PREFIX}/share/emacs/site-lisp
- ${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el ${PREFIX}/share/emacs/site-lisp
+ @${MKDIR} ${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/Misc/python.man \
+ ${MANPREFIX}/man/man1/${PYTHON_VERSION}.1
@${MKDIR} ${PYTHON_SITELIBDIR}
.if !defined(NOPORTDOCS)
@cd ${WRKSRC}; tar -c --exclude='*CVS*' -f - Tools | \
OpenPOWER on IntegriCloud