summaryrefslogtreecommitdiffstats
path: root/devel/libhtp/Makefile
blob: dba038efa55d78da5ef80b12c036f0f16df932a1 (plain)
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
27
28
29
30
31
32
# $FreeBSD$

PORTNAME=	libhtp
PORTVERSION=	0.5.24
CATEGORIES=	devel

MAINTAINER=	koobs@FreeBSD.org
COMMENT=	Security-aware parser for the HTTP protocol

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USE_GITHUB=	yes
GH_ACCOUNT=	OISF

USES=		autoreconf iconv:translit libtool pathfix pkgconfig
USE_LDCONFIG=	yes

GNU_CONFIGURE=	yes

CONFIGURE_ARGS=	${ICONV_CONFIGURE_ARG}
MAKE_ARGS=	LIBS="-lz ${ICONV_LIB}"
LDFLAGS+=	-L${LOCALBASE}/lib

INSTALL_TARGET=		install-strip
TEST_TARGET=		check

CONFLICTS_INSTALL=	libhtp-suricata-*

PLIST_SUB+=	PORTVERSION="${PORTVERSION}"

.include <bsd.port.mk>
OpenPOWER on IntegriCloud