aboutsummaryrefslogtreecommitdiff
path: root/databases/py-MySQLdb
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 13:33:57 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 13:33:57 +0000
commit786a6554ae6280a77d5607caf5786da22e1564f9 (patch)
tree06ee0c94a5e4004f9a30044828a8255c8aa9e8f7 /databases/py-MySQLdb
parent27cba59f30f6883158d062cde6facfde8914ab45 (diff)
downloadports-786a6554ae6280a77d5607caf5786da22e1564f9.tar.gz
ports-786a6554ae6280a77d5607caf5786da22e1564f9.zip
Notes
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}