diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-04-29 21:33:57 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-04-29 21:33:57 +0800 |
commit | cfb360c591e20d1aa1a8ae40e655225788773035 (patch) | |
tree | eb27fcc2a97f03945db71330563d21a0fc0b9d5c /databases | |
parent | 97757211b4f2b09cc721b6fd0a41812bec75c8aa (diff) | |
download | freebsd-ports-gnome-cfb360c591e20d1aa1a8ae40e655225788773035.tar.gz freebsd-ports-gnome-cfb360c591e20d1aa1a8ae40e655225788773035.tar.zst freebsd-ports-gnome-cfb360c591e20d1aa1a8ae40e655225788773035.zip |
use USE_PYDISTUTILS
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-MySQLdb-devel/Makefile | 9 | ||||
-rw-r--r-- | databases/py-MySQLdb/Makefile | 9 | ||||
-rw-r--r-- | databases/py-bsddb3/Makefile | 10 | ||||
-rw-r--r-- | databases/py-cdb/Makefile | 8 | ||||
-rw-r--r-- | databases/py-pyPgSQL/Makefile | 8 | ||||
-rw-r--r-- | databases/zodb/Makefile | 9 |
6 files changed, 10 insertions, 43 deletions
diff --git a/databases/py-MySQLdb-devel/Makefile b/databases/py-MySQLdb-devel/Makefile index 75a63266f411..1fc5cd04a464 100644 --- a/databases/py-MySQLdb-devel/Makefile +++ b/databases/py-MySQLdb-devel/Makefile @@ -14,23 +14,18 @@ DISTNAME= MySQL-python-${PORTVERSION} MAINTAINER= sobomax@FreeBSD.org -BUILD_DEPENDS= ${PYDISTUTILS} LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client USE_PYTHON= yes -SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py +USE_PYDISTUTILS= yes DOCS= MANIFEST README doc/*.html do-configure: @${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py -do-build: - ${SETUP_CMD} build - -do-install: - ${SETUP_CMD} install -c -O1 --prefix=${PREFIX} .if !defined(NOPORTDOCS) +post-install: @${MKDIR} ${DOCSDIR} .for file in ${DOCS} @${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR} diff --git a/databases/py-MySQLdb/Makefile b/databases/py-MySQLdb/Makefile index 75a63266f411..1fc5cd04a464 100644 --- a/databases/py-MySQLdb/Makefile +++ b/databases/py-MySQLdb/Makefile @@ -14,23 +14,18 @@ DISTNAME= MySQL-python-${PORTVERSION} MAINTAINER= sobomax@FreeBSD.org -BUILD_DEPENDS= ${PYDISTUTILS} LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client USE_PYTHON= yes -SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py +USE_PYDISTUTILS= yes DOCS= MANIFEST README doc/*.html do-configure: @${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py -do-build: - ${SETUP_CMD} build - -do-install: - ${SETUP_CMD} install -c -O1 --prefix=${PREFIX} .if !defined(NOPORTDOCS) +post-install: @${MKDIR} ${DOCSDIR} .for file in ${DOCS} @${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR} diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile index 84bc9ab19d51..33785f46b617 100644 --- a/databases/py-bsddb3/Makefile +++ b/databases/py-bsddb3/Makefile @@ -17,15 +17,9 @@ MAINTAINER= perky@fallin.lv LIB_DEPENDS= db3.2:${PORTSDIR}/databases/db3 USE_PYTHON= yes -SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py +USE_PYDISTUTILS= yes +PYDISTUTILS_BUILDARGS= --libs="-ldb3" --berkeley-db=${LOCALBASE} PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||} -do-build: - ${SETUP_CMD} build_ext --libs="-ldb3" --berkeley-db=${LOCALBASE} \ - --inplace - -do-install: - ${SETUP_CMD} install -c -O1 --prefix=${PREFIX} - .include <bsd.port.mk> diff --git a/databases/py-cdb/Makefile b/databases/py-cdb/Makefile index 32bed7a44907..031528effa37 100644 --- a/databases/py-cdb/Makefile +++ b/databases/py-cdb/Makefile @@ -14,13 +14,7 @@ DISTNAME= python-${PORTNAME}-${PORTVERSION} MAINTAINER= jason@mastaler.com -BUILD_DEPENDS= ${PYDISTUTILS} USE_PYTHON= yes - -do-build: - (cd ${WRKSRC}; ${PYTHON_CMD} setup.py build) - -do-install: - (cd ${WRKSRC}; ${PYTHON_CMD} setup.py install) +USE_PYDISTUTILS= yes .include <bsd.port.mk> diff --git a/databases/py-pyPgSQL/Makefile b/databases/py-pyPgSQL/Makefile index 0e1f4b779887..4a9fe92715a2 100644 --- a/databases/py-pyPgSQL/Makefile +++ b/databases/py-pyPgSQL/Makefile @@ -21,7 +21,7 @@ LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7 WRKSRC= ${WRKDIR}/pypgsql USE_PYTHON= yes -SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py +USE_PYDISTUTILS= yes DOCS= README @@ -37,12 +37,8 @@ post-patch: -e 's#^library_dirs = \[ "/usr/local/pgsql/lib" \]#library_dirs = [ "${LOCALBASE}/lib" ]#' \ ${WRKSRC}/setup.py -do-build: - ${SETUP_CMD} build_ext --inplace - -do-install: - ${SETUP_CMD} install -c -O1 .if !defined(NOPORTDOCS) +post-install: @${MKDIR} ${DOCSDIR} .for file in ${DOCS} @${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR} diff --git a/databases/zodb/Makefile b/databases/zodb/Makefile index 1bd926d944e9..4c71b6a53732 100644 --- a/databases/zodb/Makefile +++ b/databases/zodb/Makefile @@ -14,19 +14,12 @@ DISTNAME= StandaloneZODB-${PORTVERSION} MAINTAINER= wjv@FreeBSD.org -BUILD_DEPENDS= ${PYDISTUTILS} RUN_DEPENDS= ${PYTHON_SITELIBDIR}/bsddb3/__init__.py:${PORTSDIR}/databases/py-bsddb3 USE_PYTHON= yes -PYTHON_SETUP= ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py - -do-build: - @ cd ${WRKSRC} && ${PYTHON_SETUP} build +USE_PYDISTUTILS= yes pre-install: @ ${SH} ${PKGREQ} INSTALL -do-install: - @ cd ${WRKSRC} && ${PYTHON_SETUP} install -c -O1 --prefix=${PREFIX} - .include <bsd.port.mk> |