diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-03-30 06:48:08 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-03-30 06:48:08 +0800 |
commit | 367d9f12fecbe9b9ff8230482382fbb5c7c6ed37 (patch) | |
tree | 79b1d7488d531ce831877493398101f9d41bb9a9 /databases/py-MySQLdb-devel/Makefile | |
parent | ce1ce67438de85aa31576b3e55d315728348ebe6 (diff) | |
download | freebsd-ports-gnome-367d9f12fecbe9b9ff8230482382fbb5c7c6ed37.tar.gz freebsd-ports-gnome-367d9f12fecbe9b9ff8230482382fbb5c7c6ed37.tar.zst freebsd-ports-gnome-367d9f12fecbe9b9ff8230482382fbb5c7c6ed37.zip |
Update to 0.3.5.
Diffstat (limited to 'databases/py-MySQLdb-devel/Makefile')
-rw-r--r-- | databases/py-MySQLdb-devel/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
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 |