aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-MySQLdb
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-29 21:33:57 +0800
committerijliao <ijliao@FreeBSD.org>2002-04-29 21:33:57 +0800
commitcfb360c591e20d1aa1a8ae40e655225788773035 (patch)
treeeb27fcc2a97f03945db71330563d21a0fc0b9d5c /databases/py-MySQLdb
parent97757211b4f2b09cc721b6fd0a41812bec75c8aa (diff)
downloadfreebsd-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/Makefile9
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}