From 367d9f12fecbe9b9ff8230482382fbb5c7c6ed37 Mon Sep 17 00:00:00 2001 From: sobomax Date: Thu, 29 Mar 2001 22:48:08 +0000 Subject: Update to 0.3.5. --- databases/py-MySQLdb-devel/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'databases/py-MySQLdb-devel/Makefile') diff --git a/databases/py-MySQLdb-devel/Makefile b/databases/py-MySQLdb-devel/Makefile index 73f33682f747..132ff9422318 100644 --- a/databases/py-MySQLdb-devel/Makefile +++ b/databases/py-MySQLdb-devel/Makefile @@ -6,9 +6,10 @@ # PORTNAME= py-MySQLdb -PORTVERSION= 0.3.3 +PORTVERSION= 0.3.5 CATEGORIES= databases python -MASTER_SITES= http://dustman.net/andy/python/MySQLdb/${PORTVERSION}/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= mysql-python DISTNAME= MySQL-python-${PORTVERSION} MAINTAINER= sobomax@FreeBSD.org @@ -19,6 +20,9 @@ LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client USE_PYTHON= yes SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py +DOCS= README.MySQLmodule MANIFEST README + + do-configure: @${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py @@ -29,7 +33,9 @@ do-install: ${SETUP_CMD} install .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/py-MySQLdb/examples - @${INSTALL_MAN} ${WRKSRC}/doc/* ${PREFIX}/share/doc/py-MySQLdb +.for file in ${DOCS} + @${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/share/doc/py-MySQLdb +.endfor @${INSTALL_MAN} \ ${WRKSRC}/examples/* ${PREFIX}/share/doc/py-MySQLdb/examples .endif -- cgit