From 3aedbba63d8b71fe9be19f69de94c8f11188ceb2 Mon Sep 17 00:00:00 2001 From: Thomas Gellekum Date: Wed, 2 May 2001 12:00:13 +0000 Subject: Put examples into versioned directory to avoid clashes. --- lang/python20/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lang/python20/Makefile') 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 -- cgit v1.3