summaryrefslogtreecommitdiffstats
path: root/databases/py-MySQLdb-devel
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-29 13:33:57 +0000
committerijliao <ijliao@FreeBSD.org>2002-04-29 13:33:57 +0000
commitcfb360c591e20d1aa1a8ae40e655225788773035 (patch)
treeeb27fcc2a97f03945db71330563d21a0fc0b9d5c /databases/py-MySQLdb-devel
parent97757211b4f2b09cc721b6fd0a41812bec75c8aa (diff)
downloadFreeBSD-ports-cfb360c591e20d1aa1a8ae40e655225788773035.zip
FreeBSD-ports-cfb360c591e20d1aa1a8ae40e655225788773035.tar.gz
use USE_PYDISTUTILS
Diffstat (limited to 'databases/py-MySQLdb-devel')
-rw-r--r--databases/py-MySQLdb-devel/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/databases/py-MySQLdb-devel/Makefile b/databases/py-MySQLdb-devel/Makefile
index 75a6326..1fc5cd0 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}
OpenPOWER on IntegriCloud