diff options
Diffstat (limited to 'databases/py-mssql')
-rw-r--r-- | databases/py-mssql/Makefile | 30 | ||||
-rw-r--r-- | databases/py-mssql/distinfo | 2 | ||||
-rw-r--r-- | databases/py-mssql/pkg-descr | 4 | ||||
-rw-r--r-- | databases/py-mssql/pkg-plist | 4 |
4 files changed, 40 insertions, 0 deletions
diff --git a/databases/py-mssql/Makefile b/databases/py-mssql/Makefile new file mode 100644 index 00000000000..c03489b8e59 --- /dev/null +++ b/databases/py-mssql/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: py-mssql +# Date created: 5 March 2004 +# Whom: Hye-Shik Chang <perky@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= mssql +PORTVERSION= 0.5.1 +CATEGORIES= databases python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= pymssql +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pymssql-${PORTVERSION} + +MAINTAINER= perky@FreeBSD.org +COMMENT= Python database interface for simple MS-SQL access + +LIB_DEPENDS= sybdb.4:${PORTSDIR}/databases/freetds-msdblib + +USE_PYTHON= yes +USE_PYDISTUTILS=yes +USE_REINPLACE= yes + +post-patch: + ${REINPLACE_CMD} -e 's,#include.*malloc\.h.*,,g' \ + -e 's,/usr/local,${LOCALBASE},g' \ + ${WRKSRC}/mssqldbmodule.c + +.include <bsd.port.mk> diff --git a/databases/py-mssql/distinfo b/databases/py-mssql/distinfo new file mode 100644 index 00000000000..7dedacf24fe --- /dev/null +++ b/databases/py-mssql/distinfo @@ -0,0 +1,2 @@ +MD5 (pymssql-0.5.1.tar.gz) = d700a3b26a49f7168a9e2b01a7817efd +SIZE (pymssql-0.5.1.tar.gz) = 8110 diff --git a/databases/py-mssql/pkg-descr b/databases/py-mssql/pkg-descr new file mode 100644 index 00000000000..06e12884d15 --- /dev/null +++ b/databases/py-mssql/pkg-descr @@ -0,0 +1,4 @@ +PyMSSQL is a MS-SQL database adapter for the Python programming +language. It was written from scratch using FreeTDS library. + +WWW: http://pymssql.sourceforge.net/ diff --git a/databases/py-mssql/pkg-plist b/databases/py-mssql/pkg-plist new file mode 100644 index 00000000000..74f10ec2518 --- /dev/null +++ b/databases/py-mssql/pkg-plist @@ -0,0 +1,4 @@ +%%PYTHON_SITELIBDIR%%/_mssql.so +%%PYTHON_SITELIBDIR%%/pymssql.py +%%PYTHON_SITELIBDIR%%/pymssql.pyc +%%PYTHON_SITELIBDIR%%/pymssql.pyo |