mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 17:10:33 -04:00
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)
24 lines
506 B
Makefile
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>
|