From 786a6554ae6280a77d5607caf5786da22e1564f9 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Mon, 29 Apr 2002 13:33:57 +0000 Subject: use USE_PYDISTUTILS --- databases/py-MySQLdb-devel/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'databases/py-MySQLdb-devel') 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} -- cgit v1.2.3