freebsd-ports/databases/py-mssql/Makefile
Alexander Botero-Lowry 4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00

29 lines
679 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.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>