aboutsummaryrefslogtreecommitdiffstats
path: root/net/haproxy-devel
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2015-09-08 22:44:33 +0800
committerdemon <demon@FreeBSD.org>2015-09-08 22:44:33 +0800
commitcc5b4ef5ab84175dc973ebd2c0e41048a6024e5a (patch)
tree5da791c221c190d0536883ee93af69636352fd46 /net/haproxy-devel
parent62adf8647212f14737bcfe7d20dc1f192cacb1a9 (diff)
downloadfreebsd-ports-gnome-cc5b4ef5ab84175dc973ebd2c0e41048a6024e5a.tar.gz
freebsd-ports-gnome-cc5b4ef5ab84175dc973ebd2c0e41048a6024e5a.tar.zst
freebsd-ports-gnome-cc5b4ef5ab84175dc973ebd2c0e41048a6024e5a.zip
Build and install halog binary.
Diffstat (limited to 'net/haproxy-devel')
-rw-r--r--net/haproxy-devel/Makefile4
-rw-r--r--net/haproxy-devel/pkg-plist1
2 files changed, 5 insertions, 0 deletions
diff --git a/net/haproxy-devel/Makefile b/net/haproxy-devel/Makefile
index c0aa9ea35f05..9d75936ee076 100644
--- a/net/haproxy-devel/Makefile
+++ b/net/haproxy-devel/Makefile
@@ -68,8 +68,12 @@ USES+= lua:53
MAKE_ARGS+= USE_LUA=1 LUA_INC=${LUA_INCDIR} LUA_LIB=${LUA_LIBDIR} LUA_LIB_NAME=lua-${LUA_VER}
.endif
+post-build:
+ cd ${WRKSRC}/contrib/halog && ${MAKE_CMD} ${MAKE_ENV}
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/haproxy ${STAGEDIR}${PREFIX}/sbin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/contrib/halog/halog ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/doc/haproxy.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
diff --git a/net/haproxy-devel/pkg-plist b/net/haproxy-devel/pkg-plist
index 96df23041f52..93c2b5b3aeac 100644
--- a/net/haproxy-devel/pkg-plist
+++ b/net/haproxy-devel/pkg-plist
@@ -1,3 +1,4 @@
+bin/halog
man/man1/haproxy.1.gz
sbin/haproxy
%%PORTDOCS%%%%DOCSDIR%%/acl.fig