diff options
author | tg <tg@FreeBSD.org> | 2001-05-03 19:34:13 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2001-05-03 19:34:13 +0800 |
commit | fd02fbef9f7192a415446264309a5d7d88237b0d (patch) | |
tree | 7ec67d401ba72d090523f906a3b5edfdc198b33d | |
parent | 4c25551259b95cf8bb0178db5b374fb807cd732d (diff) | |
download | freebsd-ports-gnome-fd02fbef9f7192a415446264309a5d7d88237b0d.tar.gz freebsd-ports-gnome-fd02fbef9f7192a415446264309a5d7d88237b0d.tar.zst freebsd-ports-gnome-fd02fbef9f7192a415446264309a5d7d88237b0d.zip |
Minor cleanup.
-rw-r--r-- | lang/python15/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/lang/python15/Makefile b/lang/python15/Makefile index cfc83c25e70f..e635546b303d 100644 --- a/lang/python15/Makefile +++ b/lang/python15/Makefile @@ -11,8 +11,7 @@ PORTREVISION= 1 CATEGORIES= lang python MASTER_SITES= ftp://www.python.org/pub/python/src/ \ ftp://ftp.cwi.nl/pub/python/src/ -DISTNAME= py152 -EXTRACT_SUFX= .tgz +DISTFILES= ${PYTHON_DISTFILE} MAINTAINER= tg@FreeBSD.org @@ -90,22 +89,21 @@ PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5 pre-install: .for platform in ${PLATFORMS} - ${MKDIR} ${PREFIX}/lib/python1.5/${platform} + ${MKDIR} ${PYTHON_LIBDIR}/${platform} ${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \ - ${PREFIX}/lib/python1.5/${platform}/ + ${PYTHON_LIBDIR}/${platform} .endfor @sort -r -o ${PLIST} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/pkg-plist post-install: strip ${PREFIX}/bin/python - @${MKDIR} ${PREFIX}/share/doc/python + @${MKDIR} ${PREFIX}/share/doc/${PYTHON_VERSION} @${MKDIR} ${PREFIX}/share/emacs/site-lisp ${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el ${PREFIX}/share/emacs/site-lisp - ${INSTALL_DATA} ${WRKSRC}/Misc/COPYRIGHT ${PREFIX}/share/doc/python - @${MKDIR} ${PREFIX}/lib/python1.5/site-packages + ${INSTALL_DATA} ${WRKSRC}/Misc/COPYRIGHT ${PREFIX}/share/doc/${PYTHON_VERSION} + @${MKDIR} ${PYTHON_SITELIBDIR} .if !defined(WITHOUT_TOOLS) - @cd ${WRKSRC}; tar cf - Tools | \ - (cd ${PREFIX}/lib/python1.5; tar xf -) + @cd ${WRKSRC}; tar cf - Tools | (cd ${PYTHON_LIBDIR}; tar xf -) .endif .include <bsd.port.post.mk> |