Ticket #31496: Portfile

File Portfile, 1.0 KB (added by rizwank@…, 13 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem 1.0
5PortGroup       python 1.0
6
7name            py-mssql
8version         1.9.909
9categories      python databases
10platforms       darwin
11maintainers     gmail.com:ruseel geekymedia.com:rizwank
12description     A simple database interface to MS-SQL for Python.
13long_description    ${description}
14
15homepage        http://pymssql.sourceforge.net/
16master_sites    http://mirrors.geekymedia.com/
17distname        pymssql-${version}
18checksums       md5     6331e4c34d6089e96fcfbd2732ae7aad \
19                sha1    44248f091068f0bbb8b1525449f3c2ba4bdf108d \
20                rmd160  70d981402cc46ff92846f0ee1c1869a07a05ce88
21
22patchfiles      patch-setup.py
23depends_lib     port:py-cython
24depends_lib-append  port:freetds
25
26python.versions     24 25 26 27
27python.default_version 27
28python.link_binaries no
29
30post-patch {
31    reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py
32}