mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 12:29:16 -04:00
* Apply the same fix as in 9cb5898561
by
stripping libraries by wildcard paths.
* Also use PYTHONPREFIX_SITELIBDIR instead PYTHON_SITELIBDIR to make
the port PREFIX safe while I'm here.
PR: 253815
Approved by: python (with hat)
19 lines
415 B
Makefile
19 lines
415 B
Makefile
PORTNAME= http-parser
|
|
DISTVERSION= 0.9.0
|
|
CATEGORIES= www
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= rm@FreeBSD.org
|
|
COMMENT= HTTP request/response parser for python in C
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/http_parser/parser*.so
|
|
|
|
.include <bsd.port.mk>
|