26 lines
791 B
Makefile
26 lines
791 B
Makefile
# $NetBSD: Makefile,v 1.31 2019/09/02 13:19:46 adam Exp $
|
|
|
|
DISTNAME= pymssql-1.0.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
|
PKGREVISION= 8
|
|
CATEGORIES= databases python
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pymssql/}
|
|
|
|
MAINTAINER= bartosz.kuzma@gmail.com
|
|
HOMEPAGE= http://pymssql.sourceforge.net/
|
|
COMMENT= Python interface to MS SQL
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
SUBST_CLASSES+= crlf
|
|
SUBST_MESSAGE.crlf= stripping EOL CR
|
|
SUBST_STAGE.crlf= post-extract
|
|
SUBST_FILES.crlf= mssqldbmodule.c pymssql.py
|
|
SUBST_FILTER_CMD.crlf= ${TR} -d '\r'
|
|
|
|
BUILDLINK_API_DEPENDS.freetds+= freetds>=0.63
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 1.0.2; v2 might be better.
|
|
|
|
.include "../../databases/freetds/buildlink3.mk"
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|