4942ce5a7d
- 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
29 lines
679 B
Makefile
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>
|