aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-mssql
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2013-09-28 19:13:15 +0800
committermva <mva@FreeBSD.org>2013-09-28 19:13:15 +0800
commit1ec7a061324e09f0cfa19d0733c74dbd80dc9996 (patch)
tree69a496f998353664c19d5adcc39836d8d3443ce5 /databases/py-mssql
parent1f8dd8ef54ff8fa32b7771423a3ad4fb46dfa55a (diff)
downloadfreebsd-ports-gnome-1ec7a061324e09f0cfa19d0733c74dbd80dc9996.tar.gz
freebsd-ports-gnome-1ec7a061324e09f0cfa19d0733c74dbd80dc9996.tar.zst
freebsd-ports-gnome-1ec7a061324e09f0cfa19d0733c74dbd80dc9996.zip
- Convert to PYDISTUTILS_AUTOPLIST
- Enable stage support - Limit to the supported python versions - Change to new LIB_DEPENDS where necessary - Switch to new OPTIONS framework where necessary
Diffstat (limited to 'databases/py-mssql')
-rw-r--r--databases/py-mssql/Makefile8
-rw-r--r--databases/py-mssql/pkg-plist4
2 files changed, 4 insertions, 8 deletions
diff --git a/databases/py-mssql/Makefile b/databases/py-mssql/Makefile
index 63d3a4026153..8fd3b48ed7e0 100644
--- a/databases/py-mssql/Makefile
+++ b/databases/py-mssql/Makefile
@@ -11,11 +11,11 @@ DISTNAME= pymssql-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python database interface for simple MS-SQL access
-LIB_DEPENDS= sybdb.5:${PORTSDIR}/databases/freetds-msdblib
+LIB_DEPENDS= libsybdb.so:${PORTSDIR}/databases/freetds-msdblib
-USE_PYTHON= 2.5+
-USE_PYDISTUTILS=yes
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
PYDISTUTILS_PKGNAME= pymssql
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/databases/py-mssql/pkg-plist b/databases/py-mssql/pkg-plist
deleted file mode 100644
index 74f10ec2518e..000000000000
--- a/databases/py-mssql/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-%%PYTHON_SITELIBDIR%%/_mssql.so
-%%PYTHON_SITELIBDIR%%/pymssql.py
-%%PYTHON_SITELIBDIR%%/pymssql.pyc
-%%PYTHON_SITELIBDIR%%/pymssql.pyo