diff options
-rw-r--r-- | net/haproxy-devel/Makefile | 4 | ||||
-rw-r--r-- | net/haproxy-devel/pkg-plist | 1 | ||||
-rw-r--r-- | net/haproxy/Makefile | 4 | ||||
-rw-r--r-- | net/haproxy/pkg-plist | 1 |
4 files changed, 10 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 diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile index ff373eeba7be..9ae538999066 100644 --- a/net/haproxy/Makefile +++ b/net/haproxy/Makefile @@ -43,8 +43,12 @@ USE_OPENSSL= yes MAKE_ARGS+= USE_OPENSSL=1 .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/pkg-plist b/net/haproxy/pkg-plist index b1738b5df334..da7ca1dbb97d 100644 --- a/net/haproxy/pkg-plist +++ b/net/haproxy/pkg-plist @@ -1,3 +1,4 @@ +bin/halog man/man1/haproxy.1.gz sbin/haproxy %%PORTDOCS%%%%DOCSDIR%%/acl.fig |