aboutsummaryrefslogtreecommitdiff
path: root/lang/python15
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2002-04-16 11:44:39 +0000
committerThomas Gellekum <tg@FreeBSD.org>2002-04-16 11:44:39 +0000
commit3b014a2b3941a67197b56438f724d569269669f9 (patch)
tree828e3fa7acea021173357e08c1630e8f46a079d7 /lang/python15
parent3259c7ade93f663e30d7a24e9d6bca6ba00693ba (diff)
downloadports-3b014a2b3941a67197b56438f724d569269669f9.tar.gz
ports-3b014a2b3941a67197b56438f724d569269669f9.zip
Notes
Diffstat (limited to 'lang/python15')
-rw-r--r--lang/python15/Makefile10
-rw-r--r--lang/python15/pkg-plist3
2 files changed, 5 insertions, 8 deletions
diff --git a/lang/python15/Makefile b/lang/python15/Makefile
index 7d14068ec0b0..f0ff3fc9c42f 100644
--- a/lang/python15/Makefile
+++ b/lang/python15/Makefile
@@ -20,9 +20,9 @@ WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
CONFIGURE_ENV= OPT="${CFLAGS}"
-INSTALL_TARGET= install
+INSTALL_TARGET= altinstall
PLIST= ${WRKDIR}/PLIST
-MAN1= python.1
+MAN1= ${PYTHON_VERSION}.1
NO_LATEST_LINK= yes
USE_PYTHON= yes
@@ -100,10 +100,10 @@ pre-install:
@sort -r -o ${PLIST} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/pkg-plist
post-install:
- strip ${PREFIX}/bin/python
+ @${MKDIR} ${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/Misc/python.man \
+ ${MANPREFIX}/man/man1/${PYTHON_VERSION}.1
@${MKDIR} ${PREFIX}/share/doc/${PYTHON_VERSION}
- @${MKDIR} ${PREFIX}/share/emacs/site-lisp
- ${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el ${PREFIX}/share/emacs/site-lisp
${INSTALL_DATA} ${WRKSRC}/Misc/COPYRIGHT ${PREFIX}/share/doc/${PYTHON_VERSION}
@${MKDIR} ${PYTHON_SITELIBDIR}
.if !defined(WITHOUT_TOOLS)
diff --git a/lang/python15/pkg-plist b/lang/python15/pkg-plist
index 3c0902f96a34..b5111f22b414 100644
--- a/lang/python15/pkg-plist
+++ b/lang/python15/pkg-plist
@@ -1,7 +1,5 @@
bin/%%PYTHON_VERSION%%
-bin/python
share/doc/%%PYTHON_VERSION%%/COPYRIGHT
-share/emacs/site-lisp/python-mode.el
include/%%PYTHON_VERSION%%/Python.h
include/%%PYTHON_VERSION%%/abstract.h
include/%%PYTHON_VERSION%%/bitset.h
@@ -1011,4 +1009,3 @@ lib/%%PYTHON_VERSION%%/xmllib.pyo
@dirrm lib/%%PYTHON_VERSION%%
@exec mkdir -p %D/lib/%%PYTHON_VERSION%%/site-packages
@dirrm share/doc/%%PYTHON_VERSION%%
-@unexec rmdir share/emacs/site-lisp 2>/dev/null || true