summaryrefslogtreecommitdiff
path: root/net/haproxy-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/haproxy-devel/Makefile')
-rw-r--r--net/haproxy-devel/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/net/haproxy-devel/Makefile b/net/haproxy-devel/Makefile
index 119e30ddd117..c40dff158c8b 100644
--- a/net/haproxy-devel/Makefile
+++ b/net/haproxy-devel/Makefile
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= haproxy
-DISTVERSION= 1.5.0
+DISTVERSION= 1.6-dev1
CATEGORIES= net www
-MASTER_SITES= http://haproxy.1wt.eu/download/1.5/src/
+MASTER_SITES= http://haproxy.1wt.eu/download/1.6/src/devel/
PKGNAMESUFFIX= -devel
MAINTAINER= demon@FreeBSD.org
@@ -13,14 +13,12 @@ COMMENT= The Reliable, High Performance TCP/HTTP Load Balancer
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
-IGNORE= No devel version available at this time
-
USES= cpe gmake
CONFLICTS= haproxy-[1234567890]\*
USE_RC_SUBR= haproxy
SUB_FILES= pkg-message
-OPTIONS_DEFINE= DOCS EXAMPLES OPENSSL
+OPTIONS_DEFINE= DOCS EXAMPLES LUA OPENSSL
OPTIONS_RADIO= PCRE
OPTIONS_RADIO_PCRE= DPCRE SPCRE
DPCRE_DESC= Link dynamically
@@ -46,6 +44,11 @@ USE_OPENSSL= yes
MAKE_ARGS+= USE_OPENSSL=1
.endif
+.if ${PORT_OPTIONS:MLUA}
+USES+= lua:53
+MAKE_ARGS+= USE_LUA=1 LUA_INC=${LUA_INCDIR} LUA_LIB=${LUA_LIBDIR} LUA_LIB_NAME=lua-${LUA_VER}
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/haproxy ${STAGEDIR}${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/doc/haproxy.1 ${STAGEDIR}${MAN1PREFIX}/man/man1