freebsd-ports/databases/py-asyncpg/Makefile
Stefan Eßer e5b410c2c5 databases/py-asyncpg: Add CPE information
Approved by:	portmgr (blanket)
2021-10-14 23:30:06 +02:00

30 lines
816 B
Makefile

# Created by: Babak Farrokhi <farrokhi@FreeBSD.org>
PORTNAME= asyncpg
PORTVERSION= 0.24.0
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= farrokhi@FreeBSD.org
COMMENT= High performance PostgreSQL Client Library for Python/asyncio
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe pgsql:9.2+ python:3.6+
CPE_VENDOR= magic
USE_PYTHON= autoplist concurrent distutils
OPTIONS_DEFINE= DOCS
PORTDOCS= PKG-INFO README.rst
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/asyncpg/protocol/protocol*.so
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/asyncpg/pgproto/pgproto*.so
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>