aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libhtp/Makefile
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2012-08-28 17:21:11 +0800
committerwxs <wxs@FreeBSD.org>2012-08-28 17:21:11 +0800
commit32b4526c8c60724d9cdf270b3503bb4dffedc8ee (patch)
tree404916b7ab1be598956e4c20825bb8dad8661402 /devel/libhtp/Makefile
parenta438d696c454934875bdba75cd1643a3c0d1f559 (diff)
downloadfreebsd-ports-gnome-32b4526c8c60724d9cdf270b3503bb4dffedc8ee.tar.gz
freebsd-ports-gnome-32b4526c8c60724d9cdf270b3503bb4dffedc8ee.tar.zst
freebsd-ports-gnome-32b4526c8c60724d9cdf270b3503bb4dffedc8ee.zip
Update to 0.3.0
Diffstat (limited to 'devel/libhtp/Makefile')
-rw-r--r--devel/libhtp/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/devel/libhtp/Makefile b/devel/libhtp/Makefile
index 92a463dabf82..3344a61ae73e 100644
--- a/devel/libhtp/Makefile
+++ b/devel/libhtp/Makefile
@@ -6,18 +6,25 @@
#
PORTNAME= libhtp
-PORTVERSION= 0.2.8
+PORTVERSION= 0.3.0
CATEGORIES= devel
-MASTER_SITES= http://www.openinfosecfoundation.org/download/
-DISTNAME= htp-${PORTVERSION}
+#MASTER_SITES= # This port uses github
MAINTAINER= wxs@FreeBSD.org
COMMENT= Security-aware parser for the HTTP protocol
-WRKSRC= ${WRKDIR}/htp-${PORTVERSION}
+USE_GITHUB= yes
+GH_ACCOUNT= ironbee
+GH_COMMIT= a334539
+USE_AUTOTOOLS= libtool autoheader aclocal
+ACLOCAL_ARGS= -Im4
USE_LDCONFIG= yes
USE_GNOME= pkgconfig gnomehack
-GNU_CONFIGURE= yes
+USE_ICONV= 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>