ports/net/py-pysendfile/Makefile
Stefan Eßer 5933ac0b09 */*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALL
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Approved by: portmgr (blanket)
2021-11-23 23:11:40 +01:00

24 lines
506 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
PORTNAME= pysendfile
PORTVERSION= 2.0.1
PORTREVISION= 1
CATEGORIES= net python devel
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Python interface to sendfile(2)
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
CONFLICTS_INSTALL= py*-sendfile
USES= python:3.6+
USE_PYTHON= distutils autoplist
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sendfile*.so
.include <bsd.port.mk>