Use new PYTHONPREFIX_*DIR variables to make these ports PREFIX-clean.
This commit is contained in:
parent
8d6c870a31
commit
5abd985434
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61261
15 changed files with 79 additions and 79 deletions
|
@ -20,7 +20,7 @@ USE_PYTHON= yes
|
|||
USE_PYDISTUTILS=yes
|
||||
|
||||
DOCDIR= ${PREFIX}/share/doc/py-mx
|
||||
MXHDRDIR= ${PREFIX}/lib/${PYTHON_VERSION}/site-packages/mx/stdlib
|
||||
MXHDRDIR= ${PYTHONPREFIX_SITELIBDIR}/mx/stdlib
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${DOCDIR}
|
||||
|
|
|
@ -76,20 +76,20 @@ PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
|
|||
|
||||
pre-install:
|
||||
.for platform in ${PLATFORMS}
|
||||
${MKDIR} ${PYTHON_LIBDIR}/${platform}
|
||||
${MKDIR} ${PYTHONPREFIX_LIBDIR}/${platform}
|
||||
.for file in IN.py regen
|
||||
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/${file} \
|
||||
${PYTHON_LIBDIR}/${platform}/
|
||||
${PYTHONPREFIX_LIBDIR}/${platform}/
|
||||
.endfor
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/emacs/site-lisp
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el ${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHON_SITELIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el \
|
||||
${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@cd ${WRKSRC}; tar -c --exclude='*CVS*' -f - Tools | \
|
||||
(cd ${PYTHON_LIBDIR}; tar xf -)
|
||||
(cd ${PYTHONPREFIX_LIBDIR}; tar xf -)
|
||||
@${MKDIR} ${DEMODIR}
|
||||
@cd ${WRKSRC}/Demo; tar -c --exclude='*CVS*' -f - * | \
|
||||
(cd ${DEMODIR}; tar xf -)
|
||||
|
|
|
@ -76,20 +76,20 @@ PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
|
|||
|
||||
pre-install:
|
||||
.for platform in ${PLATFORMS}
|
||||
${MKDIR} ${PYTHON_LIBDIR}/${platform}
|
||||
${MKDIR} ${PYTHONPREFIX_LIBDIR}/${platform}
|
||||
.for file in IN.py regen
|
||||
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/${file} \
|
||||
${PYTHON_LIBDIR}/${platform}/
|
||||
${PYTHONPREFIX_LIBDIR}/${platform}/
|
||||
.endfor
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/emacs/site-lisp
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el ${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHON_SITELIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el \
|
||||
${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@cd ${WRKSRC}; tar -c --exclude='*CVS*' -f - Tools | \
|
||||
(cd ${PYTHON_LIBDIR}; tar xf -)
|
||||
(cd ${PYTHONPREFIX_LIBDIR}; tar xf -)
|
||||
@${MKDIR} ${DEMODIR}
|
||||
@cd ${WRKSRC}/Demo; tar -c --exclude='*CVS*' -f - * | \
|
||||
(cd ${DEMODIR}; tar xf -)
|
||||
|
|
|
@ -93,9 +93,9 @@ PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
|
|||
|
||||
pre-install:
|
||||
.for platform in ${PLATFORMS}
|
||||
${MKDIR} ${PYTHON_LIBDIR}/${platform}
|
||||
${MKDIR} ${PYTHONPREFIX_LIBDIR}/${platform}
|
||||
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \
|
||||
${PYTHON_LIBDIR}/${platform}
|
||||
${PYTHONPREFIX_LIBDIR}/${platform}
|
||||
.endfor
|
||||
@sort -r -o ${PLIST} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/pkg-plist
|
||||
|
||||
|
@ -105,9 +105,9 @@ post-install:
|
|||
${MANPREFIX}/man/man1/${PYTHON_VERSION}.1
|
||||
@${MKDIR} ${PREFIX}/share/doc/${PYTHON_VERSION}
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/COPYRIGHT ${PREFIX}/share/doc/${PYTHON_VERSION}
|
||||
@${MKDIR} ${PYTHON_SITELIBDIR}
|
||||
@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
|
||||
.if !defined(WITHOUT_TOOLS)
|
||||
@cd ${WRKSRC}; tar cf - Tools | (cd ${PYTHON_LIBDIR}; tar xf -)
|
||||
@cd ${WRKSRC}; tar cf - Tools | (cd ${PYTHONPREFIX_LIBDIR}; tar xf -)
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -113,10 +113,10 @@ PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
|
|||
|
||||
pre-install:
|
||||
.for platform in ${PLATFORMS}
|
||||
${MKDIR} ${PYTHON_LIBDIR}/${platform}
|
||||
${MKDIR} ${PYTHONPREFIX_LIBDIR}/${platform}
|
||||
.for file in FCNTL.py IN.py SOCKET.py TERMIOS.py regen
|
||||
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/${file} \
|
||||
${PYTHON_LIBDIR}/${platform}
|
||||
${PYTHONPREFIX_LIBDIR}/${platform}
|
||||
.endfor
|
||||
.endfor
|
||||
@sort -r -o ${PLIST} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_DEMO} ${PKGDIR}/pkg-plist
|
||||
|
@ -125,10 +125,10 @@ post-install:
|
|||
@${MKDIR} ${MANPREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/Misc/python.man \
|
||||
${MANPREFIX}/man/man1/${PYTHON_VERSION}.1
|
||||
@${MKDIR} ${PYTHON_SITELIBDIR}
|
||||
@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
|
||||
.if !defined(WITHOUT_TOOLS)
|
||||
@cd ${WRKSRC}; tar -c --exclude='*CVS*' -f - Tools | \
|
||||
(cd ${PYTHON_LIBDIR}; tar xf -)
|
||||
(cd ${PYTHONPREFIX_LIBDIR}; tar xf -)
|
||||
.endif
|
||||
.if !defined(WITHOUT_DEMO)
|
||||
@${MKDIR} ${DEMODIR}
|
||||
|
|
|
@ -70,10 +70,10 @@ PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
|
|||
|
||||
pre-install:
|
||||
.for platform in ${PLATFORMS}
|
||||
${MKDIR} ${PYTHON_LIBDIR}/${platform}
|
||||
${MKDIR} ${PYTHONPREFIX_LIBDIR}/${platform}
|
||||
.for file in FCNTL.py IN.py regen
|
||||
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/${file} \
|
||||
${PYTHON_LIBDIR}/${platform}/
|
||||
${PYTHONPREFIX_LIBDIR}/${platform}/
|
||||
.endfor
|
||||
.endfor
|
||||
|
||||
|
@ -81,10 +81,10 @@ post-install:
|
|||
@${MKDIR} ${MANPREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/Misc/python.man \
|
||||
${MANPREFIX}/man/man1/${PYTHON_VERSION}.1
|
||||
@${MKDIR} ${PYTHON_SITELIBDIR}
|
||||
@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@cd ${WRKSRC}; tar -c --exclude='*CVS*' -f - Tools | \
|
||||
(cd ${PYTHON_LIBDIR}; tar xf -)
|
||||
(cd ${PYTHONPREFIX_LIBDIR}; tar xf -)
|
||||
@${MKDIR} ${DEMODIR}
|
||||
@cd ${WRKSRC}/Demo; tar -c --exclude='*CVS*' -f - * | \
|
||||
(cd ${DEMODIR}; tar xf -)
|
||||
|
|
|
@ -76,20 +76,20 @@ PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
|
|||
|
||||
pre-install:
|
||||
.for platform in ${PLATFORMS}
|
||||
${MKDIR} ${PYTHON_LIBDIR}/${platform}
|
||||
${MKDIR} ${PYTHONPREFIX_LIBDIR}/${platform}
|
||||
.for file in IN.py regen
|
||||
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/${file} \
|
||||
${PYTHON_LIBDIR}/${platform}/
|
||||
${PYTHONPREFIX_LIBDIR}/${platform}/
|
||||
.endfor
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/emacs/site-lisp
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el ${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHON_SITELIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el \
|
||||
${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@cd ${WRKSRC}; tar -c --exclude='*CVS*' -f - Tools | \
|
||||
(cd ${PYTHON_LIBDIR}; tar xf -)
|
||||
(cd ${PYTHONPREFIX_LIBDIR}; tar xf -)
|
||||
@${MKDIR} ${DEMODIR}
|
||||
@cd ${WRKSRC}/Demo; tar -c --exclude='*CVS*' -f - * | \
|
||||
(cd ${DEMODIR}; tar xf -)
|
||||
|
|
|
@ -76,20 +76,20 @@ PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
|
|||
|
||||
pre-install:
|
||||
.for platform in ${PLATFORMS}
|
||||
${MKDIR} ${PYTHON_LIBDIR}/${platform}
|
||||
${MKDIR} ${PYTHONPREFIX_LIBDIR}/${platform}
|
||||
.for file in IN.py regen
|
||||
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/${file} \
|
||||
${PYTHON_LIBDIR}/${platform}/
|
||||
${PYTHONPREFIX_LIBDIR}/${platform}/
|
||||
.endfor
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/emacs/site-lisp
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el ${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHON_SITELIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el \
|
||||
${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@cd ${WRKSRC}; tar -c --exclude='*CVS*' -f - Tools | \
|
||||
(cd ${PYTHON_LIBDIR}; tar xf -)
|
||||
(cd ${PYTHONPREFIX_LIBDIR}; tar xf -)
|
||||
@${MKDIR} ${DEMODIR}
|
||||
@cd ${WRKSRC}/Demo; tar -c --exclude='*CVS*' -f - * | \
|
||||
(cd ${DEMODIR}; tar xf -)
|
||||
|
|
|
@ -76,20 +76,20 @@ PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
|
|||
|
||||
pre-install:
|
||||
.for platform in ${PLATFORMS}
|
||||
${MKDIR} ${PYTHON_LIBDIR}/${platform}
|
||||
${MKDIR} ${PYTHONPREFIX_LIBDIR}/${platform}
|
||||
.for file in IN.py regen
|
||||
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/${file} \
|
||||
${PYTHON_LIBDIR}/${platform}/
|
||||
${PYTHONPREFIX_LIBDIR}/${platform}/
|
||||
.endfor
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/emacs/site-lisp
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el ${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHON_SITELIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el \
|
||||
${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@cd ${WRKSRC}; tar -c --exclude='*CVS*' -f - Tools | \
|
||||
(cd ${PYTHON_LIBDIR}; tar xf -)
|
||||
(cd ${PYTHONPREFIX_LIBDIR}; tar xf -)
|
||||
@${MKDIR} ${DEMODIR}
|
||||
@cd ${WRKSRC}/Demo; tar -c --exclude='*CVS*' -f - * | \
|
||||
(cd ${DEMODIR}; tar xf -)
|
||||
|
|
|
@ -76,20 +76,20 @@ PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
|
|||
|
||||
pre-install:
|
||||
.for platform in ${PLATFORMS}
|
||||
${MKDIR} ${PYTHON_LIBDIR}/${platform}
|
||||
${MKDIR} ${PYTHONPREFIX_LIBDIR}/${platform}
|
||||
.for file in IN.py regen
|
||||
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/${file} \
|
||||
${PYTHON_LIBDIR}/${platform}/
|
||||
${PYTHONPREFIX_LIBDIR}/${platform}/
|
||||
.endfor
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/emacs/site-lisp
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el ${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHON_SITELIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el \
|
||||
${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@cd ${WRKSRC}; tar -c --exclude='*CVS*' -f - Tools | \
|
||||
(cd ${PYTHON_LIBDIR}; tar xf -)
|
||||
(cd ${PYTHONPREFIX_LIBDIR}; tar xf -)
|
||||
@${MKDIR} ${DEMODIR}
|
||||
@cd ${WRKSRC}/Demo; tar -c --exclude='*CVS*' -f - * | \
|
||||
(cd ${DEMODIR}; tar xf -)
|
||||
|
|
|
@ -76,20 +76,20 @@ PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
|
|||
|
||||
pre-install:
|
||||
.for platform in ${PLATFORMS}
|
||||
${MKDIR} ${PYTHON_LIBDIR}/${platform}
|
||||
${MKDIR} ${PYTHONPREFIX_LIBDIR}/${platform}
|
||||
.for file in IN.py regen
|
||||
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/${file} \
|
||||
${PYTHON_LIBDIR}/${platform}/
|
||||
${PYTHONPREFIX_LIBDIR}/${platform}/
|
||||
.endfor
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/emacs/site-lisp
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el ${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHON_SITELIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el \
|
||||
${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@cd ${WRKSRC}; tar -c --exclude='*CVS*' -f - Tools | \
|
||||
(cd ${PYTHON_LIBDIR}; tar xf -)
|
||||
(cd ${PYTHONPREFIX_LIBDIR}; tar xf -)
|
||||
@${MKDIR} ${DEMODIR}
|
||||
@cd ${WRKSRC}/Demo; tar -c --exclude='*CVS*' -f - * | \
|
||||
(cd ${DEMODIR}; tar xf -)
|
||||
|
|
|
@ -76,20 +76,20 @@ PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
|
|||
|
||||
pre-install:
|
||||
.for platform in ${PLATFORMS}
|
||||
${MKDIR} ${PYTHON_LIBDIR}/${platform}
|
||||
${MKDIR} ${PYTHONPREFIX_LIBDIR}/${platform}
|
||||
.for file in IN.py regen
|
||||
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/${file} \
|
||||
${PYTHON_LIBDIR}/${platform}/
|
||||
${PYTHONPREFIX_LIBDIR}/${platform}/
|
||||
.endfor
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/emacs/site-lisp
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el ${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHON_SITELIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el \
|
||||
${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@cd ${WRKSRC}; tar -c --exclude='*CVS*' -f - Tools | \
|
||||
(cd ${PYTHON_LIBDIR}; tar xf -)
|
||||
(cd ${PYTHONPREFIX_LIBDIR}; tar xf -)
|
||||
@${MKDIR} ${DEMODIR}
|
||||
@cd ${WRKSRC}/Demo; tar -c --exclude='*CVS*' -f - * | \
|
||||
(cd ${DEMODIR}; tar xf -)
|
||||
|
|
|
@ -76,20 +76,20 @@ PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
|
|||
|
||||
pre-install:
|
||||
.for platform in ${PLATFORMS}
|
||||
${MKDIR} ${PYTHON_LIBDIR}/${platform}
|
||||
${MKDIR} ${PYTHONPREFIX_LIBDIR}/${platform}
|
||||
.for file in IN.py regen
|
||||
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/${file} \
|
||||
${PYTHON_LIBDIR}/${platform}/
|
||||
${PYTHONPREFIX_LIBDIR}/${platform}/
|
||||
.endfor
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/emacs/site-lisp
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el ${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHON_SITELIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el \
|
||||
${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@cd ${WRKSRC}; tar -c --exclude='*CVS*' -f - Tools | \
|
||||
(cd ${PYTHON_LIBDIR}; tar xf -)
|
||||
(cd ${PYTHONPREFIX_LIBDIR}; tar xf -)
|
||||
@${MKDIR} ${DEMODIR}
|
||||
@cd ${WRKSRC}/Demo; tar -c --exclude='*CVS*' -f - * | \
|
||||
(cd ${DEMODIR}; tar xf -)
|
||||
|
|
|
@ -76,20 +76,20 @@ PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
|
|||
|
||||
pre-install:
|
||||
.for platform in ${PLATFORMS}
|
||||
${MKDIR} ${PYTHON_LIBDIR}/${platform}
|
||||
${MKDIR} ${PYTHONPREFIX_LIBDIR}/${platform}
|
||||
.for file in IN.py regen
|
||||
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/${file} \
|
||||
${PYTHON_LIBDIR}/${platform}/
|
||||
${PYTHONPREFIX_LIBDIR}/${platform}/
|
||||
.endfor
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/emacs/site-lisp
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el ${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHON_SITELIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el \
|
||||
${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@cd ${WRKSRC}; tar -c --exclude='*CVS*' -f - Tools | \
|
||||
(cd ${PYTHON_LIBDIR}; tar xf -)
|
||||
(cd ${PYTHONPREFIX_LIBDIR}; tar xf -)
|
||||
@${MKDIR} ${DEMODIR}
|
||||
@cd ${WRKSRC}/Demo; tar -c --exclude='*CVS*' -f - * | \
|
||||
(cd ${DEMODIR}; tar xf -)
|
||||
|
|
|
@ -76,20 +76,20 @@ PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
|
|||
|
||||
pre-install:
|
||||
.for platform in ${PLATFORMS}
|
||||
${MKDIR} ${PYTHON_LIBDIR}/${platform}
|
||||
${MKDIR} ${PYTHONPREFIX_LIBDIR}/${platform}
|
||||
.for file in IN.py regen
|
||||
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/${file} \
|
||||
${PYTHON_LIBDIR}/${platform}/
|
||||
${PYTHONPREFIX_LIBDIR}/${platform}/
|
||||
.endfor
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/emacs/site-lisp
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el ${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHON_SITELIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el \
|
||||
${PREFIX}/share/emacs/site-lisp
|
||||
@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@cd ${WRKSRC}; tar -c --exclude='*CVS*' -f - Tools | \
|
||||
(cd ${PYTHON_LIBDIR}; tar xf -)
|
||||
(cd ${PYTHONPREFIX_LIBDIR}; tar xf -)
|
||||
@${MKDIR} ${DEMODIR}
|
||||
@cd ${WRKSRC}/Demo; tar -c --exclude='*CVS*' -f - * | \
|
||||
(cd ${DEMODIR}; tar xf -)
|
||||
|
|
Loading…
Reference in a new issue