freebsd-ports/databases/py-pymssql/Makefile
Mathieu Arnold eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00

29 lines
672 B
Makefile

# $FreeBSD$
PORTNAME= pymssql
PORTVERSION= 2.1.1
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@thelanman.net
COMMENT= Python database interface for MS-SQL. Version 2
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= cython:lang/cython \
${PYTHON_PKGNAMEPREFIX}setuptools-git>0:devel/py-setuptools-git
LIB_DEPENDS= libsybdb.so:databases/freetds
USES= python
USE_PYTHON= autoplist distutils
post-extract:
@${RM} ${WRKSRC}/_mssql.c
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_mssql.so \
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pymssql.so
.include <bsd.port.mk>