# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 github.setup nodejs http-parser 2.9.4 v revision 0 checksums rmd160 af153ca374bdfef3dd6354e1ec528b00eeef1924 \ sha256 467b9e30fd0979ee301065e70f637d525c28193449e1b13fbcb1b1fab3ad224f \ size 52056 categories www devel license MIT maintainers {gmail.com:g.litenstein @Lord-Kamina} openmaintainer description http request/response parser for C. long_description This is a parser for HTTP messages written in C. It parses both requests and responses. \ The parser is designed to be used in performance HTTP applications. \ It does not make any syscalls nor allocations, it does not buffer data, it can be interrupted at anytime. \ Depending on your architecture, it only requires about 40 bytes of data per message stream (in a web server that is per connection). github.tarball_from archive patchfiles patch-Makefile.diff use_configure no universal_variant yes configure.cflags-append -DHTTP_PARSER_STRICT=0 build.target library build.env CC=${configure.cc} \ PREFIX=${prefix} pre-build { build.env-append "CFLAGS=${configure.cflags} [get_canonical_archflags cc]" \ "LDFLAGS=${configure.ldflags} [get_canonical_archflags ld]" } test.run yes test.env {*}${build.env} destroot.env {*}${build.env}