diff options
author | tg <tg@FreeBSD.org> | 2002-04-17 11:35:55 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2002-04-17 11:35:55 +0000 |
commit | 8c8f34a9c5cfb1c3b6330039acef94e75a273eed (patch) | |
tree | 726b913b16d4e465656f6d44fd9363a805a29330 | |
parent | b350dc41dd6cf4c7a04abc1d7c105da9e88f0d4a (diff) | |
download | FreeBSD-ports-8c8f34a9c5cfb1c3b6330039acef94e75a273eed.zip FreeBSD-ports-8c8f34a9c5cfb1c3b6330039acef94e75a273eed.tar.gz |
Use USE_PYDISTUTILS.
-rw-r--r-- | databases/py-gdbm/Makefile | 8 | ||||
-rw-r--r-- | lang/py-mx-base/Makefile | 10 | ||||
-rw-r--r-- | math/py-mpz/Makefile | 8 | ||||
-rw-r--r-- | math/py-numeric/Makefile | 9 | ||||
-rw-r--r-- | math/py-numeric17/Makefile | 11 | ||||
-rw-r--r-- | math/py-scientific/Makefile | 10 | ||||
-rw-r--r-- | textproc/py-expat/Makefile | 8 | ||||
-rw-r--r-- | x11-toolkits/py-tkinter/Makefile | 8 |
8 files changed, 12 insertions, 60 deletions
diff --git a/databases/py-gdbm/Makefile b/databases/py-gdbm/Makefile index f63dd80..091b2b0 100644 --- a/databases/py-gdbm/Makefile +++ b/databases/py-gdbm/Makefile @@ -15,20 +15,14 @@ DISTFILES= ${PYTHON_DISTFILE} MAINTAINER= tg@FreeBSD.org -BUILD_DEPENDS= ${PYDISTUTILS} LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm DIST_SUBDIR= python USE_PYTHON= yes +USE_PYDISTUTILS=yes WRKSRC= ${PYTHON_WRKSRC}/Modules post-extract: @${CP} ${FILESDIR}/setup.py ${WRKSRC} -do-build: - @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build) - -do-install: - @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install) - .include <bsd.port.mk> diff --git a/lang/py-mx-base/Makefile b/lang/py-mx-base/Makefile index eac92c5..92fe5ed 100644 --- a/lang/py-mx-base/Makefile +++ b/lang/py-mx-base/Makefile @@ -16,20 +16,12 @@ DISTNAME= egenix-${PORTNAME}-${PORTVERSION} MAINTAINER= tg@FreeBSD.org -BUILD_DEPENDS= ${PYDISTUTILS} - USE_PYTHON= yes +USE_PYDISTUTILS=yes DOCDIR= ${PREFIX}/share/doc/py-mx MXHDRDIR= ${PREFIX}/lib/${PYTHON_VERSION}/site-packages/mx/stdlib -do-build: - @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build) - -do-install: - @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install \ - --prefix=${PREFIX}) - post-install: @${MKDIR} ${DOCDIR} @${SED} -e "s;%%PYTHON_SITELIBDIR%%;${PYTHON_SITELIBDIR};g" \ diff --git a/math/py-mpz/Makefile b/math/py-mpz/Makefile index d19ef98..1b76aaa 100644 --- a/math/py-mpz/Makefile +++ b/math/py-mpz/Makefile @@ -15,20 +15,14 @@ DISTFILES= ${PYTHON_DISTFILE} MAINTAINER= tg@FreeBSD.org -BUILD_DEPENDS= ${PYDISTUTILS} LIB_DEPENDS= gmp.3:${PORTSDIR}/math/libgmp DIST_SUBDIR= python USE_PYTHON= yes +USE_PYDISTUTILS=yes WRKSRC= ${PYTHON_WRKSRC}/Modules post-extract: @${CP} ${FILESDIR}/setup.py ${WRKSRC} -do-build: - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build - -do-install: - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install - .include <bsd.port.mk> diff --git a/math/py-numeric/Makefile b/math/py-numeric/Makefile index 5a04592..eb6f77bf 100644 --- a/math/py-numeric/Makefile +++ b/math/py-numeric/Makefile @@ -18,6 +18,8 @@ MAINTAINER= tg@FreeBSD.org BUILD_DEPENDS= ${PYDISTUTILS} USE_PYTHON= yes +USE_PYDISTUTILS=yes +PYSETUP= setup_all.py DOCDIR= ${PREFIX}/share/doc/py-numeric EXAMPLEDIR= ${PREFIX}/share/examples/py-numeric @@ -31,13 +33,6 @@ pre-fetch: @${FALSE} .endif -do-build: - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup_all.py build - -do-install: - @cd ${WRKSRC} && \ - ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup_all.py install - post-install: @${MKDIR} ${EXAMPLEDIR} ${INSTALL_DATA} ${WRKSRC}/Demo/*.py ${EXAMPLEDIR} diff --git a/math/py-numeric17/Makefile b/math/py-numeric17/Makefile index bb56652..f0ae024 100644 --- a/math/py-numeric17/Makefile +++ b/math/py-numeric17/Makefile @@ -15,9 +15,9 @@ DISTNAME= Numeric-${PORTVERSION} MAINTAINER= tg@FreeBSD.org -BUILD_DEPENDS= ${PYDISTUTILS} - USE_PYTHON= yes +USE_PYDISTUTILS=yes +PYSETUP= setup_all.py NO_LATEST_LINK= yes DOCDIR= ${PREFIX}/share/doc/py-numeric @@ -29,12 +29,7 @@ post-extract: ${LN} -sf ../../../Include Include/Numeric) .endfor -do-build: - @(cd ${WRKSRC}; ${PYTHON_CMD} setup_all.py build) - -do-install: - @(cd ${WRKSRC}; ${PYTHON_CMD} setup_all.py install) - +post-install: @${MKDIR} ${EXAMPLEDIR} ${INSTALL_DATA} ${WRKSRC}/Demo/*.py ${EXAMPLEDIR} @${MKDIR} ${EXAMPLEDIR}/NumTut diff --git a/math/py-scientific/Makefile b/math/py-scientific/Makefile index 8e8e417..08b5ecb 100644 --- a/math/py-scientific/Makefile +++ b/math/py-scientific/Makefile @@ -15,24 +15,18 @@ DISTNAME= ScientificPython-${PORTVERSION} MAINTAINER= tg@FreeBSD.org -BUILD_DEPENDS= ${NUMPYDIR}/Numeric.py:${PORTSDIR}/math/py-numeric \ - ${PYDISTUTILS} +BUILD_DEPENDS= ${NUMPYDIR}/Numeric.py:${PORTSDIR}/math/py-numeric LIB_DEPENDS= netcdf.1:${PORTSDIR}/math/netcdf RUN_DEPENDS= ${NUMPYDIR}/Numeric.py:${PORTSDIR}/math/py-numeric USE_PYTHON= yes +USE_PYDISTUTILS=yes NUMPYDIR= ${PYTHON_SITELIBDIR}/Numeric SCIENTIFICDIR= ${PYTHON_SITELIBDIR}/Scientific DOCDIR= ${PREFIX}/share/doc/py-scientific EXAMPLEDIR= ${PREFIX}/share/examples/py-scientific -do-build: - @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build) - -do-install: - @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install) - post-install: @${MKDIR} ${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DOCDIR} diff --git a/textproc/py-expat/Makefile b/textproc/py-expat/Makefile index 1970513..75304c9 100644 --- a/textproc/py-expat/Makefile +++ b/textproc/py-expat/Makefile @@ -15,20 +15,14 @@ DISTFILES= ${PYTHON_DISTFILE} MAINTAINER= ports@FreeBSD.org -BUILD_DEPENDS= ${PYDISTUTILS} LIB_DEPENDS= expat.2:${PORTSDIR}/textproc/expat2 DIST_SUBDIR= python USE_PYTHON= yes +USE_PYDISTUTILS=yes WRKSRC= ${PYTHON_WRKSRC}/Modules post-extract: @${CP} ${FILESDIR}/setup.py ${WRKSRC} -do-build: - @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build) - -do-install: - @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install) - .include <bsd.port.mk> diff --git a/x11-toolkits/py-tkinter/Makefile b/x11-toolkits/py-tkinter/Makefile index 2193174..70b416a 100644 --- a/x11-toolkits/py-tkinter/Makefile +++ b/x11-toolkits/py-tkinter/Makefile @@ -15,20 +15,14 @@ DISTFILES= ${PYTHON_DISTFILE} MAINTAINER= tg@FreeBSD.org -BUILD_DEPENDS= ${PYDISTUTILS} LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83 DIST_SUBDIR= python USE_PYTHON= yes +USE_PYDISTUTILS=yes WRKSRC= ${PYTHON_WRKSRC}/Modules post-extract: @${CP} ${FILESDIR}/setup.py ${WRKSRC} -do-build: - @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build) - -do-install: - @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install) - .include <bsd.port.mk> |