freebsd-ports/databases/py-mssql/Makefile
Hye-Shik Chang e0427d1526 Add new port for py-mssql 0.5.1,
A simple database interface to MS-SQL for Python.
2004-03-05 12:36:16 +00:00

30 lines
704 B
Makefile

# 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>