0ed6f4e1a0
Python 3 and Pypy. If possible a C parser based on http-parser from Ryan Dahl will be used. WWW: https://github.com/benoitc/http-parser/
21 lines
438 B
Makefile
21 lines
438 B
Makefile
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= http-parser
|
|
PORTVERSION= 0.8.3
|
|
CATEGORIES= www
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= vg@FreeBSD.org
|
|
COMMENT= HTTP request/response parser for python in C
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
post-build:
|
|
@${STRIP_CMD} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/http_parser/parser.so
|
|
|
|
.include <bsd.port.mk>
|