aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-10-06 20:52:56 +0800
committeredwin <edwin@FreeBSD.org>2003-10-06 20:52:56 +0800
commit1acb452fc03e8c87ebe682bc3ac5be93a6507af2 (patch)
tree42e9e5e89ef44cfc7c16776e17ab1301f00f3e15 /databases
parent26b8271e6c606c33c43a741ef2433a9c41dd26a9 (diff)
downloadfreebsd-ports-gnome-1acb452fc03e8c87ebe682bc3ac5be93a6507af2.tar.gz
freebsd-ports-gnome-1acb452fc03e8c87ebe682bc3ac5be93a6507af2.tar.zst
freebsd-ports-gnome-1acb452fc03e8c87ebe682bc3ac5be93a6507af2.zip
[patch] databases/py-MySQLdb: take maintainership and misc improvement.
* Use USE_MYSQL and BROKEN_WITH_MYSQL for 4.1.x since it doesn't work (thanks to Guy Middleton <guy@obstruction.com> for testing it with MySQL 4.0.x) * use %%DOCSDIR%% * take maintainership PR: ports/56579 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Diffstat (limited to 'databases')
-rw-r--r--databases/py-MySQLdb-devel/Makefile13
-rw-r--r--databases/py-MySQLdb-devel/pkg-plist24
-rw-r--r--databases/py-MySQLdb/Makefile13
-rw-r--r--databases/py-MySQLdb/pkg-plist24
4 files changed, 38 insertions, 36 deletions
diff --git a/databases/py-MySQLdb-devel/Makefile b/databases/py-MySQLdb-devel/Makefile
index f7b9683b7c3b..c7e3ad8baf0d 100644
--- a/databases/py-MySQLdb-devel/Makefile
+++ b/databases/py-MySQLdb-devel/Makefile
@@ -12,22 +12,23 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mysql-python
DISTNAME= MySQL-python-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sheepkiller@cultdeadsheep.org
COMMENT= Access a MySQL database through Python
-LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
-
-USE_PYTHON= yes
+USE_PYTHON= yes
USE_PYDISTUTILS= yes
+USE_MYSQL= yes
+BROKEN_WITH_MYSQL= 41
DOCS= MANIFEST README doc/*.html
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
-.for file in ${DOCS}
- @${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
+.for FILE in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
+
diff --git a/databases/py-MySQLdb-devel/pkg-plist b/databases/py-MySQLdb-devel/pkg-plist
index 7b7933cc13e6..a2b5fc7ceee0 100644
--- a/databases/py-MySQLdb-devel/pkg-plist
+++ b/databases/py-MySQLdb-devel/pkg-plist
@@ -44,17 +44,17 @@ lib/%%PYTHON_VERSION%%/site-packages/_mysql.so
lib/%%PYTHON_VERSION%%/site-packages/_mysql_exceptions.py
lib/%%PYTHON_VERSION%%/site-packages/_mysql_exceptions.pyc
lib/%%PYTHON_VERSION%%/site-packages/_mysql_exceptions.pyo
-%%PORTDOCS%%share/doc/py-MySQLdb/MANIFEST
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-1.html
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-2.html
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-3.html
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-4.html
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-FAQ-1.html
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-FAQ-2.html
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-FAQ-3.html
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-FAQ.html
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb.html
-%%PORTDOCS%%share/doc/py-MySQLdb/README
-%%PORTDOCS%%@dirrm share/doc/py-MySQLdb
+%%PORTDOCS%%%%DOCSDIR%%/MANIFEST
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb-1.html
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb-2.html
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb-3.html
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb-4.html
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb-FAQ-1.html
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb-FAQ-2.html
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb-FAQ-3.html
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb-FAQ.html
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb.html
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants
@dirrm lib/%%PYTHON_VERSION%%/site-packages/MySQLdb
diff --git a/databases/py-MySQLdb/Makefile b/databases/py-MySQLdb/Makefile
index f7b9683b7c3b..c7e3ad8baf0d 100644
--- a/databases/py-MySQLdb/Makefile
+++ b/databases/py-MySQLdb/Makefile
@@ -12,22 +12,23 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mysql-python
DISTNAME= MySQL-python-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sheepkiller@cultdeadsheep.org
COMMENT= Access a MySQL database through Python
-LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
-
-USE_PYTHON= yes
+USE_PYTHON= yes
USE_PYDISTUTILS= yes
+USE_MYSQL= yes
+BROKEN_WITH_MYSQL= 41
DOCS= MANIFEST README doc/*.html
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
-.for file in ${DOCS}
- @${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
+.for FILE in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
+
diff --git a/databases/py-MySQLdb/pkg-plist b/databases/py-MySQLdb/pkg-plist
index 7b7933cc13e6..a2b5fc7ceee0 100644
--- a/databases/py-MySQLdb/pkg-plist
+++ b/databases/py-MySQLdb/pkg-plist
@@ -44,17 +44,17 @@ lib/%%PYTHON_VERSION%%/site-packages/_mysql.so
lib/%%PYTHON_VERSION%%/site-packages/_mysql_exceptions.py
lib/%%PYTHON_VERSION%%/site-packages/_mysql_exceptions.pyc
lib/%%PYTHON_VERSION%%/site-packages/_mysql_exceptions.pyo
-%%PORTDOCS%%share/doc/py-MySQLdb/MANIFEST
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-1.html
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-2.html
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-3.html
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-4.html
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-FAQ-1.html
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-FAQ-2.html
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-FAQ-3.html
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb-FAQ.html
-%%PORTDOCS%%share/doc/py-MySQLdb/MySQLdb.html
-%%PORTDOCS%%share/doc/py-MySQLdb/README
-%%PORTDOCS%%@dirrm share/doc/py-MySQLdb
+%%PORTDOCS%%%%DOCSDIR%%/MANIFEST
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb-1.html
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb-2.html
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb-3.html
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb-4.html
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb-FAQ-1.html
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb-FAQ-2.html
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb-FAQ-3.html
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb-FAQ.html
+%%PORTDOCS%%%%DOCSDIR%%/MySQLdb.html
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/%%PYTHON_VERSION%%/site-packages/MySQLdb/constants
@dirrm lib/%%PYTHON_VERSION%%/site-packages/MySQLdb