aboutsummaryrefslogtreecommitdiff
path: root/www/http-parser/Makefile
blob: c777659508fe0a3c1de4638c3a4a38cea72de539 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
PORTNAME=	http-parser
PORTVERSION=	2.9.4
DISTVERSIONPREFIX=	v
CATEGORIES=	www

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	HTTP request/response parser written in C
WWW=		https://github.com/nodejs/http-parser

LICENSE=	MIT

USE_GITHUB=	yes
GH_ACCOUNT=	nodejs

USES=		gmake
USE_LDCONFIG=	yes
MAKE_ENV=	STRIP="${STRIP}"
ALL_TARGET=	library
INSTALL_TARGET=	install-strip
TEST_TARGET=	test

PLIST_FILES=	include/http_parser.h lib/libhttp_parser.so \
		lib/libhttp_parser.so.${PORTVERSION:R} \
		lib/libhttp_parser.so.${PORTVERSION}

.include <bsd.port.mk>