# $Id: Portfile,v 1.4 2006/03/03 08:47:22 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-mssql
version			0.7.4
categories		python databases
platforms		darwin
maintainers		mww@opendarwin.org
description		A simple database interface to MS-SQL for Python.
long_description	${description}

homepage		http://pymssql.sourceforge.net/
master_sites	sourceforge:pymssql
distname		pymssql-${version}
checksums		sha1 da0aae5bf762173d9a80fc063610ece3db9f6d12
patchfiles		patch-setup.py

depends_lib-append	port:freetds

post-patch {
	reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py
}
