# $Id: Portfile 38778 2008-07-31 07:15:55Z ryandesign@macports.org $

PortSystem 1.0
PortGroup python25 1.0

name			py25-mssql
version			0.8.0
categories		python databases
platforms		darwin
maintainers		nomaintainer
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 e06618f2023ef2b7f6901479d7e3b6c56cecf323
patchfiles		patch-setup.py

depends_lib-append	port:freetds

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