diff --git a/www/py-http-parser/Makefile b/www/py-http-parser/Makefile index b619329a105a..97f8c2c855d9 100644 --- a/www/py-http-parser/Makefile +++ b/www/py-http-parser/Makefile @@ -1,23 +1,23 @@ PORTNAME= http-parser DISTVERSION= 0.9.0 CATEGORIES= www MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= rm@FreeBSD.org COMMENT= HTTP request/response parser for python in C WWW= https://github.com/benoitc/http-parser/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= python USE_PYTHON= autoplist cython distutils -post-patch: +post-configure: cython-${PYTHON_VER} ${WRKSRC}/http_parser/parser.pyx post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/http_parser/parser*.so .include