aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-mssql/Makefile
blob: 43ebe5da8295326698385f0e57fc458a266ce010 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# New ports collection makefile for:    py-mssql
# Date created:     5 March 2004
# Whom:         Hye-Shik Chang <perky@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   mssql
PORTVERSION=    0.8.0
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.5:${PORTSDIR}/databases/freetds-msdblib

USE_PYTHON= 2.4+
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME=    pymssql

post-patch:
    ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
        ${WRKSRC}/mssqldbmodule.c

.include <bsd.port.mk>