1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/devel/libhtp/Makefile
Ryan Steinmetz 1975fc87b7 - Link against required libiconv
- Fix build when using custom PREFIX/LOCALBASE
- Bump PORTREVISION

Approved by:	wxs (maintainer)
2012-09-06 02:06:37 +00:00

36 lines
815 B
Makefile

# New ports collection makefile for: libhtp
# Date created: 19 December 2011
# Whom: wxs@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= libhtp
PORTVERSION= 0.3.0
PORTREVISION= 1
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
USE_GNOME= pkgconfig gnomehack
USE_ICONV= yes
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE}
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib \
-liconv
pre-configure:
@${REINPLACE_CMD} -Ee 's,^(pkgconfigdir = ).*,\1$$(exec_prefix)/libdata/pkgconfig,' ${WRKSRC}/Makefile.am
@cd ${WRKSRC} && ${SH} ./autogen.sh
.include <bsd.port.mk>