fdcc85ca75
PR: 237709 Submitted by: Neel Chauhan <neel@neelc.org> (maintainer)
33 lines
755 B
Makefile
33 lines
755 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= mysqlclient
|
|
DISTVERSION= 1.4.2.post1
|
|
CATEGORIES= databases python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTVERSIONPREFIX= v
|
|
|
|
MAINTAINER= neel@neelc.org
|
|
COMMENT= MySQL database connector for Python
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= iconv mysql python ssl
|
|
USE_PYTHON= distutils autoplist
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= pymysql
|
|
GH_PROJECT= ${PORTNAME}-python
|
|
|
|
CONFLICTS= py*-MySQLdb-[0-9]* py*-MySQLdb5[0-9]-[0-9]* py*-MySQLdb
|
|
|
|
PORTDOCS= *
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|