blob: 8dd077112d5f835b694d2ce56848da3014b24ed8 (
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
27
28
29
30
|
# $FreeBSD$
PORTNAME= libhtp
PORTVERSION= 0.3.0
PORTREVISION= 2
CATEGORIES= devel
#MASTER_SITES= # This port uses github
MAINTAINER= wxs@FreeBSD.org
COMMENT= Security-aware parser for the HTTP protocol
USE_GITHUB= yes
GH_ACCOUNT= ironbee
GH_COMMIT= a334539
USE_AUTOTOOLS= libtool autoheader aclocal
ACLOCAL_ARGS= -Im4
USE_LDCONFIG= yes
USES= pkgconfig pathfix iconv
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG}
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib \
${ICONV_LIB}
NO_STAGE= yes
pre-configure:
@${REINPLACE_CMD} -Ee 's,^(pkgconfigdir = ).*,\1$$(exec_prefix)/libdata/pkgconfig,' ${WRKSRC}/Makefile.am
@cd ${WRKSRC} && ${SH} ./autogen.sh
.include <bsd.port.mk>
|