summaryrefslogtreecommitdiff
path: root/lang/python20/Makefile
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2001-05-02 12:00:13 +0000
committerThomas Gellekum <tg@FreeBSD.org>2001-05-02 12:00:13 +0000
commit3aedbba63d8b71fe9be19f69de94c8f11188ceb2 (patch)
tree1f4450af5f2cf82a9eea3d466ac88813f39a3c2a /lang/python20/Makefile
parentcb66a2b55621eedc80394d0319b4613fb9690db9 (diff)
Notes
Diffstat (limited to 'lang/python20/Makefile')
-rw-r--r--lang/python20/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/python20/Makefile b/lang/python20/Makefile
index a36cd7972efd..a3ea9d68f186 100644
--- a/lang/python20/Makefile
+++ b/lang/python20/Makefile
@@ -75,7 +75,7 @@ PLIST_TOOLS= ${PKGDIR}/pkg-plist.Tools
#
.if !defined(WITHOUT_DEMO)
PLIST_DEMO= ${PKGDIR}/pkg-plist.Demo
-DEMODIR= ${PREFIX}/share/examples/python
+DEMODIR= ${PREFIX}/share/examples/${PYTHON_VERSION}
.endif
post-configure:
@@ -111,10 +111,10 @@ PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
pre-install:
.for platform in ${PLATFORMS}
- ${MKDIR} ${PREFIX}/lib/${PYTHON_VERSION}/${platform}
+ ${MKDIR} ${PYTHON_LIBDIR}/${platform}
.for file in FCNTL.py IN.py SOCKET.py TERMIOS.py regen
- ${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/${file} \
- ${PREFIX}/lib/${PYTHON_VERSION}/${platform}/
+ ${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/${file}
+ ${PYTHON_LIBDIR}/${platform}
.endfor
.endfor
@sort -r -o ${PLIST} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_DEMO} ${PKGDIR}/pkg-plist