freebsd-ports/net/py-pysendfile/Makefile

24 lines
491 B
Makefile

PORTNAME= pysendfile
PORTVERSION= 2.0.1
PORTREVISION= 2
CATEGORIES= net python devel
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Python interface to sendfile(2)
WWW= https://github.com/giampaolo/pysendfile
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
CONFLICTS_INSTALL= py*-sendfile
USES= python
USE_PYTHON= distutils autoplist
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sendfile*.so
.include <bsd.port.mk>