Build and install halog binary.
This commit is contained in:
parent
2141aeec7c
commit
08e4c3d933
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396385
4 changed files with 10 additions and 0 deletions
|
@ -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})
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
bin/halog
|
||||
man/man1/haproxy.1.gz
|
||||
sbin/haproxy
|
||||
%%PORTDOCS%%%%DOCSDIR%%/acl.fig
|
||||
|
|
|
@ -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})
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
bin/halog
|
||||
man/man1/haproxy.1.gz
|
||||
sbin/haproxy
|
||||
%%PORTDOCS%%%%DOCSDIR%%/acl.fig
|
||||
|
|
Loading…
Reference in a new issue