summaryrefslogtreecommitdiff
path: root/lang/python21
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2002-06-14 11:19:13 +0000
committerThomas Gellekum <tg@FreeBSD.org>2002-06-14 11:19:13 +0000
commit5abd985434ac5104101d0093a397a24d2c18bbea (patch)
tree6aca353951a4c0cefd309dc406fcd37015f2b262 /lang/python21
parent- Support development versions of Python. (diff)
Use new PYTHONPREFIX_*DIR variables to make these ports PREFIX-clean.
Notes
Notes: svn path=/head/; revision=61261
Diffstat (limited to 'lang/python21')
-rw-r--r--lang/python21/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/python21/Makefile b/lang/python21/Makefile
index 62925a785895..65a9181195c7 100644
--- a/lang/python21/Makefile
+++ b/lang/python21/Makefile
@@ -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 -)