1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Port to lua 5.2 + cosmetic changes

This commit is contained in:
Baptiste Daroussin 2014-01-10 08:33:27 +00:00
parent ba5882cefa
commit cefd296e0f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339326

View File

@ -24,24 +24,18 @@ CONFIGURE_ARGS= --enable-lua-module \
--with-ssl="${OPENSSLLIB}"
CPPFLAGS+= -I${LUA_INCDIR}
GNU_CONFIGURE= yes
USES= iconv
USE_LUA= yes
USES= iconv lua
USE_OPENSSL= yes
USE_LDCONFIG= yes
MAN1= htntlm.1 htproxy.1 htremote.1 httest.1
PORTEXAMPLES= *
post-patch:
@${REINPLACE_CMD} -e 's|`$$APR_CONFIG --cflags`||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|`$$APR_CONFIG --cflags`||; s|-llua|-llua-${LUA_VER}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/generate_modules_c.sh
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.htt ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>