summaryrefslogtreecommitdiff
path: root/lang/python20/Makefile
diff options
context:
space:
mode:
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