aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-MySQLdb
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2014-10-19 16:50:17 +0800
committermva <mva@FreeBSD.org>2014-10-19 16:50:17 +0800
commitd4e0b55e3d2de55489b8645dd7d5c9ea53ca2058 (patch)
tree75814c6755c8e7b9ed02c4c7bd60001370cbdfbd /databases/py-MySQLdb
parentdc3d0650673d81132ee89d472a4c21d49328fa91 (diff)
downloadfreebsd-ports-gnome-d4e0b55e3d2de55489b8645dd7d5c9ea53ca2058.tar.gz
freebsd-ports-gnome-d4e0b55e3d2de55489b8645dd7d5c9ea53ca2058.tar.zst
freebsd-ports-gnome-d4e0b55e3d2de55489b8645dd7d5c9ea53ca2058.zip
- Convert ports from databases/ and deskutils/ to new USES=python
Approved by: portmgr (implicit)
Diffstat (limited to 'databases/py-MySQLdb')
-rw-r--r--databases/py-MySQLdb/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/databases/py-MySQLdb/Makefile b/databases/py-MySQLdb/Makefile
index 348c5099d31b..1f4d069f6514 100644
--- a/databases/py-MySQLdb/Makefile
+++ b/databases/py-MySQLdb/Makefile
@@ -12,15 +12,14 @@ DISTNAME= MySQL-python-${DISTVERSION}
MAINTAINER= python@FreeBSD.org
COMMENT= Access a MySQL database through Python
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
-USE_MYSQL= yes
+USES= python:2
+USE_PYTHON= distutils autoplist
+USE_MYSQL= yes
CONFLICTS= py*-MySQLdb-[0-9]* py*-MySQLdb5[0-9]-[0-9]*
PORTDOCS= *
-DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
+DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}/options
OPTIONS_DEFINE= DOCS MYSQLCLIENT_R