1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/devel/libhtp/Makefile
Boris Samorodov 9f7e7e1326 Introduce ICONV_CONFIGURE_ARG variable defined at Uses/iconv.mk.
It's value is "--with-libiconv-prefix=/usr/local" for systems
before 100043 with ports libiconv and to use at systems post
100043 with base iconv it's value is "" (NULL).

Co-authors:	bapt, madpilot and bsam (me)
2013-09-04 20:01:05 +00:00

30 lines
663 B
Makefile

# $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}
pre-configure:
@${REINPLACE_CMD} -Ee 's,^(pkgconfigdir = ).*,\1$$(exec_prefix)/libdata/pkgconfig,' ${WRKSRC}/Makefile.am
@cd ${WRKSRC} && ${SH} ./autogen.sh
.include <bsd.port.mk>