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/py-MySQLdb | |
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/py-MySQLdb')
-rw-r--r-- | databases/py-MySQLdb/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
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} |